STAT-API

PGA courses API

coursesgolf.courses
Golf courses that host professional events — Augusta National, Pebble Beach, St Andrews, TPC Sawgrass, and every other venue on the PGA, LIV, DP World, and Korn Ferry calendars.
GET/api/v1/pga/courses
Parameters
limitqueryintegeroptionaldefault 50
Page size. Defaults to 50; max 5000.
from_idquerybigintoptional
Return 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/courses?limit=3'
Responses
200courses rows matching the declared filter set, wrapped in { courses, 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/json
Response Schema(15 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
league_course_id
integernullable—Official PGA Tour course id
e.g. 656
address
stringnullable——
e.g. — (all-null in sample)
city
stringnullable——
e.g. La Quinta
country
stringnullable——
Values:USACANMEXSCOJPNPURDOMFRABERBAHENG
elevation
floatnullable—Elevation in feet above sea level
e.g. — (all-null in sample)
image_url
stringnullable—URL to aerial/overview image of course
e.g. https://res.cloudinary.com/pgatour-prod/ar_0.667,c_crop/d_p…
latitude
floatnullable——
e.g. — (all-null in sample)
longitude
floatnullable——
e.g. — (all-null in sample)
name
string——
e.g. Plantation Course at Kapalua
par
integer——
e.g. 72
state
stringnullable——
e.g. California
timezone
stringnullable—IANA timezone (e.g., America/New_York)
e.g. — (all-null in sample)
yards
integer——
e.g. 7569
zip
stringnullable——
e.g. — (all-null in sample)
GET/api/v1/pga/courses/{id}
Parameters
idpathbigintrequired
Primary key (id) of the course 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/courses/{pk_value}'
Responses
200Single course row.application/jsonshow example ▸
404Row not found.
Response Schema(15 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
league_course_id
integernullable—Official PGA Tour course id
e.g. 656
address
stringnullable——
e.g. — (all-null in sample)
city
stringnullable——
e.g. La Quinta
country
stringnullable——
Values:USACANMEXSCOJPNPURDOMFRABERBAHENG
elevation
floatnullable—Elevation in feet above sea level
e.g. — (all-null in sample)
image_url
stringnullable—URL to aerial/overview image of course
e.g. https://res.cloudinary.com/pgatour-prod/ar_0.667,c_crop/d_p…
latitude
floatnullable——
e.g. — (all-null in sample)
longitude
floatnullable——
e.g. — (all-null in sample)
name
string——
e.g. Plantation Course at Kapalua
par
integer——
e.g. 72
state
stringnullable——
e.g. California
timezone
stringnullable—IANA timezone (e.g., America/New_York)
e.g. — (all-null in sample)
yards
integer——
e.g. 7569
zip
stringnullable——
e.g. — (all-null in sample)