Skip to main content
GET
/
trophy
GitHub Trophies
curl --request GET \
  --url https://icon.mzrdev.com/trophy
{
  "SVG": {}
}

Query Parameters

username
string
required
The GitHub username to fetch trophies for.
columns
number
default:"3"
Number of columns in the cabinet layout.
gap
number
default:"16"
Gap between cards in pixels.
padding
number
default:"24"
Padding around the cabinet in pixels.
center
boolean
default:"true"
Center the cards in the last row if they do not fill the entire row. Alternatively, use align=left to disable centering.
description
boolean
default:"true"
Whether to show the description on each trophy card.
sponsor
boolean
default:"false"
Enable sponsor fallback card.
noBackground
boolean
default:"true"
Remove the cabinet background. This is enabled by default.
theme
string
light or dark.
title
string
Custom title for the cabinet or false to hide.
watermark
boolean
default:"true"
Toggle the by mzr-icons watermark at the bottom of the cabinet. Keeping it enabled helps support the project.
hide
string
Comma-separated list of metrics to hide (e.g., stars,commits).

Response

SVG
image/svg+xml
Returns an animated SVG image of the trophy cabinet.