Documentation / Endpoints / Matches
/v1/matches/{id}
One match: players, score, every game, length, table, format, real start, timeouts and cards, with its context: venue, each side's world rank that day and form going in.
GEThttps://api.tabletennisapi.com/v1/matches/{id}
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 match id, as returned by any list | mt_s167nw41 |
Run it live
GET /v1/matches/{id}A 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/matches/{id}
Not run yet
Press Run it to see the answer here.
Response
A real answer from the data. Every field is described in the manual.
200 OKapplication/json
{
"data": {
"id": "mt_s167nw41",
"event": {
"id": "ev_qm06xvdd",
"name": "Champions Frankfurt 2026"
},
"date": "2026-11-08",
"start_time": "2026-11-08T17:30:00Z",
"discipline": "MS",
"age_group": null,
"para_class": null,
"round": "final",
"round_name": "Final",
"rubber": null,
"status": "finished",
"best_of": 7,
"points_per_game": 11,
"win_by": 2,
"utc_offset_min": 60,
"sides": [
{
"side": "a",
"name": "Franziska Patrick",
"country": "GER",
"players": [
{
"id": "pl_pa71g1zb",
"name": "Franziska Patrick",
"country": "GER"
}
]
},
{
"side": "b",
"name": "Harimoto Tomokazu",
"country": "JPN",
"players": [
{
"id": "pl_mc5w19rn",
"name": "Harimoto Tomokazu",
"country": "JPN"
}
]
}
],
"score": {
"a": 2,
"b": 4
},
"winner": "b",
"result_note": null,
"games": [
{
"a": 11,
"b": 2
},
{
"a": 9,
"b": 11
},
{
"a": 13,
"b": 11
},
{
"a": 8,
"b": 11
},
{
"a": 4,
"b": 11
},
{
"a": 4,
"b": 11
}
],
"duration_s": 2917,
"table": 1,
"started_at": "2026-11-08T17:52:28Z",
"timeouts": {
"a": 1,
"b": 1
},
"cards": {
"a": [],
"b": []
},
"video_review": false,
"challenges_each": 99,
"serving": null,
"context": {
"venue": "Süwag Energie Arena",
"city": "Frankfurt",
"country": "GER",
"a": {
"world_rank": {
"rank": 15,
"points": 2700,
"week": "2026-45"
},
"form": [
{
"match": "mt_0wayhqzy",
"date": "2026-11-08",
"won": true
},
{
"match": "mt_xwsrt9ja",
"date": "2026-11-07",
"won": true
},
{
"match": "mt_rc5thgmb",
"date": "2026-11-06",
"won": true
},
{
"match": "mt_rv5r23gs",
"date": "2026-11-05",
"won": true
},
{
"match": "mt_p4tg8a8h",
"date": "2026-11-01",
"won": false
}
]
},
"b": {
"world_rank": {
"rank": 3,
"points": 6413,
"week": "2026-45"
},
"form": [
{
"match": "mt_fc4dj0t7",
"date": "2026-11-08",
"won": true
},
{
"match": "mt_nv7n2jgq",
"date": "2026-11-07",
"won": true
},
{
"match": "mt_1jdaw939",
"date": "2026-11-06",
"won": true
},
{
"match": "mt_ng59fhhe",
"date": "2026-11-03",
"won": true
},
{
"match": "mt_b25r23pe",
"date": "2026-10-28",
"won": false
}
]
}
}
},
"meta": []
}Example
curl
curl https://api.tabletennisapi.com/v1/matches/mt_s167nw41 \
-H "Authorization: Bearer $TT_KEY"Python
import os, requests res = requests.get("https://api.tabletennisapi.com/v1/matches/mt_s167nw41", headers={"Authorization": "Bearer " + os.environ["TT_KEY"]}).json()
JavaScript
const res = await fetch("https://api.tabletennisapi.com/v1/matches/mt_s167nw41", { headers: { Authorization: "Bearer " + process.env.TT_KEY }, }); const { data, meta } = await res.json();
PHP
$ch = curl_init("https://api.tabletennisapi.com/v1/matches/mt_s167nw41"); 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/matches/mt_s167nw41", 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 match 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.