Documentation / Endpoints / Events
/v1/events/{id}/matches
An event's matches, in order of play. For events before December 2024, each match's day, local start, discipline and round only, marked detail: schedule_only.
GEThttps://api.tabletennisapi.com/v1/events/{id}/matches
Plans:Free keyLiveArchiveComplete On the free key, games, duration_s and table come back as null
Parameters
| Name | In | Type | Required | What it does | Example |
|---|---|---|---|---|---|
id | path | id | required | The event id, as returned by any list | ev_qm06xvdd |
discipline | query | string | optional | MS, WS, MD, WD, XD; teams MT, WT, XT | MS |
age_group | query | string | optional | Youth age group: U11, U13, U15, U17, U19. "senior" for seniors only | U19 |
para_class | query | string | optional | Para sport class, such as MS6 | MS6 |
round | query | string | optional | Round: final, semi_final, quarter_final, round_of_16 ... round_of_128, group, qualifying_1 to qualifying_4, qualifying_knockout or bronze | final |
status | query | string | optional | finished, live, scheduled or unconfirmed (played, no official result) | finished |
Run it live
GET /v1/events/{id}/matchesA real call to the API, from your browser
Your key is kept in this browser only, so every docs page has it, and is sent only to api.tabletennisapi.com. Left empty, the call runs on a free key with its dates and fields, 20 calls a minute.
GEThttps://api.tabletennisapi.com/v1/events/{id}/matches
Not run yet
Press Run it to see the answer here.
Response
A real answer from the data, two rows shown. Every field is described in the manual.
200 OKapplication/json
{
"data": [
{
"id": "mt_pw06hta5",
"event": {
"id": "ev_qm06xvdd",
"name": "Champions Frankfurt 2026"
},
"date": "2026-11-03",
"start_time": "2026-11-03T11:00:00Z",
"discipline": "WS",
"age_group": null,
"para_class": null,
"round": "round_of_32",
"round_name": "Round of 32",
"rubber": null,
"status": "finished",
"best_of": 5,
"points_per_game": 11,
"win_by": 2,
"utc_offset_min": 60,
"sides": [
{
"side": "a",
"name": "Polcanova Sofia",
"country": "AUT",
"players": [
{
"id": "pl_qprmtgjs",
"name": "Polcanova Sofia",
"country": "AUT"
}
]
},
{
"side": "b",
"name": "Harimoto Miwa",
"country": "JPN",
"players": [
{
"id": "pl_51t63nz3",
"name": "Harimoto Miwa",
"country": "JPN"
}
]
}
],
"score": {
"a": 2,
"b": 3
},
"winner": "b",
"result_note": null,
"games": [
{
"a": 13,
"b": 11
},
{
"a": 8,
"b": 11
},
{
"a": 9,
"b": 11
},
{
"a": 11,
"b": 7
},
{
"a": 7,
"b": 11
}
],
"duration_s": 2418,
"table": 1,
"started_at": "2026-11-03T11:04:31Z",
"timeouts": {
"a": 1,
"b": 1
},
"cards": {
"a": [],
"b": []
},
"video_review": false,
"challenges_each": 99,
"serving": null
},
{
"id": "mt_0nd5qgvv",
"event": {
"id": "ev_qm06xvdd",
"name": "Champions Frankfurt 2026"
},
"date": "2026-11-03",
"start_time": "2026-11-03T11:35:00Z",
"discipline": "MS",
"age_group": null,
"para_class": null,
"round": "round_of_32",
"round_name": "Round of 32",
"rubber": null,
"status": "finished",
"best_of": 5,
"points_per_game": 11,
"win_by": 2,
"utc_offset_min": 60,
"sides": [
{
"side": "a",
"name": "Zhou Qihao",
"country": "CHN",
"players": [
{
"id": "pl_v821yky0",
"name": "Zhou Qihao",
"country": "CHN"
}
]
},
{
"side": "b",
"name": "Poret Thibault",
"country": "FRA",
"players": [
{
"id": "pl_1qx8v5pr",
"name": "Poret Thibault",
"country": "FRA"
}
]
}
],
"score": {
"a": 3,
"b": 0
},
"winner": "a",
"result_note": null,
"games": [
{
"a": 11,
"b": 5
},
{
"a": 11,
"b": 5
},
{
"a": 12,
"b": 10
}
],
"duration_s": 1101,
"table": 1,
"started_at": "2026-11-03T11:56:29Z",
"timeouts": {
"a": 0,
"b": 1
},
"cards": {
"a": [],
"b": []
},
"video_review": false,
"challenges_each": 99,
"serving": null
}
],
"meta": {
"count": 2,
"next_cursor": "eyJvIjoyLCJwIjoyfQ",
"page": 1,
"per_page": 2,
"total": 62,
"total_pages": 31,
"next_page": 2,
"prev_page": null
}
}Example
curl
curl https://api.tabletennisapi.com/v1/events/ev_qm06xvdd/matches \
-H "Authorization: Bearer $TT_KEY"Python
import os, requests res = requests.get("https://api.tabletennisapi.com/v1/events/ev_qm06xvdd/matches", headers={"Authorization": "Bearer " + os.environ["TT_KEY"]}).json()
JavaScript
const res = await fetch("https://api.tabletennisapi.com/v1/events/ev_qm06xvdd/matches", { headers: { Authorization: "Bearer " + process.env.TT_KEY }, }); const { data, meta } = await res.json();
PHP
$ch = curl_init("https://api.tabletennisapi.com/v1/events/ev_qm06xvdd/matches"); curl_setopt_array($ch, [CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("TT_KEY")]]); $res = json_decode(curl_exec($ch), true);
Go
req, _ := http.NewRequest("GET", "https://api.tabletennisapi.com/v1/events/ev_qm06xvdd/matches", nil) req.Header.Set("Authorization", "Bearer "+os.Getenv("TT_KEY")) res, err := http.DefaultClient.Do(req)
Generate a client
Prefer a typed client? Every endpoint, parameter and field is in openapi.json (OpenAPI 3.1), so any OpenAPI generator builds one in your language; this call is event_matches in it. Or import the Postman collection and run every call with no code.
Generate a client
npx @openapitools/openapi-generator-cli generate \
-i https://tabletennisapi.com/openapi.json \
-g python -o tabletennis-client
# or -g typescript-fetch, php, go, java, csharp, ruby, kotlin, swift5Answers come back as data and meta; errors as error. See Errors and Pagination.