GET/tennis/v2/ms-api/search/{query}
Searches players and tournaments across ATP, WTA, and ITF by name, returning grouped results by category.

Path Parameter

ParameterType
{query}Requiredstring
e.g. Djokovic
Example Request: CURL
curl --request GET \
	--url 'https://tennis-api-atp-wta-itf.p.rapidapi.com/tennis/v2/ms-api/search/Djokovic' \
	--header 'x-rapidapi-host: tennis-api-atp-wta-itf.p.rapidapi.com' \
	--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY'
Example Response: JSON
[
  {
    "category": "player_atp",
    "total": 5,
    "result": [
      {
        "name": "Stefan Djokovic",
        "birthday": "2007-10-17T00:00:00.000Z",
        "countryAcr": "MNE"
      },
      {
        "name": "Djordje Djokovic",
        "birthday": "1995-07-17T00:00:00.000Z",
        "countryAcr": "SRB"
      },
      {
        "name": "Marko Djokovic",
        "birthday": "1991-08-20T00:00:00.000Z",
        "countryAcr": "SRB"
      },
      {
        "name": "Novak Djokovic",
        "birthday": "1987-05-22T00:00:00.000Z",
        "countryAcr": "SRB"
      },
      {
        "name": "Balsa Djokovic",
        "birthday": "2006-07-08T00:00:00.000Z",
        "countryAcr": "MNE"
      }
    ]
  },
  {
    "category": "player_wta",
    "total": 1,
    "result": [
      {
        "name": "Andjela Djokovic",
        "birthday": "1996-08-01T00:00:00.000Z",
        "countryAcr": "AUS"
      }
    ]
  },
  {
    "category": "tournament_atp",
    "total": 0,
    "result": []
  },
  {
    "category": "tournament_wta",
    "total": 0,
    "result": []
  }
]