OpenGolfAPI

An open almanac of American golf, est. 2026

Every US golf course, in one open dataset.

Scorecards, tee data, locations, and recent edits for over courses. Free, ODbL-licensed, community-maintained — for golfers, developers, and anyone who'd rather not pay for a closed API.

Browse Courses → Read the API docs
Courses
Holes
Tee records
50
States
i.

For golfers and developers alike

Built for two audiences. The same dataset.

If you're a golfer

Find courses, scan scorecards, plan a round. Every course has a page with rates, hours, and the actual yardages.

  • Browse by state or search by name
  • Compare tee sets and slope ratings
  • Edit anything that's outdated — community maintained
  • Claim your course if you're an owner or pro
Open the course browser →

If you're a developer

One REST endpoint, one MCP server, the full dataset on GitHub. No API key for the free tier.

  • 1,000 calls/day, no signup
  • MCP server for Claude, ChatGPT, Gemini, Cursor
  • Bulk GeoJSON + CSV exports updated weekly
  • ODbL — same license as OpenStreetMap
See the API →
ii.

Try it now — no signup

The whole thing is just curl away.

# Search curl "https://api.opengolfapi.org/v1/courses/search?q=pebble" # All courses in a state curl "https://api.opengolfapi.org/v1/courses/state/CA" # Single course with scorecard curl "https://api.opengolfapi.org/v1/courses/{id}" # MCP server for AI agents npx @opengolfapi/mcp-server
iii.

What's in the dataset

The almanac, fielded.

FieldCoverageRecords
Course name, location, typeAll US courses
Hole-by-hole scorecards~90% of courses
Tee ratings, slopes, yardages~80% of courses
Architect, year builtWhere known + community-edited
Phone, website, address~85% verified
Climate normals (NOAA, 30-year)All US courses
Nearby hotels + restaurantsOSM-sourced, ~150K POIs
MCP tools for AI agentsSearch, by-state, detail3 tools
iv.

Where the data comes from

Open all the way down.

Sources

  • OpenStreetMap — course locations and boundaries
  • NOAA — 30-year climate normals (public domain)
  • Nominatim — addresses and postal codes
  • Course websites — phone, email, hours (public facts)
  • Community contributions — anything you submit

License

ODbL-1.0  Same license as OpenStreetMap. You can use it commercially, just attribute us.

If you'd like to support the work — keeping the API running, adding new countries, paying weather + geocoding bills — donations help.

Support the project →