Render embeddable badge
GET
/badge
Renders the small embeddable badge widget used on 60+ live sites (see Public/brand.js). This is a display widget, not a data endpoint -- it never returns JSON, only the rendered HTML fragment.
Produces:
text/html
Idempotent: yes
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
d |
string | yes | — | Domain the badge is for |
mode |
string (light | dark) | no | light | Color mode |
tiny |
boolean | no | Render the compact variant |
Working Examples
-
Light badge — Default light-mode badge
https://brand.dauntless.ventures/badge?d=memorize.live -
Dark, tiny badge — Compact dark-mode variant
https://brand.dauntless.ventures/badge?d=memorize.live&mode=dark&tiny=1
Response Format
<!-- an HTML fragment: badge markup + inline CSS, meant to be embedded directly -->