Top.gg: Widget
Widget from Top.gg as JSON. 1 credit per successful call.
GET /v1/topgg/widget
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
id | string | Required | Up to 32 characters |
Example request
Top.gg
GET/v1/topgg/widget?id=432610292342587392
{
"success": true,
"data": {
"id": "432610292342587392",
"mime": "image/png",
"image_base64": "iVBORw0KGgoAAAANSUhEUgAAASwAAACWCAYAAABkW7XSAAAABHNCSVQICAgIfAhkiAAAIABJREFUeJzt3Xd0HNXZ+PHv7GyVVr03F9wrLpIbGNwB000HgwmGUAMBEhISIKT+3nSSkEBCSCNvkhc4wQ4YbAMGgws2trHcZVuWJat3aSVtm535/bH22rLaihi0i5/POT7enblz584+u4/u3J29o3AKixp/q6IoVykoM1DIRggh…",
"image_url": "https://top.gg/api/widget/432610292342587392.png"
},
"meta": {
"endpoint_family": "widget",
"upstream_requests": 1,
"duration_ms": 583,
"note": "PNG enrichment only. SVG with an explicit Accept header is a named follow-up."
}
}200 OKJSONX-Credits-Used: 1
Recorded 30 Nov 2026 and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
data has these 4 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
id | string |
mime | string |
image_base64 | string |
image_url | url |