Skip to main content
GET
/
badge
Custom Badges
curl --request GET \
  --url https://icon.mzrdev.com/badge
{
  "SVG": {}
}

Query Parameters

icon
string
Icon name from the supported list.
text
string
The message text.
style
string
icon, icon-text, or flat.
color
string
Background color (hex).
textColor
string
Text color (hex).
height
number
default:"48"
Badge height.

Response

SVG
image/svg+xml
Returns the generated badge SVG.