PGA tournament_rounds API
tournament_rounds
golf.tournament_roundsEach round of every professional golf tournament — round 1 (Thursday), round 2 (Friday cut day), and the weekend rounds (Saturday and Sunday) plus any playoff holes.
GET/api/v1/pga/tournament_roundsList tournament_rounds for PGA
Requires one of:
tournament_id — requests satisfying none of these return 400.Parameters
tournament_idquerybigintoptionalFilter to a single tournament.
limitqueryintegeroptionaldefault 50Page size. Defaults to 50; max 5000.
from_idquerybigintoptionalReturn rows with id strictly greater than this value; page using the previous response's `next_from_id`. Omit on the first page.
Restores the documented defaults (trial keys only accept the unchanged defaults).
Request
curl -sS --compressed \
-H 'Authorization: Bearer YOUR_API_KEY' \
'https://api.stat-api.com/api/v1/pga/tournament_rounds?tournament_id=1'Responses
200tournament_rounds rows matching the declared filter set, wrapped in { tournament_rounds, limit, next_from_id }. next_from_id is the last row's id on a full page — pass it back via ?from_id= to walk the full result; null marks the terminal page.application/jsonshow example ▸
400No declared filter set was satisfied — response body matches MissingRequiredFiltersError; pick one combo from the accepted-sets hint and resend.
application/jsonResponse Schema(5 fields)show schema ▸
| Field | Type | References | Description |
|---|---|---|---|
idkey | bigint | — | Primary Key |
round_id | integer | — | — e.g. 20250161 |
tournament_id | bigint | — e.g. 1 | |
day | date | — | — e.g. 2025-03-05 |
round_number | integer | — | — e.g. 1 |
GET/api/v1/pga/tournament_rounds/{id}Get a single tournament_round by id
Parameters
idpathbigintrequiredPrimary key (id) of the tournament_round row.
Restores the documented defaults (trial keys only accept the unchanged defaults).
Request
curl -sS --compressed \
-H 'Authorization: Bearer YOUR_API_KEY' \
'https://api.stat-api.com/api/v1/pga/tournament_rounds/{pk_value}'Responses
200Single tournament_round row.application/jsonshow example ▸
404Row not found.
Response Schema(5 fields)show schema ▸
| Field | Type | References | Description |
|---|---|---|---|
idkey | bigint | — | Primary Key |
round_id | integer | — | — e.g. 20250161 |
tournament_id | bigint | — e.g. 1 | |
day | date | — | — e.g. 2025-03-05 |
round_number | integer | — | — e.g. 1 |