Golf course API for the United States
Country code us · one of 130+ countries in the API
Par, stroke index and tee lengths for every hole of 13,000+ golf courses in the United States, with course rating and slope on 13,000+ of them. Use it in your own code through the API, or download it as CSV with no code. Checked before each release and updated at least every quarter.
United States is one part of it: the same API has 32,000+ golf courses in 130+ countries, in the same format and with the same key. See the other countries.
What you get for a course in the United States
- Every hole. Par and stroke index, for men and for women where they differ.
- Every tee. The length of each hole from each tee, in metres and, with
units=yards, in yards. - Ratings for handicaps. Course rating and slope per tee, for men and for women, for eighteen holes and for each nine where the course has them.
- The club. Address, position on the map, website and other names the club goes by.
- GPS for the greens. The position of the middle of each green, for a growing number of courses, from a request of its own. In the United States: so far.
- Nothing invented. A value we cannot stand behind is left empty, so a missing rating shows as missing and never as a placeholder.
A course in the United States, straight from the API
This is Pebble Beach Golf Links at Pebble Beach Golf Links as the API answers today: every hole, every tee and the ratings. Pick a tee to see its lengths and its rating.
Pebble Beach Golf Links
| Hole | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Out |
|---|---|---|---|---|---|---|---|---|---|---|
| Gold | 349 | 491 | 381 | 308 | 145 | 490 | 98 | 388 | 463 | 3113 |
| Par | 4 | 5 | 4 | 4 | 3 | 5 | 3 | 4 | 4 | 36 |
| Par (W) | 4 | 5 | 4 | 4 | 3 | 5 | 3 | 4 | 4 | 36 |
| Index | 6 | 10 | 12 | 16 | 14 | 2 | 18 | 4 | 8 |
| Hole | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | In | Tot |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Gold | 428 | 349 | 187 | 390 | 545 | 375 | 378 | 176 | 531 | 3359 | 6472 |
| Par | 4 | 4 | 3 | 4 | 5 | 4 | 4 | 3 | 5 | 36 | 72 |
| Par (W) | 4 | 4 | 3 | 4 | 5 | 4 | 4 | 3 | 5 | 36 | 72 |
| Index | 3 | 9 | 17 | 7 | 1 | 13 | 11 | 15 | 5 |
A real API response, drawn as a scorecard. Red marks a women's par that differs from the men's.
| A | B | C | D | E | F | G | H | I | J | K | L | M | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Tee | Category | Course rating | Slope | Par | Length | Hole 1 | Hole 2 | Hole 3 | Hole 4 | Hole 5 | Hole 6 | … |
| 2 | Blue | Men | 74.9 | 144 | 72 | 6802 | 378 | 509 | 397 | 333 | 189 | 498 | |
| 3 | Gold | Men | 73.4 | 137 | 72 | 6472 | 349 | 491 | 381 | 308 | 145 | 490 | |
| 4 | Gold | Women | 78.2 | 146 | 72 | 6472 | 349 | 491 | 381 | 308 | 145 | 490 | |
| 5 | Gold/White Combo | Men | 72.4 | 136 | 72 | 6242 | 349 | 491 | 340 | 308 | 134 | 465 | |
| 6 | Gold/White Combo | Women | 77.6 | 143 | 72 | 6242 | 349 | 491 | 340 | 308 | 134 | 465 | |
| 7 | White | Men | 71.7 | 135 | 72 | 6083 | 337 | 458 | 340 | 295 | 134 | 465 | |
| 8 | White | Women | 76.2 | 139 | 72 | 6083 | 337 | 458 | 340 | 295 | 134 | 465 | |
| 9 | White/Green Combo | Men | 70.2 | 132 | 72 | 5834 | 337 | 458 | 340 | 295 | 125 | 457 | |
| 10 | White/Green Combo | Women | 75.2 | 137 | 72 | 5834 | 337 | 458 | 340 | 295 | 125 | 457 | |
| 11 | Green | Men | 68.7 | 126 | 72 | 5547 | 328 | 428 | 291 | 251 | 125 | 457 | |
| 12 | Green | Women | 72.9 | 134 | 72 | 5547 | 328 | 428 | 291 | 251 | 125 | 457 | |
| 13 | Green/Red Combo | Men | 68.2 | 125 | 72 | 5416 | 328 | 428 | 291 | 251 | 111 | 420 | |
| 14 | Green/Red Combo | Women | 72.7 | 133 | 72 | 5416 | 328 | 428 | 291 | 251 | 111 | 420 | |
| 15 | Red | Women | 71.7 | 132 | 72 | 5125 | 310 | 358 | 285 | 197 | 111 | 420 |
The same course as the CSV file you download for Excel or Google Sheets: one row per tee, every hole in yards.
The same course as JSON, shortened to one tee:
{
"id": "us-pebble-beach-gl-ca-pebble-beach-gl-18",
"course_name": "Pebble Beach Golf Links",
"club": {
"address": {
"city": "Pebble Beach",
"housenumber": null,
"postcode": "92921",
"region": "CA",
"street": "Carmel Way"
},
"id": "us-pebble-beach-gl-ca",
"location": {
"confidence": "single_source",
"lat": 36.560713,
"lon": -121.929595
},
"name": "Pebble Beach Golf Links",
"other_names": [
{
"value": "Pebble Beach Golf Linkstm"
}
],
"website": {
"value": "http://pebblebeach.com/golf/pebble-beach-golf-links"
}
},
"country": "US",
"region": null,
"holes_count": 18,
"physical_holes_count": null,
"par_total": 72,
"par_men": [4, 5, 4, 4, 3, 5, 3, 4, 4, 4, 4, 3, 4, 5, 4, 4, 3, 5],
"par_women": null,
"index_men": [6, 10, 12, 16, 14, 2, 18, 4, 8, 3, 9, 17, 7, 1, 13, 11, 15, 5],
"index_women": [10, 6, 12, 14, 16, 4, 18, 2, 8, 7, 9, 13, 11, 1, 15, 5, 17, 3],
"tees": [
{
"color": "gold",
"distances_m": [319, 449, 348, 282, 133, 448, 90, 355, 423, 391, 319, 171, 357, 498, 343, 346, 161, 486],
"distances_m_women": null,
"distances_yd": [349, 491, 381, 308, 145, 490, 98, 388, 463, 428, 349, 187, 390, 545, 375, 378, 176, 531],
"distances_yd_women": null,
"index_men": null,
"index_women": null,
"kind": "regular",
"name": "Gold",
"par_men": null,
"par_women": null,
"rated": true,
"ratings": [
{
"category": "men",
"course_rating": 73.4,
"half": null,
"holes": 18,
"par_total": 72,
"slope_rating": 137
},
{
"category": "women",
"course_rating": 78.2,
"half": null,
"holes": 18,
"par_total": 72,
"slope_rating": 146
}
],
"source_unit": "yards",
"total_m": 5919,
"total_m_women": null,
"total_yd": 6472,
"total_yd_women": null
}
],
"rating_status": "rated",
"loops": null,
"part_of": null,
"used_in": null,
"updated_at": "2026-11-27T14:12:41.261610+00:00",
"data_version": "46247fe5cc2f6f624206acf1b51a7b303998b745db46a8967b005f69006c233a"
}Download the United States as CSV
No code needed. Sign in, choose the United States on your account page and see every course in it, then download one club's scorecard or the whole country as one CSV file that opens in Excel, Numbers or Google Sheets, with one row per tee. It counts the same as the API: one course request per course.
Clubs and courses in the United States
A few of the clubs you can fetch: Black Diamond Ranch in Lecanto, Pinehurst Country Club in Aberdeen, Hot Springs Village in Hot Springs Village, PGA West in La Quinta, Alamo City Golf Trail in San Antonio and Town of Colonie Golf Course in Schenectady.
There are clubs in Naples, Scottsdale, Springfield, Fort Myers, Columbus, Las Vegas, Indianapolis and Louisville, among many other places. Search by town, by region or within a radius of a point, and the answer lists each club with its courses.
Fetch the courses in the United States
The country code is us. Listing and searching are free on every plan, so you can find your courses before you spend a single course request.
curl "https://api.golfdata.io/v1/courses?country=us&limit=100" \
-H "Authorization: Bearer $GOLFDATA_KEY"Find the clubs in one place:
curl "https://api.golfdata.io/v1/clubs?country=us&q=Naples" \
-H "Authorization: Bearer $GOLFDATA_KEY"Each course you fetch counts one course request and answers with its holes, tees and ratings:
curl "https://api.golfdata.io/v1/courses/{id}?units=yards" \
-H "Authorization: Bearer $GOLFDATA_KEY"Or take every course and club in the United States as one file, which counts one course request per course in it:
curl "https://api.golfdata.io/v1/export/us" \
-H "Authorization: Bearer $GOLFDATA_KEY"The quickstart has the same calls in JavaScript and Python, and the API reference lists every field.
Which plan fits the United States
Each bar shows how much of the United States a plan's quota covers in one period. The World plan is the smallest one that takes the whole country, as one country file or course by course.
Starter
$25 / month
Part of the United States in one month
50 course requests a month
Search and lists are free
Choose StarterBasic
$79 / month
Part of the United States in one month
500 course requests a month
Search and lists are free
Choose BasicPlus
$159 / month
Part of the United States in one month
2,000 course requests a month
Search and lists are free
Choose PlusBusiness
$399 / month
Part of the United States in one month
10,000 course requests a month
Search and lists are free
Choose Business
Fits all of the United States
World
Every country, from day one
All of the United States in one year
If you only need some clubs, a smaller plan does it, or buy the course requests once without a plan; they never expire. You pay for the courses you fetch, and lists and search never count. A new account starts with a free trial of 10 course requests on any course. Prices are in US dollars, excluding VAT, and checkout shows them in your own currency: see the plans and prices.
Questions
Can I calculate a course handicap from this data?
Yes. A tee comes with the course rating, the slope and the par that the rating belongs to, for men and for women, which is what turns a handicap index into strokes for the round. A tee without a rating is left out unless you ask for it with include_unrated=true.
Does the data have GPS positions for the greens?
For a growing number of courses, yes: the position of the middle of each green, from GET /v1/courses/{id}/greens or as a column in the CSV download. In the United States, have them so far. greens_count on a course and in the free course lists tells how many holes have a position, so you can check before you ask. It counts one course request on top of the course.
How do I keep my copy of the United States up to date?
Ids are stable, and a new release comes at least every quarter. The change feed tells you which courses were added, changed or removed since the release you hold, so you fetch only those again. A course that moved answers 301 with its new id, and one that closed answers 410.
What if a course is missing or a value is wrong?
Report it through the API or write to hello@golfdata.io. Every report is checked, and corrections go out with the next release.
Other countries
- Japan
- England
- Canada
- Australia
- Germany
- France
- Spain
- Scotland
- South Africa
- New Zealand
- Denmark
- Netherlands
- Ireland
- Italy
- Czech Republic
- Austria
- Norway
- Finland
- Portugal
- Wales
- Switzerland
- Argentina
- Brazil
- Philippines
- Northern Ireland
- Belgium
- South Korea
- Vietnam
- Mexico
- Iceland
- Colombia
- Thailand
- Slovenia
- Turkey
- Kenya
- Poland
- Malaysia
- United Arab Emirates
- India
- Singapore
- Zimbabwe
- Hungary
- Latvia
- Morocco
- Zambia
- Cyprus
- Chile
- Indonesia
- China
- Hong Kong
- Slovakia
- Egypt
- Dominican Republic
These are the largest. The API has courses in 130+ countries: See all countries.