Quickstart

Make your first API call in under 2 minutes.

1

Get your API key

Sign up for a free account to get your API key instantly.

2

Make your first request

Replace gf_your_api_key with your actual API key:

bash
curl "https://golfly.dev/api/v1/courses?limit=3" \
  -H "x-api-key: gf_your_api_key"
3

Get your response

You'll receive JSON data with golf course information:

json
{
  "data": [
    {
      "course_id": 12345,
      "name": "Pebble Beach Golf Links",
      "city": "Pebble Beach",
      "state": "California",
      "latitude": 36.5725,
      "longitude": -121.9486,
      "rating": "4.9",
      "holes": 18,
      "par": "72"
    },
    ...
  ],
  "meta": {
    "total": 17458,
    "limit": 3,
    "offset": 0,
    "has_more": true
  }
}