# 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 for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/pgatour/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## 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/credits/pgatour/get-fedexcup-standings \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/pgatour/get-player-scorecard \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/pgatour/get-player-shots \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/pgatour/get-schedule \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/pgatour/get-tournament-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/pgatour/get-tournament-leaderboard \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"tournament_id":"<string>"}'
```

## Next steps

- [All wrapped API providers](https://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.