Public API
Badge
How badge image URLs work on cdn.enhancer.at
Every badge in the API responses carries a sources object with ready-to-use
image URLs for all available sizes.
URL format
https://cdn.enhancer.at/badge/{sha256}/{size}.webp| Part | Description |
|---|---|
sha256 | 64-character SHA-256 hash identifying the badge image |
size | Image size: 18x18, 36x36 or 72x72 |
| extension | Images are always served as webp |
Example
https://cdn.enhancer.at/badge/cb6c86dff215a947125119363ae7f74498b3a570f43531d64487166f8ea71052/72.webpUsage notes
- Take URLs directly from the
sourcesobject in API responses instead of constructing them yourself. - Pick the size that matches your UI:
18x18fits inline chat,36x36and72x72work better for lists and profile surfaces. - The hash is unique per badge image, so browsers can cache each size independently.