UK Golf Course API
REST API with 16 endpoints serving data on 2,833 UK golf clubs. Hosted on RapidAPI — authenticate with your X-RapidAPI-Key header.
https://uk-golf-api.vercel.appAuthentication
All requests must include your RapidAPI key in the X-RapidAPI-Key header. Get your key at RapidAPI.
curl "https://uk-golf-api.vercel.app/clubs/nearby?lat=51.5&lng=-0.1&radius_km=10" \ -H "X-RapidAPI-Key: YOUR_API_KEY" \ -H "X-RapidAPI-Host: uk-golf-course-data-api.p.rapidapi.com"
Rate Limits
| Plan | Monthly | Per Minute |
|---|---|---|
| Free | 200 | 5 |
| Basic | 5,000 | 20 |
| Pro | 25,000 | 60 |
| Business | 100,000 | 120 |
Endpoints
Utility
/Health check
/statsDatabase statistics — club counts, data coverage
/countriesList UK countries (England, Scotland, Wales, NI)
Regions
/regionsList all regions (optional ?country= filter)
/regions/{id}Region detail
/regions/{id}/clubsClubs in a region (paginated)
Clubs
/clubsList/search clubs — filter by country, county, postcode, type, rating, facilities, green fees
/clubs/nearbyGeographic search — clubs within a radius of lat/lng
/clubs/{id}Full club detail
/clubs/{id}/green-feesGreen fee pricing (all types)
/clubs/{id}/facilitiesFacility availability (19 boolean flags)
/clubs/{id}/reviewsGoogle reviews (paginated)
/clubs/{id}/coursesCourses with tee sets
Courses
/courses/{id}Course detail with tee sets and holes
/courses/{id}/scorecardHole-by-hole scorecard
Tutorials
Find Golf Courses Near Me
Use /clubs/nearby with a UK postcode to build a location-aware club finder.
Compare Green Fees
Filter clubs by country and fee type to show price comparison tables.
Build a Club Profile Page
Chain club → courses → scorecard to display a rich course profile.
Build a Links Course Finder
Combine course_type and facility filters to surface seaside links courses.
WHS Handicap Integration
Combine UK Golf API scorecard data with the WHS API for handicap features.
Error Codes
| Code | Meaning |
|---|---|
| 200 | Success |
| 400 | Bad Request — invalid parameters |
| 401 | Unauthorized — missing or invalid API key |
| 403 | Forbidden — subscription required for this endpoint |
| 404 | Not Found — club/course ID does not exist |
| 422 | Unprocessable — parameter validation error |
| 429 | Too Many Requests — rate limit or quota exceeded |
| 500 | Internal Server Error — contact support |