Skip to content

Rate limits ​

The API applies request limits (especially for API key auth) to prevent abuse. If you exceed them, you receive 429 Too Many Requests.

Behavior ​

  • There is a per-key quota in a short time window.
  • When exceeded: HTTP 429 with a body similar to:
json
{
  "message": "Demasiadas peticiones. Intente de nuevo más tarde.",
  "code": "RATE_LIMIT_EXCEEDED"
}

Exact quota values may change on the server; do not hard-code a fixed number. Infrastructure may also enforce additional IP/route limits.

Recommendations ​

  1. Retries with backoff: On 429, wait a few seconds and retry (e.g. 2 s, 4 s, 8 s). Do not retry immediately in a loop.
  2. Concurrency control: Avoid hundreds of parallel requests with the same key.
  3. Caching and pagination: Paginate lists and cache infrequently changing data.
  4. Keys per environment: Use separate keys for development, staging and production.

See also Best practices and Common errors.