This page lists changes to the API itself. New courses, countries and ratings in each data release are in the release notes.
Changes to the API contract, newest first. Data updates (courses added, changed or removed) are listed per release by GET /v1/releases and GET /v1/changes, not here.
Version 1 is stable. New endpoints, query parameters, response headers and fields in existing objects may be added within v1; clients must ignore fields they do not recognise. Removing or renaming a field, changing its type, unit or meaning, or changing an existing error code requires v2, which will be announced in advance.
2026-12-05 (position search)
Added
outside_radiuson/v1/clubs: when a search withq,latandlngfinds no club withinradius_km, the response names the nearest clubs that the sameqfinds outside the radius (at most 3, nearest first), in the same form asdataand withdistance_kmfrom the point. An empty array meansqfinds no club with a position in the countries searched. Other responses are unchanged.
2026-12-04 (country codes)
Changed
countryon/v1/coursesand/v1/clubsalso takesgb, which gives all of the United Kingdom: England, Northern Ireland, Scotland and Wales (gb-eng,gb-nir,gb-sctandgb-wls). The other codes are unchanged. An unknown code still answers400 bad_request, and the message now says thatGET /v1/countrieslists the codes.
2026-12-04 (search)
Changed
- Search (
qon/v1/coursesand/v1/clubs) finds more when the text as typed is found nowhere: apostrophes, punctuation and spaces are then ignored (Royal St George'sfindsThe Royal St Georges Golf Club,stockbrookfindsStock Brook), and after that every word is looked for on its own, in any order (Turnberry Ailsa,Sandhurst, Victoria). These steps match from the start of a word and also look in the names of a club's courses, and for courses in the club's other names, city and province. A search that finds something as typed still finds the same courses and clubs; when it also names a place, the ones near the place are added (below). - Words common to golf names are optional when every other word is found:
Wentworth GC,Carnoustie Golf LinksandFalsterbo GKfind the club whether or not its name hasGolf Club,LinksorGolfklubb.GC,CC,G&CCandGKare read asGolf Club,Country Club,Golf & Country ClubandGolfklubb,StasSaint,MtasMount, and&asand. A search made only of such words does not match everything. - Spelling: when neither the names nor a place find anything, names are searched with up to one wrong letter in words of 5 letters or more, and two in words of 8 or more (
wokefiledfinds Wakefield). - A club is also found under some names it is known by that are not among its
other_names, such as an earlier name or the name of the resort it belongs to. These names are used only for searching and are not in the answer.
Added
sorton/v1/coursesand/v1/clubs:id(default, as before) orrelevance. Withrelevanceandq, the best matches come first: a name that is the search, then a name that starts with it, then the search at the start of a word, then the other matches; ties by id. The steps above are then taken together (a club named exactly as typed no longer hides one that matches word by word). The cursor of a relevance page is not a course or club id; pass it back unchanged with the sameqandsort.sort=relevancecannot be combined withlatandlng(400); a list withoutqis sorted by id either way.- Places in
q: when the search is a town, city, county or region, by its English or local name (Gothenburg,Göteborg,Munich,West Sussex), the answer also has the clubs and courses within about 25 km of the place, more for a large place and at most 60 km. A state, province or county also has every club whose address names it, wherever in it the club is (Texasfinds the clubs withTXin the address,County Dublinthose withCo. Dublin). Each place counts on its own (Melbournefinds the clubs near Melbourne, Australia and near Melbourne, Florida); withcountry, only the places in that country. When neither the names nor the search as a place find anything, the place is tried without golf's common words (Gothenburg golf clubfinds the clubs near Gothenburg). Withsort=relevancethe name matches come first and then the place's clubs, nearest first; in the default order the name matches come first, by id, and then the place's other clubs, by id, so a search that found something before lists the same clubs first in the same order. A club that only a place found hasdistance_km, the distance from the place. matchin course and club lists whenqis given:textwhen the search was found as typed (or without punctuation and spaces),wordswhen it was found word by word,placewhen no name matched and the list is the clubs or courses near the place,spellingwhen only a spelling correction found something, and null when nothing was found.unrated_countin course and club lists whenqis given: how many more matches the same search has withinclude_unrated=true, which also lists courses and clubs without a course rating. null when the request already has the option, for a position search, and when the release has no such option.
Removed
cityandregionon/v1/clubs. They matched only the exact spelling of a club's address (region=TXfound the Texas clubs,region=Texasnone), and many addresses have no town or region. A request that still sends either now answers400 bad_requestinstead of a list that is not filtered. Useq, which finds clubs by name, town or region (above), orlatandlngfor the clubs around a point. This is an exception to the v1 rules above, made because the filters were not in use.
2026-12-03 (green positions)
Added
GET /v1/courses/{id}/greens: the position of the middle of the green for each hole of a course (WGS 84), one entry per hole in playing order:{"hole", "lat", "lon"}. A hole without a position haslatandlonnull; a course without any hasgreensnull. A missing position is never estimated. The id is answered asGET /v1/courses/{id}(301for a replaced id,410for a withdrawn one).GET /v1/export/{country}/greens: the green positions of every course of a country that has any, as one gzip file (the same objects as the request above, sorted by course id). A country without green positions answers404.greens_counton a course and in course lists: the number of holes with a green position.greens_courses_counton a country in/v1/countries: the number of courses with at least one. Both are present from the first release that carries green positions.- What counts (hosted service): green positions count on their own, on top of the course. The request for one course counts 1 when the course has at least one position and 0 when it has none; the country file counts the number of courses in it. A plan without country files answers
403plan_limitfor the file. The course, the course lists andGET /v1/export/{country}do not carry the positions and count as before. - A release where green positions were added, moved or removed has a new
data_version, and/v1/changeslists the courses concerned as changed.updated_aton a course does not move for green positions alone.
2026-11-21 (free trial)
Changed
- A new account gets a free trial instead of a demo key (hosted service). A trial key sees every country in the current release and has 10 course requests in all; lists, search and the other free calls are as for every key. It has no country files.
planinGET /v1/usageistrial,period_quotais the trial's course requests andquota_used_this_periodwhat has been used;period_endis null, since the trial does not start again. - When the trial is used up,
GET /v1/courses/{id}andGET /v1/courses/batchanswer403plan_limitwithoutRetry-After.429 quota_exceededis still the answer for a used-up quota on a paid plan.
2026-11-20 (tee order)
Changed
- The tees of a course are listed longest first and shortest last. Tees of the same length keep their order.
2026-11-18 (front and back nines)
Changed
- The front and back nine of an 18-hole layout are no longer listed as courses of their own. The 18-hole layout carries each half's nine-hole rating on its tees (
ratings[]withholes9 andhalffrontorback), as before. An id that was such a half answers301to the 18-hole layout (movedin a batch,alias_ofin/v1/changes). Nine-hole courses of their own, and the nines of a club with three or more nines, are listed as before. part_ofis null on almost every course.loops[].course_idno longer points at a half.
2026-11-18 (tee selection, names and search)
Added
kindon every tee:regular,winter,temporaryoryouth. Winter and temporary tees stay in the default view; the field lets a tee picker sort or hide them without reading the tee's name.
Changed
- French tees for youth age classes (
U8,U10,U12,Ben,Min, each for boysGand girlsF) are no longer in the default view of a course. They are served withinclude_unrated=true, where they keep their ratings. - A club's 18-hole rounds that are put together from two of its nine-hole courses are served as courses of their own (
A + BandB + A) when the club has no 18-hole course. - Course names: our own additions are in English outside Sweden (
(played twice),(9 holes),18-hole course), and two courses of one club that shared a name now carry the number of holes. - Search (
q) folds letters such asø,æ,œandł:KobenhavnfindsKøbenhavn. - On courses of nine holes,
index_menandindex_womenare the ranks 1-9. A card that prints the nine's index out of an 18-hole series (1, 3, 5 …or7 … 18) is served in the same order as1 … 9. - A tee that was served twice, once for men and once as
<name> (Women), is one tee with both ratings and the women's own lengths indistances_m_women. - Spanish course names no longer repeat the club's name, and Spanish tee names no longer repeat the course's.
- Some courses in the United States that were listed as clubs of their own are served under their main club. The course ids are unchanged; the old club ids answer
301. coloron a tee is no longerblackwhen the tee is named after another colour (Red,Blue/White); it is the colour of the name. Where the colour is not known it isnull.- A few clubs are served under the country they lie in (Mexico, Germany, France, Belgium, Indonesia). Their course and club ids have the new country prefix; the old ids answer
301. - Tees for juniors in every country (
Junior,Kids,Jugendand the like) havekindyouthand are served withinclude_unrated=trueonly, as the French youth tees are. index_menandindex_womenon a tee, andindex_womenon a course, arenullwhen the card only numbers the holes in order (1, 2, 3 …); the course's index applies.par_womenis given on a tee that has its own par when the women's rating on the tee is for that par.- Club, course and tee names: abbreviations, capitals and reversed forms are written out (
The Club at Cordillera,Club de golf Rockland,Arcadia Bluffs GC), and company forms such asLtdandIncare left out. - A tee that was listed once for men and once for women under names such as
Blue (M)andBlue (W)is one tee,Blue, with both ratings. - A nine-hole rating on a course of nine holes played twice is given once for
frontand once forback. - More women's ratings on Japanese courses.
- Some facilities that were listed as one club per course are one club with several courses. The course ids are unchanged; the old club ids answer
301. - Default values (
course_ratingequal to par withslope_rating113) and tees without any hole lengths are no longer served.
2026-11-18 (quota per paid period)
Added
period_quota,period_start,period_endandquota_used_this_periodinGET /v1/usage: the quota of the paid plan, the day (UTC) the current paid period started, when it ends, and the course requests counted in it. All four arenullwithout a plan quota (a demo key keepsdaily_quota).- The yearly plan
world(planinGET /v1/usage). Its quota applies to the year;429 quota_exceededthen saysyearly quota of course requests used up.
Changed
- A paid plan's quota now applies to the period you paid for and starts again when the plan renews, instead of on the first day of each calendar month.
Retry-Afteron429 quota_exceededgives the seconds to the end of the period. A larger plan starts a new period at once with a full quota. monthly_quotaandX-Quota-Monthlyare given on the monthly plans only, and are counted over the paid month.quota_used_this_monthstill counts the calendar month.- The plan
prois no longer offered.
2026-11-15 (women's lengths on a tee)
Added
distances_m_womenandtotal_m_womenon tees: the length of each hole for women when women play other lengths than men on a tee of the same name (for example another teeing area on some holes), and their sum. Both arenullwhen the tee has no lengths of its own for women;distances_mthen applies to women too, as before. Withunits=yardsthe same values are indistances_yd_womenandtotal_yd_women. Until now such a tee showed the men's lengths only. Ratings, par and stroke index are unchanged.
2026-11-12 (plans and country prefixes)
Changed
- Clubs are listed under the country they lie in. Northern Ireland has its own prefix
gb-nir(countryGB,regionGB-NIR) instead ofie; Jersey (je), Guernsey (gg) and the Isle of Man (im) are no longer undergb-eng; New Caledonia (nc), French Polynesia (pf), Chad (td), Djibouti (dj) and Burkina Faso (bf) are no longer underfr, Curaçao (cw) not undernland Greenland (gl) not underdk. The course and club ids of these clubs start with the new prefix; the old ids answer301with the new id, are listed asmovedin a batch request and as removed withalias_ofinGET /v1/changes. Nothing else about these courses changed.
coloron tees is always English in lower case, as documented: some tees in Denmark and Sweden were served asgul,RødorHvid. A tee with two colours isgreen/white; a word that is not a known colour isnull.- While the data is being updated, requests answer
503with the codeunavailableand aRetry-Afterheader (seconds) instead of500. Try again after that many seconds.
Added
planinGET /v1/usage: the key's plan,demofor a demo key that sees only the demo clubs, or null for a customer set up by hand.- The OpenAPI file at
https://api.golfdata.io/openapi.json, without a key. Retry-Afteron every429 quota_exceeded: 60 seconds for the per-minute limit on free calls, otherwise the seconds until the quota starts again (the next UTC day, or the first day of the next month for a monthly quota).- Plans with a quota of course requests per calendar month (UTC), listed on the pricing page. What counts is unchanged: a course answering
200counts 1, a country file the number of courses in it, everything else is free. The quota starts again on the first day of each month; unused requests are not carried over. - Header
X-Quota-Monthlyand the fieldmonthly_quotainGET /v1/usage(null without a monthly quota).X-Quota-Remainingis what is left of the quota that runs out first. A used-up monthly quota answers429with the codequota_exceeded. Keys without a plan are unchanged.
2026-11-05 (one-time cleanup of v1)
Removed
- Before v1 opened to the public, the contract was cleaned once, with the one customer told in advance. These fields are no longer served:
approvalandlayout_typeon courses;approved_atandlayout_typein course lists;distances_source,length_note,printed_total_m,printed_front9_mandprinted_back9_mon tees;effective_dateon ratings;phoneon clubs;notice,selectionandclub_metain/v1/meta; andcourse_idsin/v1/countries. Useupdated_atfor when a course last changed,units=yardsfor yards, and/v1/courses?country=for the courses of a country. From here on the v1 rules above apply without exception.
2026-11-05 (accounts)
Added
- Accounts on golfdata.io with a demo key (hosted service). A demo key works on every endpoint but sees only a demo release with a few example clubs: other ids answer
404and other countries400. A key whose plan does not include country files gets403with the new error codeplan_limitfromGET /v1/export/{country}. Keys you already have are unchanged.
Changed
- Only course data counts toward a daily quota:
GET /v1/courses/{id}answering200counts 1, andGET /v1/export/{country}counts the number of courses in the file. Lists, search, clubs, changes, releases, usage, reports and304answers are free, with a per-minute limit on keys with a plan (429 quota_exceeded). No key has a quota today, so nothing changes for existing customers.
Added
GET /v1/courses/batch?ids=…: several courses in one request (at most 100 ids), with the ids that moved, were withdrawn or are unknown listed apart. Each course returned counts toward the quota.- Header
X-Request-Cost(what the request counted) and the fieldsquota_used_todayandquota_used_this_monthinGET /v1/usage.requests_todayandrequests_this_monthstill count every request.
2026-11-04 (address)
Changed
- The production address is
https://api.golfdata.io. The previous address keeps answering during the transition, with the same keys and the same data; switch to the new one at your convenience.
2026-10-31 (include_unrated)
Added
include_unrated=trueon everyGET: the same release with the tees and courses that the default leaves out because they lack a course rating and slope. The default (include_unrated=false) is unchanged. Both views have the samedata_version, but each has its own history in/v1/releasesand/v1/changes; ask those with the same value as when you fetched. The history of theinclude_unrated=trueview starts with the first release that has it. The country file is named...-include-unrated.json.gz, and a301keepsinclude_unrated=true(afterunits=yards). Any other value thantrueorfalseanswers400.ratedon every tee: true when the tee has a course rating and slope.rating_statuson every course (summary and detail):rated(every tee),partial(some tees) orunrated(no tee). Withoutinclude_unrated, a course in a country ofselection.rated_tees_onlyis alwaysrated.selection.include_unratedinGET /v1/meta: false or true for the view.
2026-10-31
Changed
- A course is served with only the tees that have a course rating and slope. A tee without a rating is no longer listed, and a course where some tees lack a rating is now included with its rated tees (before, such a course was left out). A course without any rated tee is still not served. Nine-hole ratings from 9-hole courses stay on their tee. A course served with fewer tees than its scorecard prints is otherwise unchanged (par, stroke index, lengths).
Added
selection.rated_tees_onlyandselection.trimmed_courses_countinGET /v1/meta: the countries where the rule above applies and the number of courses served without some of their tees.selection.full_rating_onlyis kept and is empty.
2026-10-30
Added
loopson courses: the loops a layout is played on, each with a stableloop_id(<club id>-loop-<n>). An 18-hole course has two entries in playing order,{"holes": [1, 9], "loop_id", "course_id"}and{"holes": [10, 18], ...}(on a nine played twice, the first and second loop); a 9-hole course has one entry for holes 1-9. Two halves, or a half and a 9-hole course, at the same club are the same loop when par is equal hole by hole and at least one tee has exactly the same length on all nine holes; stroke index is not compared. Combinations that share a loop therefore share itsloop_id, also where the loop is not a course of its own.course_idis the 9-hole course that is the loop when there is exactly one (on the 9-hole course itself, its own id), otherwisenull.loop_idisnullfor a half that belongs to no loop, andloopsisnullwhen no half does. Aloop_idstays the same in later releases while any layout that plays the loop remains.used_inon 9-hole courses: the 18-hole courses whoseloopsgive this course ascourse_id, as{"course_id", "holes"}, ornull.- Both fields are links only. Par, stroke index, lengths and ratings stay on each course as before, and a change in the links alone does not list a course as changed in
/v1/changes.
2026-10-29
Added
- Par and stroke index per tee:
tees[].par_men,par_women,index_menandindex_women, hole by hole, where the tee has its own values (for example a women's tee where a hole is par 5).nullmeans the tee has no values of its own; use the course-level values. - 9-hole ratings per half:
tees[].ratings[].halfisfront(holes 1-9) orback(holes 10-18) for a 9-hole rating of one half of an 18-hole course, andnullfor a rating of the whole course. On a nine played twice (layout_type: "published_two_loops")frontandbackare the first and second loop. Given only where that tee has a nine-hole rating; never computed. other_nameson clubs: other names the same club is known by, as{"value"}objects. The club search (qon/v1/clubs) finds them.updated_aton courses (summary and detail): when the course last changed through an approval. It is the newest approval among the course itself, the 9-hole courses whose ratings it carries, and, for a 9-hole course withpart_of, the 18-hole course it belongs to. A later update of a course moves it;approved_atcovers only the course's own record.GET /v1/export/{country}: a whole country as one gzip file. Once decompressed it is one JSON document with every course (asGET /v1/courses/{id}, in meters) and every club (asGET /v1/clubs/{id}), sorted by id, plusdata_version. The same release always gives the same bytes, so theETagchanges only withdata_version. Counts as one request.POST /v1/reports(hosted service): report an error in a course or club withcourse_idorclub_id, amessageand an optionalfield. Answered202with a report id (the request'sX-Request-Id). At most 100 reports per customer and UTC day. A report changes nothing by itself; a fix shows up in a later release.part_ofon courses:{"id", "half"}when a 9-hole course is one half, or one loop, of an 18-hole course in the API; otherwisenull.GET /v1/releases: the releases the service knows, newest first, with the number of courses and clubs added, changed and removed in each.GET /v1/changes?since={data_version}: what changed since a data version you hold: added and changed IDs, and removed IDs withalias_ofwhen an ID was replaced. An unknownsinceanswers400: fetch everything again.410 gonefor course and club IDs that were withdrawn. IDs that never existed still answer404.301for club IDs that were merged into another club, withLocation: /v1/clubs/{new-id}and{"alias_of": "{new-id}"}, as for courses.ETagon every200response. Send it back inIf-None-Matchto get304 Not Modifiedwithout a body.200responses carryCache-Control: private, no-cache.X-Request-Idon every response. Quote it when you contact us.GET /v1/usage: your own calls today and this month (UTC) and your daily quota, if any.
Removed (pilot period, no customer used these fields)
- The extra fields on club metadata:
source,licence,match,ref,retrieved_atandconfirmed_byonlocation,address,websiteandphone, andclub_meta.sourcesin/v1/meta. Only the values are delivered (locationkeepslat,lonandconfidence). sourceson courses (with theSourceobject). A course is not listed as changed in/v1/changesbecause of this.
Changed
- Phone numbers are no longer delivered:
phoneon clubs is alwaysnull. The field stays, so nothing breaks. approval.evidence_noteis shorter for some ratings (the note is still in Swedish).updated_sincefilters onupdated_atinstead ofapproved_at(for clubs: the newestupdated_atamong their courses).updated_atis never earlier thanapproved_at, so no course drops out of a result.- Error messages are in English. Error codes are unchanged; match on
code, not onmessage.
Note
- Send a
User-Agentheader of your own. Requests with a generic client signature (for example Python's defaultPython-urllib) can be stopped by the hosting provider's browser check with403before they reach the API.
Fixed
- With
units=yards, a tee without lengths now hasdistances_yd: null(asdistances_m) instead of an empty list.
Described
openapi.json: the whole contract as OpenAPI 3.1, with a description of every field.
2026-10-28
- Pilot of API v1 for Spain:
GET /v1/meta,/v1/countries,/v1/courses(search, country,updated_since, paging),/v1/courses/{id}(units=yards,301for replaced IDs),/v1/clubs(search, city, region, near a point,updated_since) and/v1/clubs/{id}. - API key per customer (
Authorization: Bearer ...), countries per customer, and a daily call counter inX-Requests-Today.