Skip to main content

Base URL

https://v2.tennis.sportsapipro.com

Live & Schedule (6 endpoints)

Live Matches

GET /api/live
Returns curated live tennis matches with scores, players, and status.

Live (All)

GET /api/live/all
Returns all live data (raw, unfiltered).

Today’s Games

GET /api/today
Returns today’s scheduled tennis matches.

Schedule by Date

GET /api/schedule/{date}
date
string
required
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)

GET /api/search?q={query}
Search for players, tournaments, and teams.
q
string
required
Search query (e.g., alcaraz, wimbledon).

Countries / Categories

GET /api/countries
Returns tennis categories/countries.

Countries (All)

GET /api/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" }