HTTPS Endpoint
Create a badge from any HTTPS endpoint that returns JSON.
GET/https/:url.svg
Path Parameters
required
Any HTTPS URL that returns JSON with label/value/color fields.


How it works
Create an HTTPS endpoint on any platform (RunKit, Vercel, Cloudflare Workers, etc.) that returns JSON:
{
"label": "hello",
"value": "world",
"color": "blue"
}
The badgen format is also supported:
{
"subject": "hello",
"status": "world",
"color": "blue"
}
Then use it as a badge:
Path arguments
Any path segments after the hostname are forwarded to the endpoint:
| Badge URL | Fetches |
|---|---|
/https/example.com | https://example.com |
/https/example.com/foo/bar | https://example.com/foo/bar |
Response format
The endpoint must return JSON with these fields (all optional except value/status):
Endpoint response
PropType
Examples
Default variant
Secondary variant
Outline variant
Branded variant
Copy-paste examples
Default — pull badge data from any HTTPS endpoint
Secondary — softer look for README rows
Caching
Endpoint responses are cached for 5 minutes.
Credits
This endpoint format is inspired by badgen.net's HTTPS endpoint feature.