tennisdatabaseAPI

Tennis API documentation

Ctrl K
DocsStart here

Quick start

Three steps from nothing to yesterday's results in your code.

Get a free key

Sign in with Google and your key is made at once: 50 calls a day, yesterday to two days ahead, no card. Get a free key

Send it as a Bearer token

Every call takes the key in the Authorization header. A key in the address is refused.

Ask for yesterday's results

Paste this with your key in TDA_KEY, or run it in Try it on GET /results/yesterday.

curl -H "Authorization: Bearer $TDA_KEY" \
  "https://api.tennisdatabaseapi.com/v1/results/yesterday?tour=men&tier=tour"

1What comes back

A list of matches in data, and meta with the page and the total. On the free key, yesterday's matches carry odds in full; on a match not yet played odds is null and meta.held_back says so: the same code reads prices before play once you upgrade.