Skip to content

What the web badge shows​

GET
/sponsors/{key}/badge

The answer the Proud Sponsor web badge is drawn from. The badge itself is the image at https://fundlyhub.org/badge/sponsor/{slug}.svg (?theme=dark for the white version on a dark page, ?size=small for 160 by 38, ?size=round for the 48 by 48 round mark), which always shows the sponsor's live status. {key} takes the current slug, an old one or the id, so a badge keeps working after a rename. Cacheable for 5 minutes. 403 while sponsors are switched off.

Parameters​

Path Parameters

key*
Type
string
Required
Example"fast-cat-coffee-bar"

Responses​

OK

application/json
JSON
{
"badge": "proud_sponsor",
"slug": "fast-cat-coffee-bar",
"name": "Fast Cat Coffee Bar"
}

Playground​

Server
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

Built with VitePress