PGA players API
players
golf.playersEvery professional golfer — active tour members, conditional-status players, alumni who have competed at the highest level, and country-of-origin information.
GET/api/v1/pga/playersList players for PGA
Parameters
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/players?limit=3'Responses
200players rows matching the declared filter set, wrapped in { players, 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(16 fields)show schema ▸
| Field | Type | References | Description |
|---|---|---|---|
idkey | bigint | — | Primary Key |
league_id | stringnullable | — | Official tour player identifier e.g. 52955 |
league_player_id | integer | — | Official PGA Tour player id e.g. 52955 |
birth_city | stringnullable | — | — e.g. Seoul |
birth_country | stringnullable | — | — e.g. United States |
birth_date | datenullable | — | — e.g. 1989-07-23 |
birth_state | stringnullable | — | — e.g. California |
college | stringnullable | — | — e.g. Oklahoma State University |
country | stringnullable | — | — e.g. USA |
first_name | string | — | — e.g. David |
full_name | string | — | — e.g. Zach Johnson |
last_name | string | — | — e.g. Kim |
pga_debut_year | integernullable | — | — e.g. 2018 |
photo_url | stringnullable | — | — e.g. — (all-null in sample) |
short_name | stringnullable | — | — e.g. C. Johnson |
swings | stringnullable | — | Right, Left e.g. — (all-null in sample) |
GET/api/v1/pga/players/{id}Get a single player by id
Parameters
idpathbigintrequiredPrimary key (id) of the player 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/players/{pk_value}'Responses
200Single player row.application/jsonshow example ▸
404Row not found.
Response Schema(16 fields)show schema ▸
| Field | Type | References | Description |
|---|---|---|---|
idkey | bigint | — | Primary Key |
league_id | stringnullable | — | Official tour player identifier e.g. 52955 |
league_player_id | integer | — | Official PGA Tour player id e.g. 52955 |
birth_city | stringnullable | — | — e.g. Seoul |
birth_country | stringnullable | — | — e.g. United States |
birth_date | datenullable | — | — e.g. 1989-07-23 |
birth_state | stringnullable | — | — e.g. California |
college | stringnullable | — | — e.g. Oklahoma State University |
country | stringnullable | — | — e.g. USA |
first_name | string | — | — e.g. David |
full_name | string | — | — e.g. Zach Johnson |
last_name | string | — | — e.g. Kim |
pga_debut_year | integernullable | — | — e.g. 2018 |
photo_url | stringnullable | — | — e.g. — (all-null in sample) |
short_name | stringnullable | — | — e.g. C. Johnson |
swings | stringnullable | — | Right, Left e.g. — (all-null in sample) |