Base URL
https://v2.tennis.sportsapipro.com
Live & Schedule (6 endpoints)
Live Matches
Returns curated live tennis matches with scores, players, and status.
Live (All)
Returns all live data (raw, unfiltered).
Today’s Games
Returns today’s scheduled tennis matches.
Schedule by Date
Date in YYYY-MM-DD format.
Live Tournaments
GET /api/live-tournaments
Returns tournaments with live matches right now.
Newly Added Events
GET /api/newly-added-events
Returns recently added events.
Search & Discovery (5 endpoints)
Search
GET /api/search?q={query}
Search for players, tournaments, and teams.
Search query (e.g., alcaraz, wimbledon).
Countries / Categories
Returns tennis categories/countries.
Countries (All)
Returns extended categories list.
Category Tournaments
GET /api/categories/{categoryId}/tournaments
Returns tournaments in a specific category/country.
Country Flag
GET /api/country/{code}/flag
Returns the country flag image URLs (PNG and SVG).
Example Requests
# Live tennis matches
curl -X GET "https://v2.tennis.sportsapipro.com/api/live" \
-H "x-api-key: YOUR_API_KEY"
# Search for a player
curl -X GET "https://v2.tennis.sportsapipro.com/api/search?q=djokovic" \
-H "x-api-key: YOUR_API_KEY"
# Country flag
curl -X GET "https://v2.tennis.sportsapipro.com/api/country/US/flag" \
-H "x-api-key: YOUR_API_KEY"
# Returns: { "flagUrl": "https://flagcdn.com/w80/us.png", "flagSvg": "https://flagcdn.com/us.svg" }