NASCAR Lap Times API
NASCAR lap-by-lap timing, one row per driver per lap: lap time, lap speed, running position and the flag the lap ran under, with caution laps marked, plus car number, driver and make. Cup, Xfinity (O'Reilly Auto Parts) and Truck Series races from 2020.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/nascar-lap-times/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"season":2026},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
19 fields: 16 here, 3 technical ones under Technical details.
Basics
- Race name
Name of the race, such as DAYTONA 500.
Example NASCAR Cup Series Championship Race
- Series
cup, xfinity or truck.
Example cup
- Season
Example 2,026
- Track name
Track, such as Homestead-Miami Speedway.
Example Homestead-Miami Speedway
- Driver name
Driver's name.
Example Ryan Blaney
- Car number
Car number, as text (numbers such as 01 keep their zero).
Example 12
- Manufacturer
Car make, such as Chevrolet, Ford, Toyota or Ram.
Example Ford
- Final running position
The driver's running position at the end of the race, the same on each of the driver's rows.
Example 1
- Lap
Lap number; 0 is the start.
Example 0
- Lap speed mph
Average speed over the lap, in mph.
Example 155.557
- Running position
Running position at the end of the lap (the starting spot on lap 0).
Example 9
- Caution lap
True for a lap completed under caution or a red flag, false under green, white or checkered; empty on lap 0.
Example No
Location
- Flag state
Flag the lap was completed under: green, caution, red, white or checkered; pre_race on lap 0.
Example pre_race
Dates
- Race date
Day of the race (track's local day).
Example Nov 8, 2026
- Lap time
Lap time in seconds.
Example 34.714
Links
- Link
NASCAR's lap times file for the race, as JSON.
Technical detailsField names and types for developers, and the 3 fields hidden above
Hidden by default
These 3 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.
- ID
idThis row: race id, driver id and lap, such as 5601-4023-120. - Race ID
race_idNASCAR's id of the race. - Driver ID
driver_idNASCAR's id of the driver (the same id NASCAR uses in its results and loop data).
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
url | link | Link | 3 of 3 |
race_id | text | Race ID (hidden) | 3 of 3 |
race_name | text | Race name | 3 of 3 |
series | text | Series | 3 of 3 |
season | number | Season | 3 of 3 |
track_name | text | Track name | 3 of 3 |
race_date | date | Race date | 3 of 3 |
driver_id | text | Driver ID (hidden) | 3 of 3 |
driver_name | text | Driver name | 3 of 3 |
car_number | text | Car number | 3 of 3 |
manufacturer | text | Manufacturer | 3 of 3 |
final_running_position | number | Final running position | 3 of 3 |
lap | number | Lap | 3 of 3 |
lap_time | number | Lap time | 2 of 3 |
lap_speed_mph | number | Lap speed mph | 2 of 3 |
running_position | number | Running position | 3 of 3 |
flag_state | text | Flag state | 3 of 3 |
is_caution_lap | yes or no | Caution lap | 2 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Race name | Series | Season | Track name | Driver name | Car number | Manufacturer | Final running position | Lap | Lap speed mph | Running position | Caution lap | Flag state | Race date | Lap time | Link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | NASCAR Cup Series Championship Race | cup | 2,026 | Homestead-Miami Speedway | Ryan Blaney | 12 | Ford | 1 | 0 | — | 9 | — | pre_race | Nov 8, 2026 | — | cf.nascar.com/cacher/2026/1/5601/lap-times.json |
| 2 | NASCAR Cup Series Championship Race | cup | 2,026 | Homestead-Miami Speedway | Ryan Blaney | 12 | Ford | 1 | 1 | 155.557 | 12 | No | green | Nov 8, 2026 | 34.714 | cf.nascar.com/cacher/2026/1/5601/lap-times.json |
| 3 | NASCAR Cup Series Championship Race | cup | 2,026 | Homestead-Miami Speedway | Ryan Blaney | 12 | Ford | 1 | 2 | 161.778 | 12 | No | green | Nov 8, 2026 | 33.379 | cf.nascar.com/cacher/2026/1/5601/lap-times.json |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Lap times come from NASCAR's own public timing files and NASCAR does not endorse this API. NASCAR owns the data: credit NASCAR when you publish it.
- Seasons from 2020; NASCAR posts no lap-by-lap files for earlier seasons. Only races held by the day of the run are read, newest race first; a race that just finished is missing until NASCAR posts its file.
- One race is about 40 drivers times its laps: about 10,000 rows for a 267-lap race and up to about 19,000 for a 500-lap race. Set a limit, or name races and drivers, to keep a run small.
- Lap 0 is the start: its running position is the starting spot and it has no time or speed. A driver who retired has rows only for the laps run.
- Times and speeds are NASCAR's timing-line numbers for each completed lap, in seconds and mph; caution laps are slow by design. The flag is the one NASCAR recorded as each lap was completed.
- Driver names are as NASCAR's timing shows them, without its markers for rookies, playoff drivers and drivers not scoring points in the series.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.