Cricket Database
0 of 50 calls today
Get a free API key Sign in Dashboard Upgrade

Limits and headers

Two limits per plan, calls a minute and calls a day, what counts, when each resets and the headers that tell you.

Each plan has two limits: calls a minute, which keeps the pace even, and calls a day, the quota. Only successful calls count against the quota; an error does not use one up, and /v1/usage never does.

PlanCalls a minuteCalls a day
Free key1050
Match Week605,000
Archive12025,000
Pro18050,000
Analyst Pro300100,000

When they reset

The minute resets on the minute; the day at midnight UTC. /v1/usage shows today's and this month's calls, both limits, what is left and when each resets.

The headers

Every response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset for the minute (the reset as a Unix time), X-Quota-Limit, X-Quota-Remaining and X-Quota-Reset for the day, and X-Plan. Read them rather than counting yourself.

Too fast, or out for the day

Two different answers, both 429 with a Retry-After in seconds. rate_limited means slow down: wait the few seconds and carry on. quota_exceeded means the day's calls are used: it says when they reset, and names the plan with more calls a day in plan_needed, with checkout to open it.

A slow answer says how to speed it up

Every answer carries Server-Timing, which splits the time into checking the key, building the data and the rest. An answer that took 800 ms or more to build carries meta.hint, measured on that call: either that it is kept now, so the same call answers from the kept copy, usually in under 100 ms, or which filters narrow it (a date range, a format, a team, or a smaller page). Kept answers say so in X-Cache: hit, stale while a fresh copy is built after your answer, or build.