Skip to Content
Centro de ayudaCómo hago…Consultar el rate limit actual

title: “Consultar el rate limit actual” description: “Lea los headers X-RateLimit-* para no sobrepasar el cupo.” audience: [“developer”] modules: [“api”] estimated_minutes: 2 last_reviewed: “2026-05-03”

Consultar el rate limit actual

Para: Desarrollador
Última revisión:

Cada respuesta incluye tres headers: X-RateLimit-Limit, X-RateLimit-Remaining y X-RateLimit-Reset (epoch).

TL;DR

Lea X-RateLimit-Remaining. Si baja a 0 → espere hasta X-RateLimit-Reset.

Pasos

    1. En cualquier llamada lea los tres headers X-RateLimit-* de la respuesta. 2. Si Remaining baja a un dígito, ralentice su flujo. 3. Si recibe 429 Too Many Requests, lea Retry-After (segundos) y espere. 4. Implemente backoff exponencial con jitter para evitar tormentas de reintentos.

¿Le sirvió?id: consultar-rate-limit
Reportar como obsoleto
Last updated on