# Pgatour — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Track PGA Tour tournaments with live leaderboards, player scorecards, and detailed shot-by-shot data, while monitoring player standings and the FedExCup race. Access complete tournament schedules and player statistics to stay updated on professional golf competitions.

**Category:** Sports | **Website:** [pgatour.com/](https://pgatour.com/) | **Docs:** [parse.bot/marketplace/cf113789-5b7d-41d0-8578-efb22dc9a9e0/pgatour-com-api](https://parse.bot/marketplace/cf113789-5b7d-41d0-8578-efb22dc9a9e0/pgatour-com-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-pgatour-com-api-cf113789/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_fedexcup_standings

Retrieve current FedExCup overview content including editorial information about the current season standings, past winners, and season structure. Returns structured content nodes with headline and list items.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-pgatour-com-api-cf113789/get_fedexcup_standings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_player_scorecard

Retrieve the detailed scorecard for a specific player in a tournament. Returns hole-by-hole scores for each round played, including par, score, status (BIRDIE/PAR/BOGEY), and round totals. Player IDs are available in leaderboard data.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `player_id` | string | Yes | Numeric player ID (e.g., 46046). Can be found in leaderboard player data. |
| `tournament_id` | string | Yes | Tournament ID in format R[Year][Number] (e.g., R2025014). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-pgatour-com-api-cf113789/get_player_scorecard \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"player_id":"<string>","tournament_id":"<string>"}'
```

### get_player_shots

Retrieve shot-by-shot details for a player in a specific round of a tournament. Returns hole data including par, yardage, and stroke coordinates. Shot-level stroke data availability depends on the tournament's scoring level (BASIC tournaments may have empty strokes arrays).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `player_id` | string | Yes | Numeric player ID (e.g., 46046). Can be found in leaderboard player data. |
| `round` | integer | Yes | Round number, must be 1, 2, 3, or 4. |
| `tournament_id` | string | Yes | Tournament ID in format R[Year][Number] (e.g., R2025014). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-pgatour-com-api-cf113789/get_player_shots \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"player_id":"<string>","round":"<integer>","tournament_id":"<string>"}'
```

### get_schedule

Retrieve the PGA Tour schedule for a given season year. Returns completed and upcoming tournament groupings by month, each with tournament name, ID, start date, course, purse, and status. Useful for discovering tournament IDs for other endpoints.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `year` | string | No | Season year (e.g., 2025 or 2026). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-pgatour-com-api-cf113789/get_schedule \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"year":"<string>"}'
```

### get_tournament_details

Retrieve metadata for one or more PGA Tour tournaments including location, dates, courses, weather, and status. Returns an array of tournament objects. Accepts multiple comma-separated tournament IDs in a single call.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `tournament_ids` | string | Yes | Comma-separated tournament IDs in format R[Year][Number] (e.g., R2025014 or R2025014,R2025016). Tournament IDs can be found in schedule data. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-pgatour-com-api-cf113789/get_tournament_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tournament_ids":"<string>"}'
```

### get_tournament_leaderboard

Retrieve the full leaderboard for a specific PGA Tour tournament. Returns player positions, scores, round details, winner info, courses, and tournament status. The players array is ordered by leaderboard position.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `tournament_id` | string | Yes | Tournament ID in format R[Year][Number] (e.g., R2025014). Can be found in schedule data. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-pgatour-com-api-cf113789/get_tournament_leaderboard \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tournament_id":"<string>"}'
```
