---
title: "List player_holes for PGA"
method: GET
path: "/api/v1/pga/player_holes"
tags: ["PGA"]
---

# List player_holes for PGA

`GET /api/v1/pga/player_holes`

## Request

- Base URL: `https://api.stat-api.com`
- URL: `https://api.stat-api.com/api/v1/pga/player_holes`
- Auth: HTTP bearer

## Query parameters

- `player_id` integer
- `tournament_id` integer
- `limit` integer
- `from_id` integer
- `format` 'json' | 'csv'

## Response `200`

player_holes rows matching the declared filter set.

- PGAPlayerHolesListResponse
  - `has_more` boolean, required: True when a full page came back, so more rows can exist.
  - `limit` integer, required: Page size used for this response.
  - `next_from_id` integer, nullable, required: Pass this as `from_id` on the next request to page forward. `null` on the terminal page, and on a first page requested without `from_id` (that page uses the default sort): to walk every row, start with `from_id=0`.
  - `player_holes` PGAPlayerHoles[], required
    - `birdie` boolean, nullable
    - `bogey` boolean, nullable
    - `double_bogey` boolean, nullable
    - `double_eagle` boolean, nullable
    - `eagle` boolean, nullable
    - `hole_in_one` boolean, nullable
    - `hole_number` integer, required
    - `id` integer, required: Primary Key
    - `is_par` boolean, nullable
    - `par` integer, nullable
    - `player_id` integer, required
    - `player_round_id` integer, required
    - `round_number` integer, required
    - `score` integer, nullable
    - `to_par` integer, nullable: Score relative to par for this hole
    - `tournament_id` integer, required
    - `worse_than_double_bogey` boolean, nullable

## Other responses

- `400`: No declared filter set was satisfied by the request — see `accepted` in the body for the valid combinations.

---

[API](https://skmtc.dev/stat-api/apis/sports-db-public-api.md) · [All operations](https://skmtc.dev/stat-api/apis/sports-db-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/stat-api/apis/sports-db-public-api/revisions/601ff9eaca3f?raw)
