OpenGolfAPI

The open database of every golf course in America. Community-maintained. ODbL licensed.

15,667
Courses
14,000+
Scorecards
70,000+
Tee Records
50
States
Browse Courses API Docs Donate

About

OpenGolfAPI is a community-maintained database of US golf courses. Every course has a page with maps, scorecards, and contact info. Course owners can claim their page and update data directly. The entire dataset is open under ODbL — anyone can use it, build on it, or contribute to it.

Course Pages

Every course has a dedicated page with an interactive OpenStreetMap, scorecard, tee data, climate info, and nearby amenities.

REST API

Search, browse by state, get course details with tees, holes, climate, and nearby POIs. No API key needed.

MCP Server

AI agents can query golf course data directly. Works with Claude, ChatGPT, and any MCP-compatible client.

Bulk Download

Full dataset as GeoJSON, CSV, and NDJSON. Updated with each release. Use it however you want.

Community Edited

See wrong data? Fix it. Every course page has an edit button. Course owners can claim their page for direct updates.

ODbL Licensed

Same license as OpenStreetMap. Use it for anything — commercial, research, personal. Just attribute OpenGolfAPI.

API

No signup. No API key. Just curl.

# Search courses
curl "https://api.opengolfapi.org/v1/courses/search?q=pebble+beach"

# Browse by state
curl "https://api.opengolfapi.org/v1/courses/state/CA"

# Course detail with scorecard
curl "https://api.opengolfapi.org/v1/courses/{id}"

# Tee data (ratings, slopes, yardages)
curl "https://api.opengolfapi.org/v1/courses/{id}/tees"

# Climate
curl "https://api.opengolfapi.org/v1/courses/{id}/climate"

# Nearby hotels, restaurants, courses
curl "https://api.opengolfapi.org/v1/courses/{id}/nearby"

# MCP server for AI agents
npm install -g @opengolfapi/mcp-server

Coverage

FieldCoverageCount
Courses with coordinates100%15,667
Scorecards (par per hole)90%14,022
Address98%15,428
Website84%13,140
Phone71%11,127
Tee records (rating, slope, yardage)70,660
Climate data (NOAA 30-year)17,279
Nearby POIs (hotels, restaurants)181,579

Missing data? Edit the course page or open an issue.

Contribute

OpenGolfAPI is community-maintained. There are a few ways to help:

Fix Data

Every course page has an edit button. Spotted a wrong number or address? Fix it directly.

Claim Your Course

Own or manage a course? Claim the page and keep your data current.

Report Issues

Found a bug or a duplicate? Open a GitHub issue.

Donate

Keep the servers running and the data growing. Open Collective.

Sources

All data from public, open-licensed sources.

OpenStreetMap

Course locations and boundaries (ODbL)

NOAA

30-year climate normals (public domain)

Nominatim

Addresses and geocoding (ODbL)

Course Websites

Scorecards, contact info (public facts)

ODbL-1.0   Same license as OpenStreetMap.