TableTennisAPI
The Table Tennis API from AllSports covers the full competition lifecycle so you can power fixtures, editorial, and analytics experiences without scraping. Daily and live event endpoints surface schedules, scorelines, incidents, historical form, head-to-head, streaks, highlights, fan votes, and win probability. Rich odds snapshots, TV broadcast listings, country flags, and branded placeholders…
TableTennisAPI endpoints
| Method | Endpoint | Description |
|---|---|---|
| AllSports | ||
| GET |
/api/placeholder/tournament.png /api/placeholder/tournament.png |
Returns a static placeholder graphic for a tournament. The response is an SVG image. |
| GET |
/api/placeholders/fighter-male.svg /api/placeholders/fighter-male.svg |
Retrieves a placeholder image for a male fighter. |
| GET |
/api/placeholders/fighter-female.svg /api/placeholders/fighter-female.svg |
Retrieves a placeholder image for a female fighter. |
| GET |
/api/placeholder/tournament.svg /api/placeholder/tournament.svg |
Returns a static placeholder graphic for a tournament. The response is an SVG image. |
| GET |
/api/placeholder/manager.svg /api/placeholder/manager.svg |
Returns a static placeholder graphic for a manager. The response is an SVG image. |
| GET |
/api/placeholder/player.png /api/placeholder/player.png |
Returns a static placeholder graphic for a player. The response is an SVG image. |
| GET |
/api/placeholder/team.svg /api/placeholder/team.svg |
Returns a static placeholder graphic for a team. The response is an SVG image. |
| GET |
/api/placeholder/player.svg /api/placeholder/player.svg |
Returns a static placeholder graphic for a player. The response is an SVG image. |
| GET |
/api/placeholder/manager.png /api/placeholder/manager.png |
Returns a static placeholder graphic for a manager. The response is an SVG image. |
| GET |
/api/img/flag/{flag} /api/img/flag/{flag} |
Fetches the PNG flag image asset corresponding to a provided country code. The response is the raw image data. |
| GET |
/api/tv/country/all/event/{id} /api/tv/country/all/event/{id} |
Lists the countries and the TV channels within them that are broadcasting a specific match. |
| GET |
/api/tv/channel/{channId}/event/{id} /api/tv/channel/{channId}/event/{id} |
Fetches viewer voting data from a specific TV channel that is broadcasting the match. |
| GET |
/api/country/{code}/flag /api/country/{code}/flag |
Fetches the flag image from the SofaScore image API by country code. |
| Matches | ||
| GET |
/api/table-tennis/events/live /api/table-tennis/events/live |
Lists all currently live table tennis matches. |
| GET |
/api/table-tennis/event/{id}/incidents /api/table-tennis/event/{id}/incidents |
Lists point-by-point incidents and notable events. |
| GET |
/api/table-tennis/event/{id}/streaks /api/table-tennis/event/{id}/streaks |
Returns recent streak information for the match participants. |
| GET |
/api/table-tennis/event/{id}/form /api/table-tennis/event/{id}/form |
Provides pre-game form information for both competitors. |
| GET |
/api/table-tennis/event/{id}/highlights /api/table-tennis/event/{id}/highlights |
Returns available highlight clips for the match. |
| GET |
/api/table-tennis/events/odds/{day}/{month}/{year} /api/table-tennis/events/odds/{day}/{month}/{year} |
Returns scheduled matches together with odds for bookmaker `1`. |
| GET |
/api/table-tennis/event/{id}/statistics /api/table-tennis/event/{id}/statistics |
Provides detailed statistics for the specified match. |
| GET |
/api/table-tennis/event/{id}/votes /api/table-tennis/event/{id}/votes |
Returns community votes for player of the match. |
| GET |
/api/table-tennis/event/{id}/lineups /api/table-tennis/event/{id}/lineups |
Returns confirmed lineups when available. |
| GET |
/api/table-tennis/events/{day}/{month}/{year} /api/table-tennis/events/{day}/{month}/{year} |
Returns all scheduled table tennis matches for the provided day. |
| GET |
/api/table-tennis/event/{id} /api/table-tennis/event/{id} |
Returns core information for the requested match. |
| GET |
/api/table-tennis/event/{id}/duel /api/table-tennis/event/{id}/duel |
Provides aggregated head-to-head totals for the competitors. |
| GET |
/api/table-tennis/event/{id}/streaks/odds /api/table-tennis/event/{id}/streaks/odds |
Returns streak details paired with bookmaker odds. |
| GET |
/api/table-tennis/event/{customId}/h2h /api/table-tennis/event/{customId}/h2h |
Returns historical meetings for the match custom identifier. |
| GET |
/api/table-tennis/event/{id}/win-probability /api/table-tennis/event/{id}/win-probability |
Returns win probability timeline for the match. |
| GET |
/api/table-tennis/event/{id}/odds /api/table-tennis/event/{id}/odds |
Retrieves odds from bookmaker `1` for the match. |
| Calendar | ||
| GET |
/api/table-tennis/calendar/{month}/{year} /api/table-tennis/calendar/{month}/{year} |
Provides unique tournaments with events for the requested month. |
| Categories | ||
| GET |
/api/table-tennis/category/{id}/events/{day}/{month}/{year} /api/table-tennis/category/{id}/events/{day}/{month}/{year} |
Lists all matches in the category for the provided day. |
| GET |
/api/table-tennis/tournament/all/category/{id} /api/table-tennis/tournament/all/category/{id} |
Lists unique tournaments under the given category. |
| GET |
/api/table-tennis/calendar/{month}/{year}/categories /api/table-tennis/calendar/{month}/{year}/categories |
Aggregates categories for up to five days in the given month. |
| GET |
/api/table-tennis/calendar/{day}/{month}/{year}/categories /api/table-tennis/calendar/{day}/{month}/{year}/categories |
Lists categories that have events on the provided date. |
| GET |
/api/table-tennis/tournament/categories /api/table-tennis/tournament/categories |
Returns all SofaScore categories for table tennis. |
| Teams | ||
| GET |
/api/table-tennis/team/{id}/unique-tournaments /api/table-tennis/team/{id}/unique-tournaments |
Lists unique tournaments that the team participates in. |
| GET |
/api/table-tennis/team/{id}/transfers /api/table-tennis/team/{id}/transfers |
Returns historical transfer activity for the team. |
| GET |
/api/table-tennis/team/{id}/media /api/table-tennis/team/{id}/media |
Returns media items linked to the team. |
| GET |
/api/table-tennis/team/{id}/player-statistics/seasons /api/table-tennis/team/{id}/player-statistics/seasons |
Lists seasons with player statistics for the team. |
| GET |
/api/table-tennis/team/{id}/rankings /api/table-tennis/team/{id}/rankings |
Returns the SofaScore rankings for the team. |
| GET |
/api/table-tennis/team/{id}/statistics/seasons /api/table-tennis/team/{id}/statistics/seasons |
Lists seasons with team statistics data. |
| GET |
/api/table-tennis/team/{id}/players /api/table-tennis/team/{id}/players |
Returns current players registered for the team. |
| GET |
/api/table-tennis/team/{id}/matches/previous/{page} /api/table-tennis/team/{id}/matches/previous/{page} |
Returns paginated list of past matches for the team. |
| GET |
/api/table-tennis/team/{id}/matches/near /api/table-tennis/team/{id}/matches/near |
Returns recent and upcoming matches around the current date. |
| GET |
/api/table-tennis/team/{id}/matches/next/{page} /api/table-tennis/team/{id}/matches/next/{page} |
Returns paginated list of next matches for the team. |
| GET |
/api/table-tennis/team/{id}/standings/seasons /api/table-tennis/team/{id}/standings/seasons |
Lists seasons that have standings for the team. |
| GET |
/api/table-tennis/team/{id} /api/table-tennis/team/{id} |
Returns information about the requested team. |
| Tournaments | ||
| GET |
/api/table-tennis/tournament/{tournamentId}/season/{seasonId}/cup-trees /api/table-tennis/tournament/{tournamentId}/season/{seasonId}/cup-trees |
Returns knockout bracket for the season. |
| GET |
/api/table-tennis/tournament/{tournamentId}/seasons /api/table-tennis/tournament/{tournamentId}/seasons |
Lists available seasons for the tournament. |
| GET |
/api/table-tennis/tournament/{tournamentId}/season/{seasonId}/player-of-the-season /api/table-tennis/tournament/{tournamentId}/season/{seasonId}/player-of-the-season |
Returns SofaScore player of the season data. |
TableTennisAPI pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $9.99 / month | 5 / second |
|
| ULTRA | $14.99 / month | 8 / second |
|
| MEGA Recommended | $24.99 / month | 10 / second |
|