DR badge
Embed a live badge that shows Domain Rating or RatingDR as social proof. Scores update automatically — embed once and forget it. Installing the badge is also how you verify ownership for the public directory.
Quick start
Build & copy a snippet from the badge builder, or from Verify Domain / Embed Badge on your dashboard:
<a href="https://rating.so/website/toastup-co" target="_blank" rel="noopener">
<img src="https://rating.so/badge/toastup.co?style=report&color=dark&metric=dr" alt="Domain Rating for toastup.co" />
</a>Endpoints
GET /badge/:domain— SVG badge (image/svg+xml), cached ~1h, CORS-open.GET /chart/:domain.svg— sparkline / history chart for chart-style embeds.
The domain must be tracked (or the marketing demo yourdomain.com). Unknown domains return 404.
Styles
The builder groups classic sizes and report layouts:
| Builder label | style param | Notes |
|---|---|---|
| rating.so | normal (also small / tiny) | Classic logo badge |
| Default | report | Ring + domain + subtitle |
| Flat | report-flat | Split metric / domain |
| Minimal | report-minimal | Compact pill |
| Ring | ring | Score in a ring only |
| Sparkline | uses /chart/… | History chart embed |
Query parameters
| Param | Values | Default |
|---|---|---|
style | normal · small · tiny · ring · report · report-flat · report-minimal | normal |
color | white · light · dark | dark |
metric | dr · ratingdr | dr |
icon | default · check | default |
shape | rect · round | rect |
text | any string (≤42 chars) | certified domain rating |
textStyle | lower · upper | lower |
verify | ownership token | — |
Verification snippets include a verify token so we can detect the badge on your homepage. Don’t strip it until ownership is confirmed.
Chart query parameters
For sparkline embeds (/chart/:domain.svg):
| Param | Values | Default |
|---|---|---|
theme | light · dark | dark |
metric | dr · ratingdr | dr |
range | 30d · 90d · 1y · all | 90d |
compact | 1 | — |
Examples
/badge/toastup.co?style=report&color=dark&metric=dr
/badge/toastup.co?style=report-flat&metric=ratingdr&color=light
/badge/toastup.co?style=tiny&color=white
/chart/toastup.co.svg?theme=dark&metric=dr&range=90d&compact=1