Tennis webhooks: stop polling for results
Get a signed POST the moment a match starts, each set ends, the result is final, and the serve statistics are in. Filter by player, tour, tournament or match.
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/webhooks/events" \
-H "x-api-key: YOUR_API_KEY"In short
Four tennis webhook events: tennis.match.started, tennis.set.completed, tennis.match.completed, tennis.match.stats_ready. HMAC-SHA256 signed, 3 delivery attempts, replay. On Pro and Scale.
The four events
| Event | Sent when |
|---|---|
| tennis.match.started | A match goes live (first point played). Once per match. |
| tennis.set.completed | A set finishes. Once per set; the last set arrives just before the result. |
| tennis.match.completed | The result is final. Once per match, with outcome (retirement and walkover included). |
| tennis.match.stats_ready | The full serve statistics are in; minutes or hours after the result. |
A real tennis.set.completed payload
curl "https://api.citoapi.com/api/v1/tennis/webhooks/events" \
-H "x-api-key: YOUR_API_KEY"{
"event": "tennis.set.completed",
"id": "0b8e9b52-5a8e-4f0e-9a43-3c2a7d0c1f11",
"timestamp": "2026-11-08T15:12:41.000Z",
"match_id": "m_2026_4891241",
"data": {
"id": "m_2026_4891241",
"tour": "ATP",
"tournament_name": "Paris",
"round_name": "Final",
"status": "IN_PROGRESS",
"current_set": 2,
"player1": {
"id": "atp_210097",
"name": "Ben Shelton"
},
"player2": {
"id": "atp_207989",
"name": "Carlos Alcaraz"
},
"set_number": 1,
"set_score": "6-7",
"set_winner_side": 2,
"set": {
"set_number": 1,
"score": "6-7",
"tiebreak": "5-7",
"is_completed": true
}
}
}From the event catalog, trimmed. Every payload carries the same match ids /tennis/matches returns.
Create one
Subscribe with your API key
curl -X POST "https://api.citoapi.com/api/v1/webhooks" \
-H "x-api-key: YOUR_API_KEY" -H "Content-Type: application/json" \
-d '{"url": "https://your-app.com/hooks/tennis",
"events": ["tennis.match.completed", "tennis.match.stats_ready"],
"filters": {"tour": "ATP", "playerId": ["atp_206173"]}}'import crypto from "node:crypto";
// Sign the RAW body bytes with your webhook secret; compare with X-Cito-Signature (hex, no prefix).
export function verify(rawBody, signature, secret) {
const expected = crypto.createHmac("sha256", secret).update(rawBody).digest("hex");
return crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(signature));
}
// Use payload.id (X-Cito-Event-Id) as your idempotency key.- Filters: matchId, tour, tournamentId, playerId (either player). Each takes one value or a list.
- Signing: HMAC-SHA256 of the raw body, header X-Cito-Signature.
- Delivery: 10 s timeout, 3 attempts; GET /webhooks/{id}/deliveries lists them and POST /webhooks/{id}/replay re-sends stored events.
- On tennis.match.completed, player1 is the winner and data.outcome says COMPLETED, RETIREMENT, WALKOVER, DEFAULT or ABANDONED.
Webhooks are on Pro and Scale. Free and Starter keys can read the same data by polling, 60 seconds behind.
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