# NASCAR Race Results, Schedules & Points (`mrdoe/nascar-race-results-schedules`) Actor

NASCAR Cup, O'Reilly Auto Parts and Truck series: season schedules with winners, pole sitters, cautions and lead changes, plus full finishing orders with laps led, points and playoff points per driver.

- **URL**: https://apify.com/mrdoe/nascar-race-results-schedules.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

![NASCAR Race Results, Schedules & Points - Every NASCAR Cup, Xfinity and Truck race: schedule, winner, cautions and the full finishing order.](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/nascar-race-results-schedules--hero.png)

### What does NASCAR Race Results, Schedules & Points do?

NASCAR Race Results, Schedules & Points returns season data for the NASCAR Cup, O'Reilly Auto Parts (Xfinity) and Craftsman Truck series. Choose Races for one row per race with the date, track, winner, pole winner, cautions, lead changes and average speed, or Results for one row per driver per completed race with finishing and starting position, laps led, points, playoff points, team and finishing status. Past seasons are available too, no login needed.

### Why use NASCAR Race Results, Schedules & Points?

- All three national series in one Actor.
- Schedule and results from the same source.
- Full finishing order with laps led and points.
- Cautions, lead changes and pole winner per race.
- Any season, free of login and API keys.

### What makes this different

Most NASCAR data is locked in slow race-by-race web pages or paid stats feeds. This Actor returns whole seasons as flat tables, with the finishing order, points and race facts side by side so it drops straight into a model or a sheet.

### How it works

![NASCAR Race Results, Schedules & Points workflow: your input, collection, output](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/nascar-race-results-schedules--how-it-works.png)

1. **Your input** — choose the series, season and Races or Results.
2. **The Actor collects it** — the Actor reads the season schedule and each completed race.
3. **Your output** — you get one row per race or per driver finish.

### What data can you extract?

The dataset has 45 fields per row:

| Field | Type | Description |
|---|---|---|
| `raceId` | integer | NASCAR race ID. |
| `series` | string | Series name. |
| `season` | integer | Season year. |
| `name` | string | Race name. |
| `track` | string | Track name. |
| `trackId` | integer | Track ID. |
| `raceDate` | string | Scheduled race start as published (Eastern time). |
| `raceDateUtc` | string | Race start as an ISO timestamp, treated as UTC. |
| `qualifyingDate` | string | Qualifying start as published. |
| `scheduledLaps` | integer | Scheduled laps. |
| `scheduledMiles` | number | Scheduled distance in miles. |
| `completed` | boolean | True once the race has a winner. |
| `winner` | string | Race winner. |
| `winnerDriverId` | integer | Winner's driver ID. |
| `poleWinner` | string | Pole winner. |
| `fieldSize` | integer | Cars in the field. |
| `leadChanges` | integer | Number of lead changes. |
| `cautions` | integer | Number of cautions. |
| `cautionLaps` | integer | Laps run under caution. |
| `averageSpeedMph` | number | Average race speed in mph. |
| `raceTime` | string | Total race time. |
| `marginOfVictory` | string | Margin of victory. |
| `television` | string | TV broadcaster. |
| `radio` | string | Radio broadcaster. |
| `playoffRound` | integer | Playoff round, 0 outside the playoffs. |
| `recap` | string | Short official recap. |
| `race` | string | Results rows: race name. |
| `finishPosition` | integer | Finishing position. |
| `startPosition` | integer | Starting position. |
| `carNumber` | string | Car number. |
| `driver` | string | Driver name. |
| `driverId` | integer | Driver ID. |
| `team` | string | Team. |
| `make` | string | Manufacturer. |
| `sponsor` | string | Primary sponsor. |
| `lapsCompleted` | integer | Laps completed. |
| `lapsLed` | integer | Laps led. |
| `points` | integer | Points earned. |
| `playoffPoints` | integer | Playoff points earned. |
| `pointsPosition` | integer | Points standing after the race. |
| `status` | string | Finishing status, for example Running or Accident. |
| `crewChief` | string | Crew chief. |
| `owner` | string | Car owner. |
| `qualifyingPosition` | integer | Qualifying position. |
| `hometown` | string | Driver hometown. |

### How to use NASCAR Race Results, Schedules & Points

![NASCAR Race Results, Schedules & Points input form](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/nascar-race-results-schedules--input.png)

1. Open the Actor and go to the **Input** tab.
2. Pick a **Series** and **Season**, choose **Races** or **Results**, and press Start. Set **Max results** to 0 for the whole season.
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 |
|---|---|---|---|---|
| `dataType` | string | No | `"races"` | Race schedule with winners and race facts, or the full finishing order of completed races. |
| `series` | array | No | `["cup"]` | NASCAR national series to include: cup, xfinity, truck. |
| `season` | string | No | `"2026"` | Four-digit season year, for example 2025. Leave empty for the current season. |
| `onlyCompleted` | boolean | No | `false` | Races data only: skip races that have not been run yet. |
| `maxResults` | integer | No | `5` | Maximum number of rows returned. Default is 5 for a quick test; set 0 to return everything available. |
| `proxyConfiguration` | object | No | `{"useApifyProxy":false}` | Optional. The data is public and works without a proxy. |

### Output Data

![NASCAR Race Results, Schedules & Points dataset table](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/nascar-race-results-schedules--output.png)

Races rows carry `winner`, `poleWinner`, `cautions`, `leadChanges` and `completed`. Results rows carry `finishPosition`, `startPosition`, `lapsLed`, `points`, `playoffPoints`, `pointsPosition` and `status` for each driver.

![NASCAR Race Results, Schedules & Points field map of one record](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/nascar-race-results-schedules--fields.png)

A real dataset item:

```json
{
  "raceId": 5593,
  "series": "Cup Series",
  "season": 2026,
  "name": "Cook Out Clash at Bowman Gray",
  "track": "Bowman Gray Stadium",
  "trackId": 159,
  "raceDate": "2026-02-04T18:00:00",
  "raceDateUtc": "2026-02-04T18:00:00.000Z",
  "qualifyingDate": "2026-02-04T18:00:00",
  "scheduledLaps": 200,
  "scheduledMiles": 50.6,
  "completed": true,
  "winner": "Ryan Preece",
  "winnerDriverId": 4070,
  "poleWinner": "Kyle Larson",
  "fieldSize": 23,
  "leadChanges": 11,
  "cautions": 17,
  "cautionLaps": 17,
  "averageSpeedMph": 21.39,
  "raceTime": "2:20:15",
  "marginOfVictory": "1.752",
  "television": "FS2",
  "radio": "MRN",
  "playoffRound": 0,
  "recap": "Ryan Preece won the Cook Out Clash at Bowman Gray Stadium, his first victory in the preseason non-points race. No cars dropped to the rear …"
}
```

### Usage Examples

#### 2025 Cup schedule and winners

```json
{
  "series": [
    "cup"
  ],
  "season": "2025",
  "maxResults": 0
}
```

#### Latest Cup race finishing order

```json
{
  "dataType": "results",
  "series": [
    "cup"
  ],
  "maxResults": 40
}
```

#### All three series, completed races

```json
{
  "series": [
    "cup",
    "xfinity",
    "truck"
  ],
  "onlyCompleted": true,
  "maxResults": 0
}
```

### Tips for Best Results

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

### Known Limitations

- Race times are published in Eastern time without a zone; `raceDateUtc` is an approximation and the original text is in `raceDate`.
- Results are fetched newest race first, one request per race, so a whole season of results takes longer than a schedule.
- Prize money and lap-by-lap timing are not included.
- A season has data only once its schedule is published.

### 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

## `dataType` (type: `string`):

Race schedule with winners and race facts, or the full finishing order of completed races.

## `series` (type: `array`):

NASCAR national series to include: cup, xfinity, truck.

## `season` (type: `string`):

Four-digit season year, for example 2025. Leave empty for the current season.

## `onlyCompleted` (type: `boolean`):

Races data only: skip races that have not been run yet.

## `maxResults` (type: `integer`):

Maximum number of rows returned. Default is 5 for a quick test; set 0 to return everything available.

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

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

## Actor input object example

```json
{
  "dataType": "races",
  "series": [
    "cup"
  ],
  "season": "2026",
  "onlyCompleted": false,
  "maxResults": 5,
  "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 = {
    "series": [
        "cup"
    ],
    "season": "2026",
    "maxResults": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdoe/nascar-race-results-schedules").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 = {
    "series": ["cup"],
    "season": "2026",
    "maxResults": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("mrdoe/nascar-race-results-schedules").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 '{
  "series": [
    "cup"
  ],
  "season": "2026",
  "maxResults": 5
}' |
apify call mrdoe/nascar-race-results-schedules --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mrdoe/nascar-race-results-schedules"
        }
    }
}
```

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/4UvEbabwrQoKRIgpc/builds/ygqCUjkpv2O8N7dPx/openapi.json
