Rate Limiting

Zeplin API uses rate limiting to maintain its availability and stability. Current rate limit mechanism imposes a limit on the number of requests a Zeplin app can make on behalf of a user. For the personal access tokens case, it imposes a limit on the number of requests a user can make using personal access tokens. The limit is currently 200 requests per minute per user and it does not reset when the access token is refreshed.

If a request exceeds the rate limit Zeplin API will return a 429 error with the "Rate limit exceeded" message.

Headers

You can check the response headers to see your rate limit status.

curl -i https://api.zeplin.dev/v1/users/me \
    -H "Authorization: Bearer {token}"
HTTP/1.1 200 OK
Zeplin-RateLimit-Limit: 200
Zeplin-RateLimit-Remaining: 142
Zeplin-RateLimit-Reset: 1575025620000