🎾 Live Visual Tennis API Examples

See Today’s Tennis API Data Displayed as Real Website Widgets

This demo automatically detects a live or upcoming match from today, then uses that match to populate live scores, odds movement, player profiles, H2H, rankings and fixtures.

Today’s Data Context

Auto-populated from today’s live or upcoming tennis matches

The page first checks live matches. If there are no live matches, it checks today’s fixtures. The selected match is then used across the visual demos below.

Loading today’s match context…
Live API

Live Scores Board

Display today’s live matches as a sportsbook/media-style scoreboard.

Loading live scores…
Endpoint used
GET /tennis/v2/extend/api/events/live
Frontend code
fetch("/api/tennis-demo.php?endpointId=live-events&limit=20")
Odds API

Odds Movement Cards

Uses the selected match event ID to display recent odds movement.

Using Event ID: Detecting…
Loading odds movement…
Endpoint used
GET /tennis/v2/extend/api/odds/summary/movements/last-10/{eventId}
Frontend code
fetch("/api/tennis-demo.php?endpointId=odds-movements-last-10&eventId={eventId}")
Player API

Player Profile Card

Uses player one from today’s selected match.

Using Player: Detecting…
Loading player profile…
Endpoint used
GET /tennis/v2/ms-api/profile/{name}
Frontend code
fetch("/api/tennis-demo.php?endpointId=player-profile&name={playerName}")
H2H API

H2H Comparison Widget

Uses player IDs from today’s selected match when available.

Using Player IDs: Detecting…
Loading H2H comparison…
Endpoint used
GET /tennis/v2/{type}/h2h/info/{player1}/{player2}
Frontend code
fetch("/api/tennis-demo.php?endpointId=h2h-info&type=atp&player1={player1Id}&player2={player2Id}")
Rankings API

Current Rankings Table

Displays ATP or WTA rankings based on today’s selected match context.

Loading rankings…
Endpoint used
GET /tennis/v2/{type}/ranking/singles
Frontend code
fetch("/api/tennis-demo.php?endpointId=singles-rankings&type=atp&pageSize=10&pageNo=1")
Fixtures API

Today’s Fixtures List

Shows upcoming tennis fixtures for ATP or WTA.

Loading fixtures…
Endpoint used
GET /tennis/v2/{type}/fixtures
Frontend code
fetch("/api/tennis-demo.php?endpointId=fixtures-today&type=atp")

Build Tennis Apps, Betting Tools, Ranking Tables & Live Scoreboards

Use Tennis API data to power sports apps, media sites, betting models, prediction tools, player profiles and tennis analytics dashboards.