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.
Using your key
Pass it as a bearer token:
curl -H "Authorization: Bearer ogapi_xxxxx..." \ "https://api.opengolfapi.org/v1/courses?state=CA"