{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"1c7aa148-9c39-4355-9ed5-148d8ea68c80","name":"golfdata.io – Golf course API","description":"Golf course scorecards, ratings and club details.\n\nThe golfdata.io API serves golf course data as JSON: par and stroke index for every hole, tee lengths, course rating and slope for men and women, and club details. Get a key at https://golfdata.io/login/ (a new account gets a demo key that answers for the demo clubs, including the examples in this collection), put it in the collection variable `apiKey`, and send any request.\n\nDocs: https://golfdata.io/docs/ · API reference: https://golfdata.io/docs/reference/ · Pricing: https://golfdata.io/pricing/ · OpenAPI: https://golfdata.io/openapi.json\n\nGolf course data: par and stroke index per hole, tee lengths, course rating and slope, and club details (address, position, website, other names). Phone numbers are not delivered.\n\n**Conventions**\n\n- Lengths are whole meters per hole. Add `units=yards` to `GET /v1/courses/{id}` to get yards as well.\n- Missing values are `null`, never `0` and never invented.\n- By default only tees with a course rating and slope are served. Add `include_unrated=true` to any `GET` to also get the tees and courses without a rating, marked by `rated` and `rating_status`.\n- Ids are stable strings. A replaced id answers `301` with the new id; a withdrawn id answers `410`.\n- Lists are sorted by id and paged with an opaque `cursor`.\n- `data_version` changes whenever the approved set changes. `/v1/releases` and `/v1/changes` tell what changed.\n- Every `200` carries an `ETag`; send it back in `If-None-Match` to get `304`.\n- Every error has the form `{\"error\": {\"code\", \"message\"}}`.\n- `GET /v1/export/{country}` gives a whole country as one gzip file. `POST /v1/reports` (hosted service) reports an error in a course or club.\n- **What counts** (hosted service): only course data counts toward a quota: per paid period on the paid plans (a month, or a year on `world`), per day on a demo key. `GET /v1/courses/{id}` answering `200` counts 1; `GET /v1/courses/batch` counts the courses it returns; `GET /v1/export/{country}` counts the number of courses in the file. Lists, search, clubs, changes, releases, usage, reports and every `304` are free. Free calls have a per-minute limit on keys with a plan. `X-Request-Cost` tells what a request counted.\n\n**Versioning.** Inside v1, new fields may be added to existing objects, and new endpoints, countries and optional query parameters may appear. Clients must ignore unknown fields. Removing or renaming a field, changing a unit or the meaning of a field, changing the sort order or the paging, or changing the error model needs v2. A replaced id keeps answering `301` for at least one major version.\n\n**Access.** The hosted service needs a customer key in `Authorization: Bearer <key>`. A key on a paid plan sees every country in the current release; a demo key sees only the demo clubs. What counts toward the quota is described under **What counts** above.\n\n**Data.** The data is delivered as it is.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":true,"owner":"60292708","team":47431919,"collectionId":"1c7aa148-9c39-4355-9ed5-148d8ea68c80","publishedId":"2sBYHbsbpS","public":true,"publicUrl":"https://documenter-api.postman.tech/view/60292708/2sBYHbsbpS","privateUrl":"https://go.postman.co/documentation/60292708-1c7aa148-9c39-4355-9ed5-148d8ea68c80","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"1B6B3A"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":"Golf course API: par and stroke index for every hole, tee lengths, and course rating and slope for men and women. Get a demo key at golfdata.io."},{"name":"title","value":"Golf API by golfdata.io: course rating, slope, scorecards"}],"appearance":{"default":"light","themes":[{"name":"dark","logo":null,"colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"2F8A4C"}},{"name":"light","logo":null,"colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"1B6B3A"}}]}},"version":"8.12.14","publishDate":"2026-11-18T20:47:10.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"Golf API by golfdata.io: course rating, slope, scorecards","description":"Golf course API: par and stroke index for every hole, tee lengths, and course rating and slope for men and women. Get a demo key at golfdata.io."},"logos":{"logoLight":null,"logoDark":null}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://postman-image-service.postman.com/api/cloudinary-proxy/postman/image/upload/t_team_logo_pubdoc/v1/team/b0c9fbcb6496f3a41dead17b5dc6a9f4360cb4711cd0927233032bd6379afce2","favicon":""},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/2sBYHbsbpS"}