APIv2
A new, growing set of endpoints alongside the existing v1 API — v1 isn't going anywhere yet, although fully replaced endpoints will eventually be deprecated. Authentication works the same way: add your key as a key query parameter on every request.
My API Key: No Token! Become a Scratch Plus member for API access.
Endpoints
Tournaments
Tournaments Master List
Any tournament with v2 API support will show up in this feed. Each tournament will include the necessary tour, tournament_year, and tournament_num fields to identify it elsewhere in v2 (e.g. /basic-info below). There is also an active_endpoints list that returns the endpoints supported for each tournament.
GET https://feeds.datagolf.com/v2/tournaments?key=API_TOKEN
ParamValuesDescription
file_format json (default), csv Response format.
Basic Info see /tournaments for tour/tournament_year/tournament_num
Course, location, and format details for a single tournament.
GET https://feeds.datagolf.com/v2/tournaments/pga/2027/14/basic-info?key=API_TOKEN
ParamValuesDescription
file_format json (default), csv Response format.
Field see /tournaments for tour/tournament_year/tournament_num
The full player field for a single tournament.
GET https://feeds.datagolf.com/v2/tournaments/pga/2027/14/field?key=API_TOKEN
ParamValuesDescription
file_format json (default), csv Response format.
Field Changes see /tournaments for tour/tournament_year/tournament_num
Players added to or removed from the field for a single tournament.
GET https://feeds.datagolf.com/v2/tournaments/pga/2027/14/field-changes?key=API_TOKEN
ParamValuesDescription
file_format json (default), csv Response format.
Qualification see /tournaments for tour/tournament_year/tournament_num
Major-only feed that updates weekly until the week of the tournament. Players split into qualified, in a qualifying spot, and qualified but not playing. JSON responses also include which categories each player qualified under, with a lookup table of what each category means — CSV leaves this out.
GET https://feeds.datagolf.com/v2/tournaments/pga/2027/14/qualification?key=API_TOKEN
ParamValuesDescription
file_format json (default), csv Response format.
Rankings
Current Rankings
The full Data Golf Rankings as of the most recent update — skill estimate, DG rank, DGP rank, and OWGR rank for each player.
GET https://feeds.datagolf.com/v2/current-rankings?key=API_TOKEN
ParamValuesDescription
file_format json (default), csv Response format.
All-Time Rankings
The 250 best single-week skill estimates ever recorded by the Data Golf model, one entry per player.
GET https://feeds.datagolf.com/v2/all-time-rankings?key=API_TOKEN
ParamValuesDescription
file_format json (default), csv Response format.
Major Summary Data
Major Qualification Summary
Who's qualified (or on track to qualify) for each of the 4 majors in a given year.
GET https://feeds.datagolf.com/v2/majors/qualification-summary/2027?key=API_TOKEN
ParamValuesDescription
file_format json (default), csv Response format.
More endpoints are on the way. Questions or requests? Email us.