# Golf Leaderboard & Round Scores (PGA, DP World, LPGA) (`mrdoe/pga-golf-leaderboard-scores`) Actor

Golf tournament leaderboards for PGA Tour, DP World Tour, LPGA, Champions Tour and LIV: position, score to par, round-by-round strokes, total strokes and country for the whole field. Past and current events. No login.

- **URL**: https://apify.com/mrdoe/pga-golf-leaderboard-scores.md
- **Developed by:** [MrDoe](https://apify.com/mrdoe) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

![Golf Leaderboard & Round Scores (PGA, DP World, LPGA) - Golf leaderboards for five tours with position, score to par and round-by-round strokes, one row per player.](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/pga-golf-leaderboard-scores--hero.png)

### What does Golf Leaderboard & Round Scores (PGA, DP World, LPGA) do?

Golf Leaderboard & Round Scores returns the leaderboard of the current or a chosen golf tournament as one row per player. Choose the PGA Tour, DP World Tour, LPGA, PGA Tour Champions or LIV Golf. Each row has the tournament, status and round, the player, country, position, score to par, strokes for each round, total strokes and, optionally, every hole. Filter by country and pick a date to read past events.

### Why use Golf Leaderboard & Round Scores (PGA, DP World, LPGA)?

- Five tours in one Actor and one schema.
- Round-by-round strokes and score to par as numbers, ready for models.
- Whole field, not just the top ten.
- Optional hole-by-hole scores.
- Works logged out; no key needed.

### What makes this different

Golf sites show leaderboards as pages, not data. This Actor returns the full field for five tours as flat rows with numeric score to par and per-round strokes, so a leaderboard becomes a spreadsheet in one run.

### How it works

![Golf Leaderboard & Round Scores (PGA, DP World, LPGA) workflow: your input, collection, output](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/pga-golf-leaderboard-scores--how-it-works.png)

1. **Your input** — choose tours and an optional date or country filter.
2. **The Actor collects it** — the Actor reads the leaderboard for each tour.
3. **Your output** — you get one clean row per player with position, score and round strokes.

### What data can you extract?

The dataset has 22 fields per row:

| Field | Type | Description |
|---|---|---|
| `tour` | string | Tour name. |
| `tourCode` | string | Tour code such as pga. |
| `tournamentId` | string | Tournament identifier. |
| `tournament` | string | Tournament name. |
| `startDate` | string | First day (ISO 8601). |
| `endDate` | string | Last day (ISO 8601). |
| `status` | string | Scheduled, In Progress or Final. |
| `round` | number | Current or final round. |
| `course` | string | Course name when published. |
| `purse` | number | Purse when published. |
| `fieldSize` | number | Players in the field. |
| `defendingChampion` | string | Defending champion. |
| `playerId` | string | Player identifier. |
| `player` | string | Player name. |
| `country` | string | Player country. |
| `position` | number | Leaderboard position. |
| `scoreToPar` | number | Total score to par. |
| `totalStrokes` | number | Total strokes over completed rounds. |
| `rounds` | array | Strokes and score to par for each round. |
| `holes` | array | Strokes per hole when requested. |
| `earnings` | number | Earnings when published. |
| `scrapedAt` | string | Collection time (ISO 8601). |

### How to use Golf Leaderboard & Round Scores (PGA, DP World, LPGA)

![Golf Leaderboard & Round Scores (PGA, DP World, LPGA) input form](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/pga-golf-leaderboard-scores--input.png)

1. Open the Actor and go to the **Input** tab.
2. Choose one or more **Tours**, optionally set a **Date** inside the tournament week, and set **Max players per tour**.
3. Optionally set filters and a **Max results** limit.
4. Click **Start**. A default run finishes in under a minute.
5. Open the **Output** tab, then download the dataset or connect it to your tools.

### Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `tours` | array | No | `["pga"]` | Tour codes: pga, eur (DP World Tour), lpga, champions (PGA Tour Champions), liv. Use \["all"] for every tour. |
| `date` | string | No | — | A day inside the tournament week as YYYY-MM-DD, to read a past or upcoming event. Leave empty for the current event. |
| `countries` | array | No | `[]` | Only players from these countries, for example USA, England, Japan. |
| `maxPlayers` | integer | No | `5` | Maximum number of players returned for each tour. Default is 5 for a quick test; set 0 to return the whole field. |
| `includeHoleScores` | boolean | No | `false` | Add strokes for every hole played (larger rows). |
| `proxyConfiguration` | object | No | `{"useApifyProxy":false}` | Optional. The data is public and works without a proxy. |

### Output Data

![Golf Leaderboard & Round Scores (PGA, DP World, LPGA) dataset table](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/pga-golf-leaderboard-scores--output.png)

`scoreToPar` is a number: negative is under par, 0 is even. `rounds` lists strokes and score to par for each round played. `holes` is only filled when hole-by-hole scores are turned on. Fields the tour does not publish, such as `purse` or `course`, are `null`.

![Golf Leaderboard & Round Scores (PGA, DP World, LPGA) field map of one record](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/pga-golf-leaderboard-scores--fields.png)

A real dataset item:

```json
{
  "tour": "PGA Tour",
  "tourCode": "pga",
  "tournamentId": "401850914",
  "tournament": "Biltmore Championship Asheville",
  "startDate": "2026-09-17T04:00Z",
  "endDate": "2026-09-20T04:00Z",
  "status": "Final",
  "round": 4,
  "course": null,
  "purse": null,
  "fieldSize": 132,
  "defendingChampion": null,
  "playerId": "5054388",
  "player": "Jacob Bridgeman",
  "country": "USA",
  "position": 1,
  "scoreToPar": -26,
  "totalStrokes": 258,
  "rounds": [
    {
      "round": 1,
      "strokes": 66,
      "toPar": -5
    },
    {
      "round": 2,
      "strokes": 67,
      "toPar": -4
    },
    {
      "round": 3,
      "strokes": 64,
      "toPar": -7
    },
    {
      "round": 4,
      "strokes": 61,
      "toPar": -10
    }
  ],
  "holes": null,
  "earnings": null,
  "scrapedAt": "2026-09-21T11:07:05.685Z"
}
```

### Usage Examples

#### Current PGA Tour leaderboard

```json
{
  "tours": [
    "pga"
  ],
  "maxPlayers": 0
}
```

#### LPGA and DP World Tour top five

```json
{
  "tours": [
    "lpga",
    "eur"
  ],
  "maxPlayers": 5
}
```

#### A past event with hole scores

```json
{
  "tours": [
    "pga"
  ],
  "date": "2026-09-19",
  "includeHoleScores": true,
  "maxPlayers": 20
}
```

### Tips for Best Results

- Default is 5 results for a fast test. Set the max to 0 to return everything available.

### Known Limitations

- Only the current tournament of each tour, or the event containing the chosen date, is returned.
- Tours with no event that week return no rows.
- Course, purse and earnings are not published for every event.
- Positions are the finishing order; ties are not marked.

### Integrations

Run it from the Apify API, on a schedule, or from a webhook. Send results straight to Google Sheets, Make, Zapier, Slack or your own database with Apify's built-in integrations.

### Export Formats

Download the dataset as JSON, CSV, Excel, XML, HTML table or RSS from the **Output** tab or the API.

### Frequently Asked Questions

#### Does it need an account or API key?

No. The Actor reads public data and needs no account or key.

#### Am I charged for failed results?

No. You are only charged for results that are written to the dataset.

#### Do I need an account or login?

No. The Actor reads public data and needs no account or key.

#### Am I charged for failed runs or empty results?

You are only charged for results that are actually written to the dataset.

#### Can I run it on a schedule?

Yes. Create a Task with your input and add a schedule in Apify Console. With monitor mode on, each scheduled run returns only what changed since the previous one.

### Support

Questions or a missing field? Open an issue from the **Issues** tab on this Actor's page and it will be looked at.

### Legal / Responsible Use

You are responsible for using the data in line with the source's terms and applicable law. The Actor collects publicly available data only and is not affiliated with the source.

# Actor input Schema

## `tours` (type: `array`):

Tour codes: pga, eur (DP World Tour), lpga, champions (PGA Tour Champions), liv. Use \["all"] for every tour.

## `date` (type: `string`):

A day inside the tournament week as YYYY-MM-DD, to read a past or upcoming event. Leave empty for the current event.

## `countries` (type: `array`):

Only players from these countries, for example USA, England, Japan.

## `maxPlayers` (type: `integer`):

Maximum number of players returned for each tour. Default is 5 for a quick test; set 0 to return the whole field.

## `includeHoleScores` (type: `boolean`):

Add strokes for every hole played (larger rows).

## `proxyConfiguration` (type: `object`):

Optional. The data is public and works without a proxy.

## Actor input object example

```json
{
  "tours": [
    "pga"
  ],
  "countries": [],
  "maxPlayers": 5,
  "includeHoleScores": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "tours": [
        "pga"
    ],
    "maxPlayers": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdoe/pga-golf-leaderboard-scores").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "tours": ["pga"],
    "maxPlayers": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("mrdoe/pga-golf-leaderboard-scores").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "tours": [
    "pga"
  ],
  "maxPlayers": 5
}' |
apify call mrdoe/pga-golf-leaderboard-scores --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mrdoe/pga-golf-leaderboard-scores"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/SvpYOl86YTmS8OOfG/builds/bw45IJaPEYux2aVCW/openapi.json
