Badge Endpoint
Generate SVG compatibility badges for your README, documentation, or website. Badges update automatically with the latest compatibility data.Endpoint
URL Format
The slug combines two technology names with a separator:Format
Supported Separators
You can use any of these separators between technology names:
The dash (
-) separator is recommended for best compatibility.
Path vs Query Parameters
Important: This endpoint uses path parameters, NOT query parameters.Examples
Response
Content Type
Response Body
SVG image data (rendered as a badge).Badge Colors
Badges use GitHub-style colors:Badge Styles
Default Badge
Classic flat badge design:Usage Examples
Markdown (GitHub, GitLab, etc.)
HTML
reStructuredText (ReadTheDocs)
AsciiDoc
Asciidoc with Link
Example README Section
Linking to Full Details
Wrap badges in links to detailed compatibility information:Caching
Badge responses are cached for 24 hours by default. Cache-Control header:Error Responses
When the slug format is invalid or technologies cannot be parsed, a generic “Unknown” badge is returned:Unknown Badge
The endpoint always returns valid SVG (even for errors):Hybrid Lookup
The badge endpoint uses intelligent fallback:- Slug Match - First tries to find a pre-computed compatibility slug
- Pair Match - Falls back to parsing the slug and finding a matching pair
Example: Parsed Slug
Rate Limiting
- Limit: 120 requests per minute
- Headers:
X-RateLimit-Remaining,X-RateLimit-Reset
Best Practices
1. Use in Project READMEs
Add badges for your key technology pairs to help contributors understand your stack at a glance.2. Link to Full Details
Always wrap badges in links to detailed compatibility information:3. Consider Your Audience
For internal docs, badges provide quick verification. For public READMEs, they signal compatibility awareness.4. Use Recommended Separator
The dash (-) separator is most reliable:
5. Update When Stacks Change
When you add or change technologies, update your badges accordingly.What’s Next
- Check Endpoint - Get detailed compatibility info
- Scan Endpoint - Analyze complete projects
- Rate Limits - Usage limits
Generate badges: Badge Generator →