The Top.gg API enforces rate limits to protect platform stability and prevent abuse. When you exceed a limit, the API returns an HTTPDocumentation Index
Fetch the complete documentation index at: https://docs.top.gg/llms.txt
Use this file to discover all available pages before exploring further.
429 response and blocks your token for one hour. Understanding the limits before you integrate helps you avoid interruptions.
Global rate limit
The global rate limit applies to all API routes regardless of the resource being accessed.| Scope | Limit | Penalty |
|---|---|---|
| All routes | 100 requests per second | 1-hour token block |
Resource-specific rate limits
Certain routes have stricter limits in addition to the global limit. Both limits apply simultaneously.| Route | Limit | Penalty |
|---|---|---|
/bots/* | 60 requests per minute | 1-hour token block |
/bots/* endpoint, your token is blocked for one hour even if you are within the global limit.
Handling rate limit errors
When you exceed a rate limit, the API responds with HTTP429 and a JSON body containing the number of seconds to wait before retrying:
retry-after value and pause all requests for that duration before retrying. Retrying immediately will not succeed and may extend the block.