Skip to content
Scrappa Get API key
Top.gg API 1 credit / request

Top.gg Widget Badge

GET https://scrappa.co/api/topgg/widget

Fetch the public PNG widget badge of one entity by its id from search. The response carries the image as base64, its MIME type and the full-size image URL. Fake ids fail upstream and are never charged. SVG rendering with an explicit Accept header is a named follow-up.

Top.gg Widget Badge 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/topgg/widget
Auth header
x-api-key
Cost
1 credit / request
id = 1234567890
Response preview
200 OK
Example JSON appears below when a response schema is available for this endpoint.

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

id string Required

Public id from search.

Example value 1234567890

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

HTTP 422

Invalid id. Not charged.

503

HTTP 503

Upstream failure, including a fake id. Not charged.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.