golfcourseapi_course
Fetch a full golf course by its ID, including all tee boxes with per-hole par, yardage, and stroke index.
Instructions
One course in full: every tee box with per-hole par, yardage and stroke index.
Returns: {course:{id, club_name, course_name, location:{…}, tees:{male:[{tee_name, course_rating, slope_rating, par_total, total_yards, number_of_holes, holes:[{par, yardage, handicap}]}], female:[…]}}} — SHAPE FROM VENDOR DOCS. NOTE tees is split by MALE/FEMALE tee sets, each a LIST of tee boxes, each with its own 18-hole array — three levels before a hole. handicap here is the hole's stroke index (1 = hardest), not a player handicap.
NOTE: this shape is from the vendor's documentation and has NOT been verified against a live response (we hold no key for this provider). Treat it as approximate — inspect the actual payload before relying on a field name.
Example: One course in full {"id": 1}
Auth: needs your own key in GOLFCOURSE_API_KEY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Course id (from golfcourseapi_search). Required — part of the URL path. |