Real-time tennis WebSocket streams for points and live odds
Subscribe to all in-play ATP, WTA, Challenger, and ITF matches or individual match:{id} rooms over wss://api.citoapi.com/api/v1/tennis/live/ws without polling REST limits.
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/matches/live/m_2026_4893994" \
-H "x-api-key: YOUR_API_KEY"In short
Connect to wss://api.citoapi.com/api/v1/tennis/live/ws on Scale ($100/mo), Business CSV ($299/mo), or Pro ($59/mo + $15/mo add-on) to push live POINT_UPDATE, MATCH_FINISHED, and tennis.odds.updated frames as play happens, with GET /tennis/live/stream SSE included on every plan.
1. WebSocket rooms, point frames, and live odds
Send a JSON subscribe message once after connecting (either rooms: ["all"] or rooms: ["match:m_2026_..."]). Each frame delivers point_history updates, active server indicator, tiebreak scores, and real-time tennis.odds.updated probability shifts whenever an order book reprices.
Live point-by-point match stream state
curl "https://api.citoapi.com/api/v1/tennis/matches/live/m_2026_4893994" \
-H "x-api-key: YOUR_API_KEY"{
"id": "m_2026_4893994",
"status": "IN_PROGRESS",
"current_set": 3,
"game_score": "15-15",
"server": 1,
"point_history": [
{
"set": 3,
"game": 8,
"server_id": "atp_209950",
"winner_id": "atp_209950",
"points": ["0:15","0:30","15:30","15:40"],
"points_seen_at": ["2026-11-15T21:34:47+00:00","2026-11-15T21:35:00+00:00","2026-11-15T21:35:20+00:00","2026-11-15T21:35:52+00:00"]
},
{
"set": 3,
"game": 9,
"server_id": "atp_210097",
"winner_id": null,
"points": ["15:0","15:15"],
"points_seen_at": ["2026-11-15T21:37:09+00:00","2026-11-15T21:37:29+00:00"]
}
]
}Live prediction-market odds stream frame
curl "https://api.citoapi.com/api/v1/tennis/odds/live?limit=3" \
-H "x-api-key: YOUR_API_KEY"{
"success": true,
"total": 251,
"items": [
{
"match_id": "m_2026_4891297",
"tour": "WTA",
"tournament": "WTA Finals, Final Stage",
"commence_time": "2026-11-15T20:10:00+00:00",
"home": {
"name": "Mirra Andreeva",
"player_id": "wta_259799",
"id": "wta_259799"
},
"away": {
"name": "Elina Svitolina",
"player_id": "wta_202494",
"id": "wta_202494"
},
"live": true,
"market_status": "open",
"liquidity_usd": 251462.12,
"volume_usd": 600112.4,
"price_timestamp": "2026-11-15T21:37:45.129000+00:00",
"h2h": {
"market_id": "mkt_7052659",
"player1_odds": 1.21,
"player2_odds": 5.71,
"player1_prob": 0.825,
"player2_prob": 0.175,
"open_player1_odds": 1.53,
"open_player2_odds": 2.9,
"best_bid": 0.82,
"best_ask": 0.83,
"spread": 0.01,
"status": "open"
},
"markets": ["h2h","set_handicap","set_winner","spreads","totals","set_totals"],
"market_count": 9
},
{
"match_id": "m_2026_4893994",
"tour": "ATP",
"tournament": "ATP World Tour Finals, John McEnroe Group",
"commence_time": "2026-11-15T19:35:00+00:00",
"home": {
"name": "Ben Shelton",
"player_id": "atp_210097",
"id": "atp_210097"
},
"away": {
"name": "Arthur Fils",
"player_id": "atp_209950",
"id": "atp_209950"
},
"live": true,
"market_status": "open",
"liquidity_usd": 214342.38,
"volume_usd": 308203.09,
"price_timestamp": "2026-11-15T21:37:45.135000+00:00",
"h2h": {
"market_id": "mkt_7001803",
"player1_odds": 1.02,
"player2_odds": 48.78,
"player1_prob": 0.9795,
"player2_prob": 0.0205,
"open_player1_odds": 1.18,
"open_player2_odds": 6.45,
"best_bid": 0.979,
"best_ask": 0.98,
"spread": 0.001,
"status": "open"
},
"markets": ["h2h","spreads","set_handicap","set_winner","totals","set_totals"],
"market_count": 8
}
]
}2. Production Python & Node.js WebSocket clients
Connect to wss://api.citoapi.com/api/v1/tennis/live/ws with reconnect backoff
import asyncio
import json
import os
import websockets
WS_URL = "wss://api.citoapi.com/api/v1/tennis/live/ws?snapshot=true"
HEADERS = {"x-api-key": os.environ["CITO_API_KEY"]}
async def stream_tennis():
delay = 1
while True:
try:
async with websockets.connect(WS_URL, additional_headers=HEADERS) as ws:
delay = 1
await ws.send(json.dumps({"action": "subscribe", "rooms": ["all"]}))
async for raw in ws:
msg = json.loads(raw)
print(msg.get("type"), msg.get("match_id"), msg.get("game_score"))
except Exception as exc:
print(f"Reconnecting in {delay}s: {exc}")
await asyncio.sleep(delay)
delay = min(delay * 2, 30)
if __name__ == "__main__":
asyncio.run(stream_tennis())import WebSocket from "ws";
const ws = new WebSocket("wss://api.citoapi.com/api/v1/tennis/live/ws?snapshot=true", {
headers: { "x-api-key": process.env.CITO_API_KEY ?? "" },
});
ws.on("open", () => {
ws.send(JSON.stringify({ action: "subscribe", rooms: ["all"] }));
});
ws.on("message", (buf) => {
const frame = JSON.parse(buf.toString());
console.log(frame.type, frame.match_id, frame.game_score);
});3. Measured board refresh & delivery options
| Live freshness | Measured / configured |
|---|---|
| Live board refresh | Every in-play match at least every 8 s; featured matches every 2.5 s |
| Newest in-play update when sampled | 0.5 to 2.3 s old (15 samples, 11 Nov 2026) |
| REST /tennis/matches/live | Served from the live board; responses cached at most 5 s |
| SSE /tennis/live/stream | Reads the board every 4 s and pushes only what changed |
| WebSocket | Pushes each point as it lands on the board (Scale, or Pro + $15) |
| Free and Starter | Live scores 60 s behind |
We do not quote a point-to-API latency: we cannot time a point against the umpire's clock.
Live WebSockets are included on Scale ($100/mo, 1M REST credits) and Business CSV ($299/mo), or available on Pro ($59/mo) for +$15/mo.
Plans for tennis
| Free | Starter | Pro | Scale | Business CSV | |
|---|---|---|---|---|---|
| Price | $0 | $15/mo | $59/mo | $100/mo | $299/mo (+$99/mo extra sport) |
| Credits / mo | 500/month | 10,000/month | 250,000/month | 1,000,000/month | 3,000,000/month |
| Rate limit | 10/min | 30/min | 100/min | 400/min | 600/min |
| Live scores | 60 s delayed | 60 s delayed | Real time | Real time | Real time |
| History | Last 30 days | Last 90 days | Full archive (1968-) | Full archive (1968-) | Full archive (1968-) + Master/Delta CSV |
| Deep-history (>90d) sub-cap | 0 | 0 | 50,000/mo (5x narrow / bulk) | 100,000/mo (5x narrow / bulk) | Unlimited in quota |
| Prediction-market odds | 3-day free trial | Upgrade to Pro | Pre-match, live & history | Pre-match, live & history | API + opening/closing CSV |
| Point-in-time Elo | 3-day free trial | Career & leaders | Full 1968- history | Full 1968- history | API + pre-match CSV |
| Webhooks | No | No | Yes | Yes | Yes |
| WebSockets | No | No | +$15/mo (points + odds) | Included | Included (points + odds) |
| Bulk CSV exports | Sample CSV | — | — | — | Master + Daily Delta CSV (0 REST credits) |
| Commercial use | No | 1 product | Yes | Yes | Yes |
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