Skip to content

Rate limits

LIGR applies fair-use limits to the REST API. LIGR does not publish a fixed request budget. Unauthenticated requests are limited per IP address. Read the headers on every response, and slow down before they reach zero.

Every response carries the IETF draft headers.

RateLimit-Limit: 300
RateLimit-Remaining: 287
RateLimit-Reset: 41
RateLimit-Policy: 15;w=1, 300;w=60, 6000;w=3600
HeaderMeaning
RateLimit-LimitThe number of requests the current window allows
RateLimit-RemainingThe number of requests left in the current window
RateLimit-ResetThe number of seconds until the current window resets
RateLimit-PolicyEvery window in force, as <limit>;w=<seconds>

More than one window can apply at the same time. RateLimit-Policy lists every window in force.

LIGR is phasing enforcement in. While enforcement is off, an over-limit request still succeeds. The response carries x-ligr-rate-limit-observe: 1.

Enforcement starts on a date to be announced in the changelog. Until then, treat x-ligr-rate-limit-observe: 1 as a 429.

An enforced over-limit request returns 429.

429 Too Many Requests
{ "message": "Api key has made too many requests" }

Wait RateLimit-Reset seconds, then retry.

  • Use webhooks instead of polling.
  • Batch reads with include so one request replaces four.
  • Cache GET responses on your side.
  • Contact support if your integration needs a higher limit.