Skip to content

Bot Widgets

Fetch a Widget

Terminal window
GET https://widgets.topstats.gg/:id/:statistic?timeframe=:timeframe

Query Parameters

{
"id": "<string>",
"statistic": "<string>" [
'servers',
'monthlyvotes',
'totalvotes',
'servers.svg',
'monthlyvotes.svg',
'totalvotes.svg',
'servers.png',
'monthlyvotes.png',
'totalvotes.png'
],
"timeframe": "<string>" [
'alltime',
'5y',
'3y',
'1y',
'270d',
'180d',
'90d',
'30d',
'7d',
'3d',
'1d',
'12h',
'6h'
],
}

Usage Examples

Terminal window
https://widgets.topstats.gg/432610292342587392/servers.png?timeframe=alltime
servers

Discord-Bot

If you need any help creating your own widgets, then use our bot’s /graph command! It’ll help you pick all the relevant criterias you’d like.

Get Token Image