422 · Validation error

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/validation-error

What it means

A query or path parameter is missing, has the wrong type, or is outside its allowed range.

How to fix it

Read error.details: each entry names the parameter (loc) and what is wrong with it (msg). The endpoint's parameter table lists every type and range.

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.