← All operations

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

NameTypeRequiredDefaultDescription
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

Response Format

<!-- an HTML fragment: badge markup + inline CSS, meant to be embedded directly -->