Pointify

Get started

Limits & quotas

Live keys have a daily quota per account and a per-minute limit per key. Test keys have only a per-minute limit.

Daily quota

Each account gets a number of live calls per UTC day. All live keys on the account share it. It resets at 00:00 UTC. Only successful calls count: a validation error, a 429 or a server error does not use up the quota. Calls with test keys never count.

Live calls per day by plan
PlanLive calls per day
Free, PremiumNo live calls
Pro100
Business1,000
Developer10,000
EnterpriseUnlimited

Free and Premium plans have no live API quota; use test keys or upgrade. A live key on those plans still reaches the endpoints any key can call, with the same limits as a signed-out visitor, and gets 403 plan_required on the rest. When the quota runs out, live calls get 429 daily_quota_exceeded until the reset. The dashboard shows today's live calls.

Per-minute limit

  • Each live key allows 100 requests a minute by default.
  • Each test key allows 60 requests a minute.
  • Going over returns 429 rate_limit_exceeded with a Retry-After header in seconds.

Need a higher per-minute limit? Email [email protected].

Headers

Limit headers
HeaderSent onMeaning
X-RateLimit-LimitKeyed callsRequests this key may make per minute.
X-RateLimit-RemainingKeyed callsRequests left in the current minute.
X-RateLimit-ResetKeyed callsWhen the current minute window resets.
X-Quota-LimitLive callsLive calls per day for the account.
X-Quota-RemainingLive callsLive calls left today (UTC).
Retry-After429 responsesSeconds to wait before trying again.
Pointify-ModeKeyed callstest or live.

Handling 429

Wait for Retry-After seconds, then retry. Spread bursts out instead of firing them all at once. A daily quota error will not clear until 00:00 UTC, so do not retry it in a loop.

JavaScript
// Retry once after a 429, waiting as long as Retry-After says.
async function callPointify(url, init) {
  const res = await fetch(url, init);
  if (res.status !== 429) return res;

  const body = await res.json();
  if (body.error === "daily_quota_exceeded") {
    // Out of live calls until 00:00 UTC. Do not retry in a loop.
    throw new Error("Pointify daily quota used up");
  }
  const waitSeconds = Number(res.headers.get("Retry-After") ?? 1);
  await new Promise((r) => setTimeout(r, waitSeconds * 1000));
  return fetch(url, init);
}

Ready to find your best fare?

Create a free account to save your travel plans and explore cash and points options.

Create Free Account