tennisdatabaseAPI

Tennis API documentation

Ctrl K
DocsPlayersPlayer seasons
Players

Player seasons

MCP tool player_seasons
GEThttps://api.tennisdatabaseapi.com/v1/players/{id}/seasonsEvery plan

A player's won and lost by season, and by surface within each season.

Free key includedLive includedArchive includedComplete included
Try itRuns against the live API with your key. Your key stays in this browser.API
GEThttps://api.tennisdatabaseapi.com/v1/players/pl_f560sfd7/seasons

1Parameters

NameInTypeWhat it is
idrequiredpathidAn id from another answer, such as pl_ and 8 characters. Ids are our own and never change.

Anything else in the address answers 422 unknown_parameter, with the list of parameters this endpoint takes.

2Request

curl -H "Authorization: Bearer $TDA_KEY" \
  "https://api.tennisdatabaseapi.com/v1/players/pl_f560sfd7/seasons"

The code follows the form in Try it, with your key in it once you have entered one. Without a key it reads $TDA_KEY.

3Answer

{
  "data": {
    "player": { "id": "pl_f560sfd7", "name": "Zverev A.", "country": "Germany" },
    "seasons": [
      {
        "season": 2026,
        "won": 67,
        "lost": 18,
        "by_surface": {
          "hard": { "won": 30, "lost": 9 },
          "clay": { "won": 20, "lost": 4 },
          "grass": { "won": 9, "lost": 2 },
          "unknown": { "won": 2, "lost": 0 },
          "hard_indoor": { "won": 6, "lost": 3 }
        }
      },
      {
        "season": 2025,
        "won": 57,
        "lost": 26,
        "by_surface": {
          "hard": { "won": 25, "lost": 11 },
          "clay": { "won": 18, "lost": 7 },
          "grass": { "won": 6, "lost": 3 },
          "hard_indoor": { "won": 6, "lost": 5 },
          "unknown": { "won": 2, "lost": 0 }
        }
      },
      {
        "season": 2024,
        "won": 69,
        "lost": 21,
        "by_surface": {
          "hard": { "won": 32, "lost": 11 },
          "clay": { "won": 23, "lost": 6 },
          "grass": { "won": 6, "lost": 2 },
          "hard_indoor": { "won": 8, "lost": 2 }
        }
      },
      "..."
    ]
  },
  "meta": { "count": 16 }
}

Real answers from the API, made 2026-11-18. Long lists are cut to three items here.

4Fields

FieldTypeWhat it holds
playerobjectid, name, country
seasonsarrayNewest first: season, won, lost and by_surface (walkovers left out; a season runs from 26 December)

5Errors

401unauthorizedNo key, or a key that is unknown or revoked.
404not_foundNo such id.
422unknown_parameterA parameter this endpoint does not take.
429rate_limitedToo many calls this minute, or the allowance used (quota_exceeded).