tennisdatabaseAPI

Tennis API documentation

Ctrl K
DocsRankingsRankings
Rankings

Rankings

MCP tool rankings
GEThttps://api.tennisdatabaseapi.com/v1/rankingsEvery plan

The current singles rankings, with each player's highest ranking and Elo.

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/rankings?tour=men&per_page=3

1Parameters

NameInTypeWhat it is
tourquerystringMen or women: men, women.
page, per_pagequeryintegerPaging: 50 a page unless you ask, at most 50. See Paging.
cursorquerystringThe meta.next_cursor of the page before, to walk a long list.

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/rankings?tour=men&per_page=3"

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": [
    {
      "rank": 2,
      "player": { "id": "pl_f560sfd7", "name": "Zverev A.", "country": "Germany" },
      "highest": 2,
      "elo": 2799
    },
    {
      "rank": 3,
      "player": { "id": "pl_s0fxc3xg", "name": "Alcaraz C.", "country": "Spain" },
      "highest": 1,
      "elo": 2988
    },
    {
      "rank": 4,
      "player": { "id": "pl_3vde2gfg", "name": "Shelton B.", "country": "USA" },
      "highest": 4,
      "elo": 2708
    }
  ],
  "meta": {
    "tour": "men",
    "as_of": "2026-10-31",
    "count": 3,
    "next_cursor": "eyJvIjozLCJwIjozfQ",
    "page": 1,
    "per_page": 3,
    "total": 1401,
    "total_pages": 467,
    "next_page": 2,
    "prev_page": null
  }
}

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

4Fields

FieldTypeWhat it holds
rank, player, highest, elomixedOne row a place: the ranking, the player, their highest ranking and Elo
meta.as_ofdateThe day the list was read

5Errors

400bad_requestA value out of range, such as a date or a tier that is not one of the list.
401unauthorizedNo key, or a key that is unknown or revoked.
422unknown_parameterA parameter this endpoint does not take.
429rate_limitedToo many calls this minute, or the allowance used (quota_exceeded).