Head-to-head for any two players, split the way tennis people ask

Wins by surface, by level and in finals, the list of every meeting, and an H2H grid for a whole group such as the ATP Finals field.

Pro $59/mo: real-time scores, full archive since 1968, match webhooks. Free: 500 calls/month, live 60 s delayed, last 30 days. Read the docs

$ curl "https://api.citoapi.com/api/v1/tennis/h2h?player1_id=atp_206173&player2_id=atp_207989" \
    -H "x-api-key: YOUR_API_KEY"

In short

GET /tennis/h2h?player1_id=&player2_id= returns the record with surface, level and finals splits plus every match. /tennis/h2h/matrix takes up to a group of ids and returns the grid.

Sinner v Alcaraz

request
curl "https://api.citoapi.com/api/v1/tennis/h2h?player1_id=atp_206173&player2_id=atp_207989" \
  -H "x-api-key: YOUR_API_KEY"
response
{
  "player1": {
    "id": "atp_206173",
    "name": "Jannik Sinner",
    "current_rank": 2,
    "wins": 7
  },
  "player2": {
    "id": "atp_207989",
    "name": "Carlos Alcaraz",
    "current_rank": 3,
    "wins": 11
  },
  "summary": {
    "total_matches": 18,
    "finals_matches": 9,
    "player1_finals_wins": 4,
    "player2_finals_wins": 5,
    "grand_slam_matches": 6,
    "player1_grand_slam_wins": 2,
    "player2_grand_slam_wins": 4
  },
  "surface_breakdown": {
    "hard": {
      "player1_wins": 3,
      "player2_wins": 7,
      "total": 10
    },
    "clay": {
      "player1_wins": 2,
      "player2_wins": 4,
      "total": 6
    },
    "grass": {
      "player1_wins": 2,
      "player2_wins": 0,
      "total": 2
    }
  },
  "level_breakdown": {
    "grand_slam": {
      "player1_wins": 2,
      "player2_wins": 4,
      "total": 6
    },
    "masters_1000": {
      "player1_wins": 2,
      "player2_wins": 5,
      "total": 7
    },
    "tour_finals": {
      "player1_wins": 1,
      "player2_wins": 0,
      "total": 1
    }
  }
}

Real response, trimmed. The full body also lists every meeting with score, round and date.

Walkovers and exhibitions are left out of the counts, as in the head-to-head records the tours publish, and reported separately.

A whole group at once

Three-player matrix

request
curl "https://api.citoapi.com/api/v1/tennis/h2h/matrix?player_ids=atp_206173,atp_207989,atp_100644" \
  -H "x-api-key: YOUR_API_KEY"
response
{
  "players": [
    {
      "id": "atp_206173",
      "name": "Jannik Sinner",
      "wins": 18
    },
    {
      "id": "atp_207989",
      "name": "Carlos Alcaraz",
      "wins": 18
    },
    {
      "id": "atp_100644",
      "name": "Alexander Zverev",
      "wins": 10
    }
  ],
  "matrix": {
    "atp_206173": {
      "atp_206173": "-",
      "atp_207989": "7-11",
      "atp_100644": "11-4"
    },
    "atp_207989": {
      "atp_206173": "11-7",
      "atp_207989": "-",
      "atp_100644": "7-6"
    },
    "atp_100644": {
      "atp_206173": "4-11",
      "atp_207989": "6-7",
      "atp_100644": "-"
    }
  }
}

Find ids by name, then get the H2H

Python
import requests

H = {"x-api-key": "YOUR_API_KEY"}
B = "https://api.citoapi.com/api/v1/tennis"

def pid(name):
    return requests.get(f"{B}/players/search", params={"q": name}, headers=H).json()["items"][0]["id"]

h2h = requests.get(f"{B}/h2h", params={"player1_id": pid("sinner"), "player2_id": pid("alcaraz")}, headers=H).json()
print(h2h["player1"]["name"], h2h["player1"]["wins"], "-", h2h["player2"]["wins"], h2h["player2"]["name"])
for surface, s in h2h["surface_breakdown"].items():
    if s["total"]:
        print(f'  {surface}: {s["player1_wins"]}-{s["player2_wins"]}')

Free covers the last 30 days and Starter 90 days. Pro covers every meeting back to 1968.

Plans for tennis

FreeStarterProScaleBusiness CSV
Price$0$15/mo$59/mo$100/mo$299/mo (+$99/mo extra sport)
Credits / mo500/month10,000/month250,000/month1,000,000/month3,000,000/month
Rate limit10/min30/min100/min400/min600/min
Live scores60 s delayed60 s delayedReal timeReal timeReal time
HistoryLast 30 daysLast 90 daysFull archive (1968-)Full archive (1968-)Full archive (1968-) + Master/Delta CSV
Deep-history (>90d) sub-cap0050,000/mo (5x narrow / bulk)100,000/mo (5x narrow / bulk)Unlimited in quota
Prediction-market odds3-day free trialUpgrade to ProPre-match, live & historyPre-match, live & historyAPI + opening/closing CSV
Point-in-time Elo3-day free trialCareer & leadersFull 1968- historyFull 1968- historyAPI + pre-match CSV
WebhooksNoNoYesYesYes
WebSocketsNoNo+$15/mo (points + odds)IncludedIncluded (points + odds)
Bulk CSV exportsSample CSV———Master + Daily Delta CSV (0 REST credits)
Commercial useNo1 productYesYesYes

Tennis on each plan, as the API enforces it (checked 15 Nov 2026). Paid API plans: 7-day money-back guarantee.

Frequently asked

Ready to go
live ?

Pro unlocks real-time scores, point-by-point, prediction-market odds, point-in-time Elo back to 1968, and webhooks for $59/mo with a 7-day money-back guarantee. Free includes a 3-day odds & Elo trial; Business ($299/mo) delivers full CSV datasets.

Compare every plan

More tennis API resources

Live Tennis Scores APITennis Point-by-Point APITennis API Coverage MatrixATP & WTA Rankings APITennis Draws APITennis Stats API for Betting Models & MLTennis Webhooks APITennis API PricingTennis Elo Ratings APITennis CSV DatasetTennis API in PythonTennis API in Node.js & TypeScriptTennis WebSocket APITennis Historical Data APIATP Challenger APIITF Tennis APITennis Schedule APIFree Tennis APIAustralian Open Live Scores APITennis Qualifying Results APIITF Women Tennis Stats APITennis Break Points Saved APIWimbledon APIRoland Garros & French Open APIUS Open Tennis APITennis MCP ServerTennis API documentationMatches endpointsPlayers endpointsRankings & Elo endpointsOdds endpointsTournaments & draws endpointsHead-to-head endpointsLeaderboards endpointsLive WebSocket guideMeasured coverage guidePlayer & match IDsError referencePython ATP & WTA Live Tennis Scoreboard TutorialTennis Surface Elo Pandas Backtesting Tutorial (CSV + API)Tennis Match Prediction Model Tutorial: Surface Elo, Serve Stats & Closing OddsThe tennis data API with 58 seasons of memoryA tennis scores API that keeps up with the serveEvery tennis result since 1968, one query awayA rankings API with a time machine built inThe ATP API that remembers Laver and streams SinnerLive odds, surface Elo, and 2.1M+ matches for quantitative modelsLive, pre-match, and historical tennis odds in one APIThe WTA, from Original 9 era to this week's finalBetsAPI alternativeGoalserve alternativeDIY Flashscore Scraper alternativeAPI-Tennis alternativeapi.tennis alternativeLiveTennisAPI alternativeAcesAPI alternativeTennis Abstract alternativeBALLDONTLIE alternativeThe Odds API alternativeOpticOdds alternativeSportmonks alternativeSportradar alternativeSofascore alternativeESPN alternative