For developers

API keys.

Reads work without a key — 1,000 requests/day per IP, plus gross scoring is keyless. No signup to try it.

To build — contribute data, higher limits — get a free key. Sign in with OpenGolf first: no OpenGolf ID, no key. We email you a code; your key is bound to your verified ID. One key per ID.

No OpenGolf ID, no key — we email you a code to verify it's you. Your key is bound to your OpenGolf ID. Only breaking-change emails after. No marketing.

Using your key

Pass it as a bearer token:

curl -H "Authorization: Bearer ogapi_xxxxx..." \
  "https://api.opengolfapi.org/v1/courses?state=CA"