---
title: "Course"
method: POST
path: "/v1/get_course"
tags: ["Basic lookup"]
---

# Course

`POST /v1/get_course`

## Request

- Base URL: `https://mcp.birdieapi.com`
- URL: `https://mcp.birdieapi.com/v1/get_course`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Use for a course as it was set up for a tournament: par and yards per hole, and how each hole played (scoring average, to par, birdie and bogey rates, difficulty rank) from every round on it. For a tournament on more than one course pass course_id. Costs 2 credits.

## Request body

- object
  - `tournament_id` string, required: Tournament id from list_tournaments.
  - `course_id` string: Course id, for tournaments played on more than one course (list_tournaments lists them).
  - `league` 'golf' | 'lpga' | 'liv' | 'dpwt' | 'kornferry': League. Defaults to golf. One of: golf, lpga, liv, dpwt, kornferry.

## Response `200`

The result, wrapped in data.

- object
  - `data` object, required
    - `tournament` object, required
    - `course` object, required
    - `other_courses` object[], required
    - `rounds` number, required
    - `scoring_average` number, nullable, required
    - `holes` object[], required
    - `note` string

## Other responses

- `400`: Invalid arguments.
- `401`: Missing or invalid API key.
- `402`: Not enough credits.
- `429`: Rate limited.

---

[API](https://skmtc.dev/birdieapi/apis/birdieapi-api.md) · [All operations](https://skmtc.dev/birdieapi/apis/birdieapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/birdieapi/apis/birdieapi-api/revisions/b888eb604f57?raw)
