Rate Limits
Your limit
Rate limits are per API key, applied as a rolling 60-second window. There is no separate burst allowance — the window is the whole mechanism.
| Principal | Requests/min |
|---|---|
| Any customer key (trial, credits, metered, enterprise, unlimited) | 60 |
| Service principals (internal systems) | Set per key — currently 120–300 |
Every key may carry a per-key override. Where none is set, the system default of 60 per minute applies, which is what every customer key uses today. If 60 is too low for your integration, ask — it is a per-key setting and takes a moment to change.
Do not hard-code the number. Read X-RateLimit-Limit from any response; it reports your live limit.
Rate limit headers
Every response carries these:
| Header | Description |
|---|---|
X-RateLimit-Limit | Requests permitted per window for your key |
X-RateLimit-Remaining | Requests remaining in the current window |
X-RateLimit-Window | Window length in seconds (currently 60) |
On a 429, one more header is added:
| Header | Description |
|---|---|
Retry-After | Seconds to wait before retrying |
Handling 429 responses
Exceeding the limit returns 429 with the error code RATE_LIMIT_EXCEEDED. Wait for the number of seconds in Retry-After.
const res = await fetch(url, options);
if (res.status === 429) {
// Retry-After is in SECONDS, and is a conservative ceiling — at worst
// you wait one window longer than strictly necessary.
const waitSec = parseInt(res.headers.get("Retry-After") ?? "60", 10);
console.log(`Rate limited. Retrying in ${waitSec}s`);
await new Promise(r => setTimeout(r, waitSec * 1000));
// Retry the request
}import time, requests
res = requests.get(url, headers=headers, params=params)
if res.status_code == 429:
wait = int(res.headers.get("Retry-After", 60))
print(f"Rate limited. Retrying in {wait}s")
time.sleep(wait)
# Retry the requestAlways default the wait when the header is missing, and never retry on a zero or absent value — a tight retry loop against a rate limit makes the situation worse.
Best practices
- Cache responses client-side. Image responses are cached server-side for 24 hours, so identical requests within that window are free. The location catalogue reloads roughly monthly, so a nightly snapshot is already fresher than the data changes.
- Use geographic filters (
country,state,city) to reduce response size and improve latency. - Space requests evenly rather than bursting. At the default 60/min, a 1-second gap between calls keeps you inside the limit.
- Do not put an uncached
/api/v1/locationscall in a page-render path. Large brands return thousands of rows and take seconds, not milliseconds.