Home
Getting Started

Rate Limiting

The Invoice Falcon API limits traffic per store using a points budget over a fixed 60-second window. Each request deducts points from the window's budget; when the window ends, the budget resets in full.

The Invoice Falcon API limits traffic per store using a points budget over a fixed 60-second window. Each request deducts points from the window's budget; when the window ends, the budget resets in full.

Default limits

ParameterValue
Budget per window40 points
Window length60 seconds
Cost per read (GET) request1 point
Cost per write (POST/PATCH/DELETE) request2 points

A fresh window lets you burst up to 40 read requests (or 20 writes), after which you must wait for the next window.

Response headers

Every response includes headers so you can track your remaining budget:

HeaderDescription
X-RateLimit-LimitMaximum points per window
X-RateLimit-RemainingPoints still available in the current window
X-RateLimit-ResetUnix timestamp (seconds) when the current window resets

Exceeding the limit

When you run out of points the API returns 429 Too Many Requests. The response includes a Retry-After header and a retry_after field in the JSON body, both giving the number of seconds to wait before retrying.

Best practices

  • Cache responses where possible to reduce unnecessary calls.
  • Respect the Retry-After header instead of polling in a tight loop.
  • If you need higher limits, contact us at support@invoicefalcon.com.