For developers & AI agents
32,600+ courses with scorecards, tees & geometry, 16 scoring formats, and Sign in with OpenGolf — all keyless to read, over REST and MCP. Mint a key when you're ready to write shots, moments & identity. No contract, no card.
Just a golfer? Get your OpenGolf ID → — no key needed to play.
Reads are keyless. Paste this into a terminal:
curl "https://api.opengolfapi.org/v1/courses/search?q=pebble" # → Pebble Beach Golf Links · par 72 · Pebble Beach, CA · lat/lng · website … (JSON)
Or give your AI agent all 56 tools in one line:
npx @opengolfapi/mcp-server
npx @opengolfapi/mcp-server or the REST API.