429 · Too many requests

Real-time scores, the full archive since 1968 and webhooks are on Pro. Free keys: 500 calls/month, live 60 s delayed, last 30 days.

Credit metering & bulk CSVs: 0–90 day, live, and bio metadata queries cost 1 credit (ceil(ids/10) for batches). Queries spanning >= 91 days cost 5x narrow (+5/?include=) or 10 * ceil(limit/25) bulk (+5 * ceil(limit/25)/?include=) against both monthly credits and your >90d sub-cap (Free/Starter 0, Legacy 25k, Pro 50k, Scale/Business REST 100k, Business CSV $299/mo & Enterprise unlimited; 429 HISTORICAL_ARCHIVE_CAP_EXCEEDED only on >90d while <=90d & live stay 200 OK). For full backtests at 0 REST credits, Business CSV ($299/mo) delivers Master Baseline + Daily Delta CSVs.

type: https://tennisapi.dev/docs/errors/http-429

What it means

Your per-minute rate limit, monthly credit quota, or monthly deep-history (>90d) credit sub-cap (code HISTORICAL_ARCHIVE_CAP_EXCEEDED: Free/Starter 0, Legacy 25k, Pro 50k, Scale/Business REST 100k) is exhausted.

How to fix it

Inspect error.code plus X-Cito-Credits-Used, X-Cito-Credits-Remaining, and X-RateLimit-Historical-* headers. On HISTORICAL_ARCHIVE_CAP_EXCEEDED, 0–90 day, live, and upcoming endpoints remain 200 OK while >=91d queries wait until monthly reset or upgrade to Business CSV ($299/mo) for Unlimited >90d REST sub-caps plus Master Baseline & Daily Delta CSVs at 0 REST credits. Use If-None-Match (304) when polling live boards.

All error types

Real-time scores, the full archive since 1968 and webhooks are on Pro. Free keys: 500 calls/month, live 60 s delayed, last 30 days.