Skip to main content
The Campflare API uses standard HTTP headers to handle rate limiting:
  • X-RateLimit-Limit: The maximum number of requests allowed per minute
  • X-RateLimit-Remaining: The number of requests remaining in the current time window
  • X-RateLimit-Reset: The Unix timestamp when the rate limit window resets
When a rate limit is exceeded, you’ll receive a 429 Too Many Requests response with a Retry-After header indicating how many seconds to wait before retrying. Note that these headers are not guaranteed to be present on every response. Example response headers with example rate limits:
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Reset: 1627834580