mirror of
https://github.com/AnimeThemes/animethemes-api-docs.git
synced 2026-07-11 01:34:06 +02:00
f129648c3e
(cherry picked from commit 578f00cdaf)
900 B
900 B
title
| title |
|---|
| Rate Limiting |
Rate Limiting
The AnimeThemes API applies the standard named rate limiter of the Laravel Framework.
Here we will provide an overview of managing request quotas.
Response Headers
The AnimeThemes GraphQL API limits requests to 80 per minute.
The AnimeThemes API will return X-RateLimit-Limit and X-RateLimit-Remaining headers in the response.
...
X-RateLimit-Limit: 80
X-RateLimit-Remaining: 79
...
Exceeding the Rate Limit
If the rate limit is exceeded, the AnimeThemes API will return Retry-After and X-RateLimit-Reset headers in the response.
...
X-RateLimit-Limit: 80
X-RateLimit-Remaining: 0
Retry-After: 60
X-RateLimit-Reset: 1625073463180
...
Additionally, the AnimeThemes API will return an error message in the response body.
{
message: "Too Many Attempts."
}
Query Complexity Limit
// TODO