{
  "info": {
    "_postman_id": "17036fc4-8a2a-5cf8-85ef-08cd0744aa1f",
    "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 free trial with 10 course requests in all; lists and search are free), 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/courses/{id}/greens` gives the position of the middle of each green (WGS 84), where the course has them; `greens_count` on a course tells how many holes have one.\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`), in all on the free trial. `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. Green positions count on their own: `GET /v1/courses/{id}/greens` counts 1 when the course has at least one position (0 when it has none), and `GET /v1/export/{country}/greens` counts the number of courses in that 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 sees every country in the current release; a key on the free trial has a small number of course requests in all. 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.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.golfdata.io",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "",
      "type": "string",
      "description": "Your key from https://golfdata.io/account/"
    },
    {
      "key": "dataVersion",
      "value": "",
      "type": "string",
      "description": "A data_version from GET /v1/meta or GET /v1/releases, for GET /v1/changes."
    },
    {
      "key": "etag",
      "value": "",
      "type": "string",
      "description": "The ETag of an earlier answer, for If-None-Match."
    }
  ],
  "item": [
    {
      "id": "f4431f4a-9f0b-5b70-b4e4-c33ca7bbff4f",
      "name": "Courses",
      "description": "Course layouts with par, stroke index, tees and ratings.",
      "item": [
        {
          "id": "3e8edd80-ed54-5b1c-b954-602865328f00",
          "name": "List courses",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "If-None-Match",
                "value": "{{etag}}",
                "description": "An ETag from an earlier response. When it still matches, the answer is 304 without a body.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/courses?country=gb-sct",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "courses"
              ],
              "query": [
                {
                  "key": "country",
                  "value": "gb-sct",
                  "description": "Only items of one country prefix, as listed in `courses_per_country` of /v1/meta (lower case, for example `es` or `gb-eng`). `gb` gives all of the United Kingdom: England, Northern Ireland, Scotland and Wales (`gb-eng`, `gb-nir`, `gb-sct` and `gb-wls`). Case-insensitive. An unknown code answers 400; GET /v1/countries lists the codes."
                },
                {
                  "key": "q",
                  "value": "st",
                  "description": "Free-text search, ignoring case and accents. For courses it looks in club name, course name and id; for clubs in club name, other names, city, province and id. It tries these steps in order and answers with the first that finds something: (1) the text as typed; (2) the text without apostrophes, punctuation and spaces (`Royal St George's` finds `The Royal St Georges Golf Club`, `stockbrook` finds `Stock Brook`); (3) every word on its own, in any order (`Turnberry Ailsa`, `Sandhurst, Victoria`); (4) every distinctive word on its own, with golf's common words optional on both sides (golf, club, course, country, links, resort, the, GC, CC, G&CC, GK, golfklubb and the like) and Saint = St, Sainte = Ste, Mount = Mt, Fort = Ft (`Shotts GC` finds `Shotts Golf Club`, `Saint Denis Golf Course` finds `St. Denis Golf Course`); a search of only common words finds nothing in this step; (5) spelling: a distinctive word of at least 5 letters may differ by one letter, of at least 8 letters by two, where two neighbouring letters swapped count as one (`wokefiled` finds `Wokefield` and `Wakefield`). Steps 2 to 5 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. Places: when the search is a town, city, county or region (the city or province of one of the clubs, or a populated place or region by its English or local name, such as `Gothenburg`, `Munich` or `West Sussex`), the answer also has the clubs 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 (`Texas` finds the clubs with `TX` in the address, `County Dublin` those with `Co. Dublin`). Each place counts on its own (`Melbourne` finds the clubs near Melbourne, Australia and near Melbourne, Florida), and with `country` only the places in that country. Without `sort`, the name matches come first (by `id`) and then the place's other clubs (by `id`); with `sort=relevance` the place's clubs come after the name matches, nearest first. When neither the names nor the search as a place find anything, the place is tried without golf's common words (`Gothenburg golf club` finds the clubs near Gothenburg). Spelling (step 5) is tried only when neither the names nor a place found anything. `match` in the response says which kind of step answered. A search that finds something as typed still finds the same matches; when it also names a place, the clubs near the place are added.",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "id",
                  "description": "`id` (default): the list is sorted by id, as before. `relevance`: the best match comes first, for a search box. With `q`, the matches of steps 1 to 4 are taken together and ordered by how a name meets the search (a name that is the search, then a name that starts with it, then the search from the start of a word in a name, then every distinctive word in the names, then a match in city or province), then fewer letters changed for spelling, fewer words of the search missing, a shorter name without golf's common words, and id. Clubs and courses that only a place found come after the name matches, nearest to the place first. Abbreviations count as written out (`GC` = Golf Club, `CC` = Country Club) and `the` is left out when names are compared. Without `q` the order is by id. Pages follow `next_cursor` as usual. Not with `lat` and `lng`, which sort by distance. Any other value answers 400.",
                  "disabled": true
                },
                {
                  "key": "updated_since",
                  "value": "2026-01-01",
                  "description": "Only items updated (`updated_at`) at this instant or later. An ISO 8601 date or date-time (`2026-10-26`, `2026-10-26T08:00:00Z`, `2026-10-26T10:00+02:00`); without a time zone UTC is assumed. For clubs the newest `updated_at` among the club's courses counts; changed club metadata does not. Withdrawn items are not listed: use /v1/changes for those.",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "description": "Page size, 1 to 500. Default 50.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Continue after the previous page: the `next_cursor` of that page. Opaque. Keep the other parameters unchanged between pages.",
                  "disabled": true
                },
                {
                  "key": "include_unrated",
                  "value": "false",
                  "description": "`false` (default): a course is served with only its tees that have a course rating and slope, and a course without such a tee is left out. `true`: the same release with those tees and courses included, marked by `rated` on each tee and `rating_status` on each course. Both views have the same `data_version` but each has its own history: use the same value of `include_unrated` with `/v1/releases` and `/v1/changes` as when you fetched the data. Any other value answers 400.",
                  "disabled": true
                }
              ]
            },
            "description": "Course summaries sorted by `id`, paged with `limit` and `cursor`. `total_count` counts all matches, not only the page."
          },
          "response": []
        },
        {
          "id": "2563a8ea-03d2-59cd-8172-5ea7829884cf",
          "name": "Get several courses",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "If-None-Match",
                "value": "{{etag}}",
                "description": "An ETag from an earlier response. When it still matches, the answer is 304 without a body.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/courses/batch?ids=gb-sct-new-golf-club-st-andrews-st-andrews-old-course-18",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "courses",
                "batch"
              ],
              "query": [
                {
                  "key": "ids",
                  "value": "gb-sct-new-golf-club-st-andrews-st-andrews-old-course-18",
                  "description": "Course ids separated by commas, 1 to 100. Spaces around an id and empty entries are ignored."
                },
                {
                  "key": "units",
                  "value": "yards",
                  "description": "`meter` (default) changes nothing. `yards` adds `distances_yd` and `total_yd` (and `distances_yd_women` and `total_yd_women`) to every tee; the meter values stay.",
                  "disabled": true
                },
                {
                  "key": "include_unrated",
                  "value": "false",
                  "description": "`false` (default): a course is served with only its tees that have a course rating and slope, and a course without such a tee is left out. `true`: the same release with those tees and courses included, marked by `rated` on each tee and `rating_status` on each course. Both views have the same `data_version` but each has its own history: use the same value of `include_unrated` with `/v1/releases` and `/v1/changes` as when you fetched the data. Any other value answers 400.",
                  "disabled": true
                }
              ]
            },
            "description": "Several courses in one request (at most 100 ids), in the order asked (an id asked twice is answered once). Each id is answered as `GET /v1/courses/{id}` would answer it: found courses in `courses`, replaced ids in `moved` (not followed; ask for the new id), withdrawn ids in `gone`, and the rest in `not_found`. Use it to fetch the courses that `/v1/changes` lists. In the hosted service every course in `courses` counts toward the quota, the same as fetching it alone."
          },
          "response": []
        },
        {
          "id": "988fef98-0b39-5bfe-8c33-bbc2a97906dc",
          "name": "Get one course",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "If-None-Match",
                "value": "{{etag}}",
                "description": "An ETag from an earlier response. When it still matches, the answer is 304 without a body.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/courses/:id?units=yards",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "courses",
                ":id"
              ],
              "query": [
                {
                  "key": "units",
                  "value": "yards",
                  "description": "`meter` (default) changes nothing. `yards` adds `distances_yd` and `total_yd` (and `distances_yd_women` and `total_yd_women`) to every tee; the meter values stay."
                },
                {
                  "key": "include_unrated",
                  "value": "false",
                  "description": "`false` (default): a course is served with only its tees that have a course rating and slope, and a course without such a tee is left out. `true`: the same release with those tees and courses included, marked by `rated` on each tee and `rating_status` on each course. Both views have the same `data_version` but each has its own history: use the same value of `include_unrated` with `/v1/releases` and `/v1/changes` as when you fetched the data. Any other value answers 400.",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "gb-sct-new-golf-club-st-andrews-st-andrews-old-course-18",
                  "description": "Course id, as in `id` of a course summary."
                }
              ]
            },
            "description": "The whole course. A replaced id answers 301 with the new id in `Location` and in the body; a withdrawn id answers 410."
          },
          "response": [
            {
              "name": "St Andrews Links Trust, St Andrews Old Course",
              "originalRequest": {
                "method": "GET",
                "header": [
                  {
                    "key": "If-None-Match",
                    "value": "{{etag}}",
                    "description": "An ETag from an earlier response. When it still matches, the answer is 304 without a body.",
                    "disabled": true
                  }
                ],
                "url": {
                  "raw": "{{baseUrl}}/v1/courses/:id?units=yards",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "courses",
                    ":id"
                  ],
                  "query": [
                    {
                      "key": "units",
                      "value": "yards",
                      "description": "`meter` (default) changes nothing. `yards` adds `distances_yd` and `total_yd` (and `distances_yd_women` and `total_yd_women`) to every tee; the meter values stay."
                    },
                    {
                      "key": "include_unrated",
                      "value": "false",
                      "description": "`false` (default): a course is served with only its tees that have a course rating and slope, and a course without such a tee is left out. `true`: the same release with those tees and courses included, marked by `rated` on each tee and `rating_status` on each course. Both views have the same `data_version` but each has its own history: use the same value of `include_unrated` with `/v1/releases` and `/v1/changes` as when you fetched the data. Any other value answers 400.",
                      "disabled": true
                    }
                  ],
                  "variable": [
                    {
                      "key": "id",
                      "value": "gb-sct-new-golf-club-st-andrews-st-andrews-old-course-18",
                      "description": "Course id, as in `id` of a course summary."
                    }
                  ]
                },
                "description": "The whole course. A replaced id answers 301 with the new id in `Location` and in the body; a withdrawn id answers 410."
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                }
              ],
              "body": "{\n  \"club\": {\n    \"address\": {\n      \"city\": \"St Andrews\",\n      \"housenumber\": null,\n      \"postcode\": null,\n      \"region\": null,\n      \"street\": \"Pilmour House\"\n    },\n    \"id\": \"gb-sct-st-andrews-links-trust\",\n    \"location\": {\n      \"confidence\": \"single_source\",\n      \"lat\": 56.344795,\n      \"lon\": -2.8\n    },\n    \"name\": \"St Andrews Links Trust\",\n    \"other_names\": [],\n    \"website\": {\n      \"value\": \"http://www.standrews.com\"\n    }\n  },\n  \"country\": \"GB\",\n  \"course_name\": \"St Andrews Old Course\",\n  \"data_version\": \"fd86018b3452f0ec00b965111c0bb5c602208306ed22ae6018530345102a1a18\",\n  \"holes_count\": 18,\n  \"id\": \"gb-sct-new-golf-club-st-andrews-st-andrews-old-course-18\",\n  \"index_men\": [\n    10,\n    6,\n    16,\n    8,\n    2,\n    12,\n    4,\n    14,\n    18,\n    15,\n    7,\n    3,\n    11,\n    1,\n    9,\n    13,\n    5,\n    17\n  ],\n  \"index_women\": [\n    12,\n    14,\n    8,\n    6,\n    2,\n    10,\n    4,\n    18,\n    16,\n    13,\n    17,\n    3,\n    11,\n    1,\n    5,\n    9,\n    7,\n    15\n  ],\n  \"loops\": null,\n  \"par_men\": [\n    4,\n    4,\n    4,\n    4,\n    5,\n    4,\n    4,\n    3,\n    4,\n    4,\n    3,\n    4,\n    4,\n    5,\n    4,\n    4,\n    4,\n    4\n  ],\n  \"par_total\": 72,\n  \"par_women\": [\n    4,\n    5,\n    4,\n    5,\n    5,\n    4,\n    4,\n    3,\n    4,\n    4,\n    3,\n    4,\n    5,\n    5,\n    4,\n    4,\n    5,\n    4\n  ],\n  \"part_of\": null,\n  \"physical_holes_count\": 18,\n  \"rating_status\": \"rated\",\n  \"region\": \"GB-SCT\",\n  \"tees\": [\n    {\n      \"color\": \"black\",\n      \"distances_m\": [\n        335,\n        365,\n        334,\n        377,\n        474,\n        336,\n        328,\n        155,\n        319,\n        311,\n        158,\n        282,\n        378,\n        481,\n        379,\n        344,\n        410,\n        323\n      ],\n      \"distances_m_women\": null,\n      \"distances_yd\": [\n        367,\n        400,\n        366,\n        413,\n        519,\n        368,\n        359,\n        170,\n        349,\n        341,\n        173,\n        309,\n        414,\n        527,\n        415,\n        377,\n        449,\n        354\n      ],\n      \"distances_yd_women\": null,\n      \"index_men\": null,\n      \"index_women\": null,\n      \"kind\": \"regular\",\n      \"name\": \"Black\",\n      \"par_men\": null,\n      \"par_women\": null,\n      \"rated\": true,\n      \"ratings\": [\n        {\n          \"category\": \"men\",\n          \"course_rating\": 73.4,\n          \"half\": null,\n          \"holes\": 18,\n          \"par_total\": 72,\n          \"slope_rating\": 136\n        },\n        {\n          \"category\": \"women\",\n          \"course_rating\": 79.8,\n          \"half\": null,\n          \"holes\": 18,\n          \"par_total\": 76,\n          \"slope_rating\": 148\n        }\n      ],\n      \"source_unit\": \"yards\",\n      \"total_m\": 6089,\n      \"total_m_women\": null,\n      \"total_yd\": 6670,\n      \"total_yd_women\": null\n    },\n    {\n      \"color\": \"black\",\n      \"distances_m\": [\n        321,\n        352,\n        320,\n        363,\n        460,\n        322,\n        314,\n        141,\n        305,\n        298,\n        144,\n        268,\n        364,\n        468,\n        365,\n        331,\n        396,\n        309\n      ],\n      \"distances_m_women\": null,\n      \"distances_yd\": [\n        352,\n        385,\n        351,\n        398,\n        504,\n        353,\n        344,\n        155,\n        334,\n        326,\n        158,\n        294,\n        399,\n        512,\n        400,\n        362,\n        434,\n        339\n      ],\n      \"distances_yd_women\": null,\n      \"index_men\": null,\n      \"index_women\": null,\n      \"kind\": \"winter\",\n      \"name\": \"Winter Black\",\n      \"par_men\": null,\n      \"par_women\": null,\n      \"rated\": true,\n      \"ratings\": [\n        {\n          \"category\": \"men\",\n          \"course_rating\": 72.2,\n          \"half\": null,\n          \"holes\": 18,\n          \"par_total\": 72,\n          \"slope_rating\": 133\n        },\n        {\n          \"category\": \"women\",\n          \"course_rating\": 78.3,\n          \"half\": null,\n          \"holes\": 18,\n          \"par_total\": 76,\n          \"slope_rating\": 145\n        }\n      ],\n      \"source_unit\": \"yards\",\n      \"total_m\": 5841,\n      \"total_m_women\": null,\n      \"total_yd\": 6400,\n      \"total_yd_women\": null\n    },\n    {\n      \"color\": \"blue\",\n      \"distances_m\": [\n        324,\n        352,\n        314,\n        367,\n        465,\n        327,\n        317,\n        143,\n        265,\n        283,\n        149,\n        273,\n        357,\n        470,\n        357,\n        316,\n        390,\n        334\n      ],\n      \"distances_m_women\": null,\n      \"distances_yd\": [\n        355,\n        385,\n        344,\n        402,\n        509,\n        358,\n        347,\n        157,\n        290,\n        310,\n        164,\n        299,\n        391,\n        514,\n        391,\n        346,\n        427,\n        366\n      ],\n      \"distances_yd_women\": null,\n      \"index_men\": null,\n      \"index_women\": null,\n      \"kind\": \"regular\",\n      \"name\": \"Blue\",\n      \"par_men\": null,\n      \"par_women\": null,\n      \"rated\": true,\n      \"ratings\": [\n        {\n          \"category\": \"men\",\n          \"course_rating\": 71.8,\n          \"half\": null,\n          \"holes\": 18,\n          \"par_total\": 72,\n          \"slope_rating\": 133\n        },\n        {\n          \"category\": \"women\",\n          \"course_rating\": 78.2,\n          \"half\": null,\n          \"holes\": 18,\n          \"par_total\": 76,\n          \"slope_rating\": 143\n        }\n      ],\n      \"source_unit\": \"yards\",\n      \"total_m\": 5803,\n      \"total_m_women\": null,\n      \"total_yd\": 6355,\n      \"total_yd_women\": null\n    },\n    {\n      \"color\": \"blue\",\n      \"distances_m\": [\n        313,\n        341,\n        303,\n        356,\n        454,\n        316,\n        306,\n        132,\n        247,\n        272,\n        138,\n        266,\n        346,\n        459,\n        346,\n        305,\n        379,\n        323\n      ],\n      \"distances_m_women\": null,\n      \"distances_yd\": [\n        343,\n        373,\n        332,\n        390,\n        497,\n        346,\n        335,\n        145,\n        271,\n        298,\n        152,\n        291,\n        379,\n        502,\n        379,\n        334,\n        415,\n        354\n      ],\n      \"distances_yd_women\": null,\n      \"index_men\": null,\n      \"index_women\": null,\n      \"kind\": \"winter\",\n      \"name\": \"Winter Blue\",\n      \"par_men\": null,\n      \"par_women\": null,\n      \"rated\": true,\n      \"ratings\": [\n        {\n          \"category\": \"men\",\n          \"course_rating\": 70.9,\n          \"half\": null,\n          \"holes\": 18,\n          \"par_total\": 72,\n          \"slope_rating\": 130\n        },\n        {\n          \"category\": \"women\",\n          \"course_rating\": 77.1,\n          \"half\": null,\n          \"holes\": 18,\n          \"par_total\": 76,\n          \"slope_rating\": 141\n        }\n      ],\n      \"source_unit\": \"yards\",\n      \"total_m\": 5602,\n      \"total_m_women\": null,\n      \"total_yd\": 6136,\n      \"total_yd_women\": null\n    },\n    {\n      \"color\": \"green\",\n      \"distances_m\": [\n        316,\n        336,\n        294,\n        363,\n        422,\n        296,\n        310,\n        130,\n        240,\n        270,\n        140,\n        273,\n        346,\n        449,\n        337,\n        299,\n        381,\n        316\n      ],\n      \"distances_m_women\": null,\n      \"distances_yd\": [\n        346,\n        368,\n        322,\n        397,\n        462,\n        324,\n        340,\n        143,\n        263,\n        296,\n        154,\n        299,\n        379,\n        492,\n        369,\n        327,\n        417,\n        346\n      ],\n      \"distances_yd_women\": null,\n      \"index_men\": null,\n      \"index_women\": null,\n      \"kind\": \"regular\",\n      \"name\": \"Green\",\n      \"par_men\": null,\n      \"par_women\": null,\n      \"rated\": true,\n      \"ratings\": [\n        {\n          \"category\": \"men\",\n          \"course_rating\": 70.2,\n          \"half\": null,\n          \"holes\": 18,\n          \"par_total\": 72,\n          \"slope_rating\": 127\n        },\n        {\n          \"category\": \"women\",\n          \"course_rating\": 76.5,\n          \"half\": null,\n          \"holes\": 18,\n          \"par_total\": 76,\n          \"slope_rating\": 140\n        }\n      ],\n      \"source_unit\": \"yards\",\n      \"total_m\": 5518,\n      \"total_m_women\": null,\n      \"total_yd\": 6044,\n      \"total_yd_women\": null\n    },\n    {\n      \"color\": \"green\",\n      \"distances_m\": [\n        310,\n        331,\n        288,\n        357,\n        416,\n        290,\n        305,\n        125,\n        228,\n        265,\n        135,\n        267,\n        341,\n        444,\n        331,\n        293,\n        375,\n        310\n      ],\n      \"distances_m_women\": null,\n      \"distances_yd\": [\n        340,\n        362,\n        316,\n        391,\n        456,\n        318,\n        334,\n        137,\n        250,\n        290,\n        148,\n        293,\n        373,\n        486,\n        363,\n        321,\n        411,\n        340\n      ],\n      \"distances_yd_women\": null,\n      \"index_men\": null,\n      \"index_women\": null,\n      \"kind\": \"winter\",\n      \"name\": \"Green Winter\",\n      \"par_men\": null,\n      \"par_women\": null,\n      \"rated\": true,\n      \"ratings\": [\n        {\n          \"category\": \"men\",\n          \"course_rating\": 69.7,\n          \"half\": null,\n          \"holes\": 18,\n          \"par_total\": 72,\n          \"slope_rating\": 126\n        },\n        {\n          \"category\": \"women\",\n          \"course_rating\": 75.9,\n          \"half\": null,\n          \"holes\": 18,\n          \"par_total\": 76,\n          \"slope_rating\": 139\n        }\n      ],\n      \"source_unit\": \"yards\",\n      \"total_m\": 5411,\n      \"total_m_women\": null,\n      \"total_yd\": 5929,\n      \"total_yd_women\": null\n    }\n  ],\n  \"updated_at\": \"2026-11-22T15:28:29.577856+00:00\",\n  \"used_in\": null\n}"
            }
          ]
        },
        {
          "id": "5efe0994-5e1e-5d6e-8a19-5035b4fcb924",
          "name": "Get the green positions of a course",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "If-None-Match",
                "value": "{{etag}}",
                "description": "An ETag from an earlier response. When it still matches, the answer is 304 without a body.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/courses/:id/greens",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "courses",
                ":id",
                "greens"
              ],
              "query": [
                {
                  "key": "include_unrated",
                  "value": "false",
                  "description": "`false` (default): a course is served with only its tees that have a course rating and slope, and a course without such a tee is left out. `true`: the same release with those tees and courses included, marked by `rated` on each tee and `rating_status` on each course. Both views have the same `data_version` but each has its own history: use the same value of `include_unrated` with `/v1/releases` and `/v1/changes` as when you fetched the data. Any other value answers 400.",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "gb-sct-new-golf-club-st-andrews-st-andrews-old-course-18",
                  "description": "Course id, as in `id` of a course summary."
                }
              ]
            },
            "description": "The position of the middle of the green for each hole of the course, in playing order (WGS 84). A hole without a position has `lat` and `lon` null, and a course without any has `greens` null; `greens_count` on the course tells in advance. The id is answered as `GET /v1/courses/{id}`: a replaced id answers 301 with the new id in `Location` and in the body, a withdrawn id answers 410. In the hosted service the request counts 1 toward the quota when the course has at least one position, on top of the course itself, and 0 when it has none."
          },
          "response": []
        }
      ]
    },
    {
      "id": "02c0c353-0eb2-5d69-b4c5-f4412e7d1270",
      "name": "Clubs",
      "description": "Clubs with their courses and metadata.",
      "item": [
        {
          "id": "ac5ed3e7-a401-532a-84b0-a17fb64c7e33",
          "name": "List or search clubs",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "If-None-Match",
                "value": "{{etag}}",
                "description": "An ETag from an earlier response. When it still matches, the answer is 304 without a body.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/clubs?q=st",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "clubs"
              ],
              "query": [
                {
                  "key": "country",
                  "value": "gb-sct",
                  "description": "Only items of one country prefix, as listed in `courses_per_country` of /v1/meta (lower case, for example `es` or `gb-eng`). `gb` gives all of the United Kingdom: England, Northern Ireland, Scotland and Wales (`gb-eng`, `gb-nir`, `gb-sct` and `gb-wls`). Case-insensitive. An unknown code answers 400; GET /v1/countries lists the codes.",
                  "disabled": true
                },
                {
                  "key": "q",
                  "value": "st",
                  "description": "Free-text search, ignoring case and accents. For courses it looks in club name, course name and id; for clubs in club name, other names, city, province and id. It tries these steps in order and answers with the first that finds something: (1) the text as typed; (2) the text without apostrophes, punctuation and spaces (`Royal St George's` finds `The Royal St Georges Golf Club`, `stockbrook` finds `Stock Brook`); (3) every word on its own, in any order (`Turnberry Ailsa`, `Sandhurst, Victoria`); (4) every distinctive word on its own, with golf's common words optional on both sides (golf, club, course, country, links, resort, the, GC, CC, G&CC, GK, golfklubb and the like) and Saint = St, Sainte = Ste, Mount = Mt, Fort = Ft (`Shotts GC` finds `Shotts Golf Club`, `Saint Denis Golf Course` finds `St. Denis Golf Course`); a search of only common words finds nothing in this step; (5) spelling: a distinctive word of at least 5 letters may differ by one letter, of at least 8 letters by two, where two neighbouring letters swapped count as one (`wokefiled` finds `Wokefield` and `Wakefield`). Steps 2 to 5 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. Places: when the search is a town, city, county or region (the city or province of one of the clubs, or a populated place or region by its English or local name, such as `Gothenburg`, `Munich` or `West Sussex`), the answer also has the clubs 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 (`Texas` finds the clubs with `TX` in the address, `County Dublin` those with `Co. Dublin`). Each place counts on its own (`Melbourne` finds the clubs near Melbourne, Australia and near Melbourne, Florida), and with `country` only the places in that country. Without `sort`, the name matches come first (by `id`) and then the place's other clubs (by `id`); with `sort=relevance` the place's clubs come after the name matches, nearest first. When neither the names nor the search as a place find anything, the place is tried without golf's common words (`Gothenburg golf club` finds the clubs near Gothenburg). Spelling (step 5) is tried only when neither the names nor a place found anything. `match` in the response says which kind of step answered. A search that finds something as typed still finds the same matches; when it also names a place, the clubs near the place are added."
                },
                {
                  "key": "sort",
                  "value": "id",
                  "description": "`id` (default): the list is sorted by id, as before. `relevance`: the best match comes first, for a search box. With `q`, the matches of steps 1 to 4 are taken together and ordered by how a name meets the search (a name that is the search, then a name that starts with it, then the search from the start of a word in a name, then every distinctive word in the names, then a match in city or province), then fewer letters changed for spelling, fewer words of the search missing, a shorter name without golf's common words, and id. Clubs and courses that only a place found come after the name matches, nearest to the place first. Abbreviations count as written out (`GC` = Golf Club, `CC` = Country Club) and `the` is left out when names are compared. Without `q` the order is by id. Pages follow `next_cursor` as usual. Not with `lat` and `lng`, which sort by distance. Any other value answers 400.",
                  "disabled": true
                },
                {
                  "key": "updated_since",
                  "value": "2026-01-01",
                  "description": "Only items updated (`updated_at`) at this instant or later. An ISO 8601 date or date-time (`2026-10-26`, `2026-10-26T08:00:00Z`, `2026-10-26T10:00+02:00`); without a time zone UTC is assumed. For clubs the newest `updated_at` among the club's courses counts; changed club metadata does not. Withdrawn items are not listed: use /v1/changes for those.",
                  "disabled": true
                },
                {
                  "key": "lat",
                  "value": "56.344795",
                  "description": "Latitude of a point, -90 to 90. Together with `lng` this turns the request into a position search: only clubs with a known position within `radius_km`, nearest first.",
                  "disabled": true
                },
                {
                  "key": "lng",
                  "value": "-2.8",
                  "description": "Longitude of a point, -180 to 180. Must be given together with `lat`.",
                  "disabled": true
                },
                {
                  "key": "radius_km",
                  "value": "50",
                  "description": "Search radius in kilometres, greater than 0 and at most 500. Default 50. Requires `lat` and `lng`. When `q` finds nothing within the radius, `outside_radius` names the nearest matches further away.",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "description": "Page size, 1 to 500. Default 50.",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "description": "Continue after the previous page: the `next_cursor` of that page. Opaque. Keep the other parameters unchanged between pages.",
                  "disabled": true
                },
                {
                  "key": "include_unrated",
                  "value": "false",
                  "description": "`false` (default): a course is served with only its tees that have a course rating and slope, and a course without such a tee is left out. `true`: the same release with those tees and courses included, marked by `rated` on each tee and `rating_status` on each course. Both views have the same `data_version` but each has its own history: use the same value of `include_unrated` with `/v1/releases` and `/v1/changes` as when you fetched the data. Any other value answers 400.",
                  "disabled": true
                }
              ]
            },
            "description": "Clubs with their courses, sorted by `id`. With `lat` and `lng` (and optionally `radius_km`) it is a position search: only clubs with a known position within the radius, sorted by distance and then `id`, with `distance_km` set. The filters `city` and `region` were removed on 2026-12-04 and answer `400`: `q` finds clubs by name, town or region."
          },
          "response": []
        },
        {
          "id": "91c46fc7-c5be-5feb-9f30-4e7cd6eb2340",
          "name": "Get one club",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "If-None-Match",
                "value": "{{etag}}",
                "description": "An ETag from an earlier response. When it still matches, the answer is 304 without a body.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/clubs/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "clubs",
                ":id"
              ],
              "query": [
                {
                  "key": "include_unrated",
                  "value": "false",
                  "description": "`false` (default): a course is served with only its tees that have a course rating and slope, and a course without such a tee is left out. `true`: the same release with those tees and courses included, marked by `rated` on each tee and `rating_status` on each course. Both views have the same `data_version` but each has its own history: use the same value of `include_unrated` with `/v1/releases` and `/v1/changes` as when you fetched the data. Any other value answers 400.",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": "gb-sct-st-andrews-links-trust",
                  "description": "Club id, as in `club_id` of a course summary."
                }
              ]
            },
            "description": "The club with its courses. A merged club's old id answers 301 with the new id in `Location` and in the body; a withdrawn id answers 410."
          },
          "response": []
        }
      ]
    },
    {
      "id": "3fa38696-86a8-51fa-885d-da942a77cd7f",
      "name": "Meta",
      "description": "Release, coverage and change information.",
      "item": [
        {
          "id": "dc352162-144b-5399-942c-db472a5ab72d",
          "name": "Describe the current data release",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "If-None-Match",
                "value": "{{etag}}",
                "description": "An ETag from an earlier response. When it still matches, the answer is 304 without a body.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/meta",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "meta"
              ],
              "query": [
                {
                  "key": "include_unrated",
                  "value": "false",
                  "description": "`false` (default): a course is served with only its tees that have a course rating and slope, and a course without such a tee is left out. `true`: the same release with those tees and courses included, marked by `rated` on each tee and `rating_status` on each course. Both views have the same `data_version` but each has its own history: use the same value of `include_unrated` with `/v1/releases` and `/v1/changes` as when you fetched the data. Any other value answers 400.",
                  "disabled": true
                }
              ]
            },
            "description": "Versions, counts per country and units of the current release. Compare `data_version` with the one you stored to learn whether anything changed."
          },
          "response": []
        },
        {
          "id": "57f9ca65-d7e9-5fab-8cb0-aed2a0291fd5",
          "name": "List coverage per country",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "If-None-Match",
                "value": "{{etag}}",
                "description": "An ETag from an earlier response. When it still matches, the answer is 304 without a body.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/countries",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "countries"
              ],
              "query": [
                {
                  "key": "include_unrated",
                  "value": "false",
                  "description": "`false` (default): a course is served with only its tees that have a course rating and slope, and a course without such a tee is left out. `true`: the same release with those tees and courses included, marked by `rated` on each tee and `rating_status` on each course. Both views have the same `data_version` but each has its own history: use the same value of `include_unrated` with `/v1/releases` and `/v1/changes` as when you fetched the data. Any other value answers 400.",
                  "disabled": true
                }
              ]
            },
            "description": "One entry per country (England, Scotland and Wales are separate), with the number of courses and clubs, the number of 9- and 18-hole courses and the ids of all courses."
          },
          "response": []
        },
        {
          "id": "bceaf92f-9957-57da-b38d-0f9231f57a38",
          "name": "List data releases",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "If-None-Match",
                "value": "{{etag}}",
                "description": "An ETag from an earlier response. When it still matches, the answer is 304 without a body.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/releases",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "releases"
              ],
              "query": [
                {
                  "key": "include_unrated",
                  "value": "false",
                  "description": "`false` (default): a course is served with only its tees that have a course rating and slope, and a course without such a tee is left out. `true`: the same release with those tees and courses included, marked by `rated` on each tee and `rating_status` on each course. Both views have the same `data_version` but each has its own history: use the same value of `include_unrated` with `/v1/releases` and `/v1/changes` as when you fetched the data. Any other value answers 400.",
                  "disabled": true
                }
              ]
            },
            "description": "The release history, newest first, with the number of added, changed and removed courses and clubs in each release."
          },
          "response": []
        },
        {
          "id": "1672476a-1757-59b4-be5b-45c2e360b24a",
          "name": "List changes since a release",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "If-None-Match",
                "value": "{{etag}}",
                "description": "An ETag from an earlier response. When it still matches, the answer is 304 without a body.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/changes?since={{dataVersion}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "changes"
              ],
              "query": [
                {
                  "key": "since",
                  "value": "{{dataVersion}}",
                  "description": "A `data_version` from /v1/meta or /v1/releases. The changes after that release are returned."
                },
                {
                  "key": "include_unrated",
                  "value": "false",
                  "description": "`false` (default): a course is served with only its tees that have a course rating and slope, and a course without such a tee is left out. `true`: the same release with those tees and courses included, marked by `rated` on each tee and `rating_status` on each course. Both views have the same `data_version` but each has its own history: use the same value of `include_unrated` with `/v1/releases` and `/v1/changes` as when you fetched the data. Any other value answers 400.",
                  "disabled": true
                }
              ]
            },
            "description": "The net change in course and club ids from the release `since` to the current one: what was added, what changed and what is gone (with the replacing id when there is one). A `since` that is unknown answers 400: fetch everything again."
          },
          "response": []
        }
      ]
    },
    {
      "id": "5b7f0fc2-ea0f-5685-8ac0-b9ff9c6c6a42",
      "name": "Account",
      "description": "The customer's own usage.",
      "item": [
        {
          "id": "2b4d2a14-7a71-58e0-b04f-8812f427c1ab",
          "name": "Show the customer's own request counts",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "If-None-Match",
                "value": "{{etag}}",
                "description": "An ETag from an earlier response. When it still matches, the answer is 304 without a body.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/usage",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "usage"
              ]
            },
            "description": "Hosted service only; the local reference server does not have this path. Counts are per customer and UTC day; this request is included in `requests_today` and `requests_this_month`, and counts nothing toward the quota."
          },
          "response": []
        }
      ]
    },
    {
      "id": "0b3fdd0c-92de-53bf-aa3a-cecbf37934e0",
      "name": "Download",
      "description": "A whole country as one file.",
      "item": [
        {
          "id": "1d3431be-636b-54cb-a6ff-3f28bb9a120e",
          "name": "Download a whole country as one file",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "If-None-Match",
                "value": "{{etag}}",
                "description": "An ETag from an earlier response. When it still matches, the answer is 304 without a body.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/export/:country",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "export",
                ":country"
              ],
              "query": [
                {
                  "key": "include_unrated",
                  "value": "false",
                  "description": "`false` (default): a course is served with only its tees that have a course rating and slope, and a course without such a tee is left out. `true`: the same release with those tees and courses included, marked by `rated` on each tee and `rating_status` on each course. Both views have the same `data_version` but each has its own history: use the same value of `include_unrated` with `/v1/releases` and `/v1/changes` as when you fetched the data. Any other value answers 400.",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "country",
                  "value": "gb-sct",
                  "description": "Country as a key of `courses_per_country` in /v1/meta, for example `es` or `gb-eng`. Case does not matter."
                }
              ]
            },
            "description": "Every course and every club of one country in the current release as one gzip-compressed JSON file (`CountryExport` once decompressed): the same objects as `GET /v1/courses/{id}` (in meters) and `GET /v1/clubs/{id}`, sorted by id. The same release always gives the same bytes, so the `ETag` changes only when `data_version` does. Use it to keep a full copy; between files, `/v1/changes` tells what changed. The file is served as `application/gzip`; it is not decompressed for you. Counts toward the quota as the number of courses in the file, the same as fetching each course. A key whose plan does not include country files answers `403 plan_limit`."
          },
          "response": []
        },
        {
          "id": "0328b25f-1ea0-5e27-b9b6-3e2aaef86b8b",
          "name": "Download the green positions of a whole country as one file",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "If-None-Match",
                "value": "{{etag}}",
                "description": "An ETag from an earlier response. When it still matches, the answer is 304 without a body.",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/export/:country/greens",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "export",
                ":country",
                "greens"
              ],
              "query": [
                {
                  "key": "include_unrated",
                  "value": "false",
                  "description": "`false` (default): a course is served with only its tees that have a course rating and slope, and a course without such a tee is left out. `true`: the same release with those tees and courses included, marked by `rated` on each tee and `rating_status` on each course. Both views have the same `data_version` but each has its own history: use the same value of `include_unrated` with `/v1/releases` and `/v1/changes` as when you fetched the data. Any other value answers 400.",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "country",
                  "value": "gb-sct",
                  "description": "Country as a key of `courses_per_country` in /v1/meta, for example `es` or `gb-eng`. Case does not matter."
                }
              ]
            },
            "description": "The green positions of every course of one country that has any, in the current release, as one gzip-compressed JSON file (`CountryGreensExport` once decompressed): the same objects as `GET /v1/courses/{id}/greens`, sorted by course id. The same release always gives the same bytes. The file is served as `application/gzip`; it is not decompressed for you. A country without green positions answers `404`; `greens_courses_count` in `/v1/countries` tells in advance. Counts toward the quota as the number of courses in the file (`greens_courses_count`), the same as fetching the green positions of each course, and on top of `GET /v1/export/{country}`. A key whose plan does not include country files answers `403 plan_limit`."
          },
          "response": []
        }
      ]
    },
    {
      "id": "a78b7042-3e88-5279-bcaf-c07da515a45b",
      "name": "Feedback",
      "description": "Error reports from customers.",
      "item": [
        {
          "id": "ace647a0-0080-5872-91a0-6f8bc5c83cf8",
          "name": "Report an error in a course or club",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/v1/reports",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "v1",
                "reports"
              ]
            },
            "description": "Hosted service only; the local reference server does not have this path. Tell us when a value looks wrong. The report is stored and answered with `202`; it changes nothing by itself. We check it like any other correction, and a fix shows up in a later release (`/v1/changes`). The course or club must be visible to your key. At most 100 reports per customer and UTC day; each report also counts as a request.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"course_id\": \"gb-sct-new-golf-club-st-andrews-st-andrews-old-course-18\",\n  \"field\": \"tees[0].ratings[0].slope_rating\",\n  \"message\": \"The slope on the club's current scorecard is 127.\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        }
      ]
    }
  ]
}
