Documentation / Yesterday's statistics
Snooker API: Yesterday's wins over a higher-ranked player, on the newest world ranking list, biggest ranking gap first. An unranked winner counts as one place below the list
Yesterday's wins over a higher-ranked player, on the newest world ranking list, biggest ranking gap first. An unranked winner counts as one place below the list.
GEThttps://api.snookerapi.net/v1/stats/yesterday/upsets
Try it
Parameters
| Name | Type | What it is |
|---|---|---|
| event_id | id | Only this event (ev_ id). |
| stage | string | Only the main draw, qualifying or pre-qualifying. main qualifying pre_qualifying |
| page | integer | Page number, from 1. |
| cursor | string | The next_cursor from the previous page. |
| per_page | integer | Rows per page. |
Returns
| Field | Type | What it holds |
|---|---|---|
| match | object or null | The match: id, stage, round and both players; null for a century. |
| upset_by | object | The lower-ranked winner: id, name and position (null when unranked). |
| beaten | object | The higher-ranked loser: id, name and position. |
| gap | integer | Places between them on the list; an unranked winner counts as one place below the list. |
| ranking_list | object | The ranking list used: season and list, the newest we hold. |
Example answer
A real answer, read from the data within the last hour: GET /v1/stats/yesterday/upsets
{
"data": [],
"meta": {
"plan": "House key",
"count": 0,
"next_cursor": null,
"page": 1,
"per_page": 50,
"total": 0,
"total_pages": 1,
"next_page": null,
"prev_page": null,
"date": "2026-10-27",
"note": "No match finished yesterday (2026-10-27, UTC). Days between events have none.",
"ranking_list": {
"season": "2025-26",
"list": "revision 11"
}
}
}Errors
| Status | Code | When |
|---|---|---|
| 401 | unauthorized | No key, or a key that is not valid. Errors |
| 400 | bad_request | A parameter has the wrong shape. Errors |
| 422 | unknown_parameter | A parameter this call does not take. Errors |
| 429 | rate_limited | Too many calls this minute; wait for Retry-After. Errors |