401 · Unauthorized

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-401

What it means

No API key, or a key that is not valid.

How to fix it

Send the key in the x-api-key header. Get or rotate keys at citoapi.com/dashboard/keys.

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.