Files
animethemes-api-docs/docs/graphql/intro/ratelimiting/index.md
T
Kyrch f129648c3e refactor: fix namespaces (#116)
(cherry picked from commit 578f00cdaf)
2025-07-29 00:52:47 +02:00

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