Enhancer logoEnhancer
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
PartDescription
sha25664-character SHA-256 hash identifying the badge image
sizeImage size: 18x18, 36x36 or 72x72
extensionImages are always served as webp

Example

https://cdn.enhancer.at/badge/cb6c86dff215a947125119363ae7f74498b3a570f43531d64487166f8ea71052/72.webp

Usage notes

  • Take URLs directly from the sources object in API responses instead of constructing them yourself.
  • Pick the size that matches your UI: 18x18 fits inline chat, 36x36 and 72x72 work better for lists and profile surfaces.
  • The hash is unique per badge image, so browsers can cache each size independently.

On this page