v2

Advanced API

Advanced API Overview

The Advanced API provides a richer, deeper set of tennis data endpoints beyond the core API. It covers detailed player analytics, live match tracking, match predictions, advanced H2H breakdowns, full season calendars, potential fixture combinations, and global search β€” all accessible through the same RapidAPI subscription.

ℹ️
Same authentication All Advanced API endpoints use the exact same X-RapidAPI-Key and X-RapidAPI-Host headers as the core API. No additional credentials are required.

Base URLs (Product-Based)

⚠️
Important: Advanced API endpoints are split across separate RapidAPI products. You must use the correct base URL and X-RapidAPI-Host for each product.
ProductBase URLModulesPlan Required
Tennis Stats APIhttps://tennis-stats-api.p.rapidapi.comProfile, H2H, Rankings, Search, Tournament, Calendar, Potential Fixtures, Interesting H2HPro+
Tennis Predictions APIhttps://tennis-predictions-api.p.rapidapi.comUpcoming Matches, Match Prediction, Match Odds, Top MatchesUltra & Mega
Tennis Live APIhttps://tennis-live-api.p.rapidapi.comLive Events, Live Score, Point-by-Point, Live OddsUltra & Mega
Socket.IOwss://live.matchstat.comReal-time push updatesMega only

Authentication

Set the X-RapidAPI-Host header to match the product you are calling:

HeaderValue
X-RapidAPI-KeyYour RapidAPI subscription key
X-RapidAPI-HostThe host for the product (e.g. tennis-stats-api.p.rapidapi.com)

Tour Types

Most endpoints require a {type} path parameter specifying the tour:

ValueTour
atpMen's tour (ATP)
wtaWomen's tour (WTA)
ℹ️
Player name format Endpoints that accept a {name} path parameter expect the player name in lastname-firstname lowercase hyphenated format.
Example: djokovic-novak, swiatek-iga, alcaraz-carlos

Available Modules

Module Summary

ModuleProductBase PathEndpoints
Profiletennis-stats-api.../ms-api/profile/13
H2H Advancedtennis-stats-api.../ms-api/h2h/16
Interesting H2Htennis-stats-api.../ms-api/interesting-h2h/1
Upcoming & Predictionstennis-predictions-api.../ms-api/upcoming/7
Livetennis-live-api.../ms-api/live-events/ + live-score/ + pbp-stat/4
Tournament Advancedtennis-stats-api.../ms-api/tournament/ + calendar/ + potential-fixtures/15
Rankings & Searchtennis-stats-api.../ms-api/ranking/ + search/7

Quick Example

Stats API Example (Profile)

cURL
curl --request GET \
  --url 'https://tennis-stats-api.p.rapidapi.com/tennis/v2/ms-api/profile/Carlos%20Alcaraz' \
  --header 'X-RapidAPI-Key: YOUR_RAPIDAPI_KEY' \
  --header 'X-RapidAPI-Host: tennis-stats-api.p.rapidapi.com'

Predictions API Example (Upcoming Matches)

cURL
curl --request GET \
  --url 'https://tennis-predictions-api.p.rapidapi.com/tennis/v2/ms-api/upcoming/matches/atp' \
  --header 'X-RapidAPI-Key: YOUR_RAPIDAPI_KEY' \
  --header 'X-RapidAPI-Host: tennis-predictions-api.p.rapidapi.com'

Live API Example (Live Events)

cURL
curl --request GET \
  --url 'https://tennis-live-api.p.rapidapi.com/tennis/v2/ms-api/live-events/atp' \
  --header 'X-RapidAPI-Key: YOUR_RAPIDAPI_KEY' \
  --header 'X-RapidAPI-Host: tennis-live-api.p.rapidapi.com'