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.

Try it
Ready-made, maintained by usRecords, 19 fieldsv1.0

Data from cf.nascar.com/cacher/2026/1/5601/lap-times.json

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

Seasonoptional
Season, from 2020. Empty for the current season (the previous one in January).
Example: 2026
Seriesoptional
cup (the default), xfinity (now the O'Reilly Auto Parts Series) or truck (the Craftsman Truck Series).
Race IDsoptional
NASCAR race ids, such as 5601; a race name or track also works, such as Daytona. Every race of the season held so far, newest first, when empty. One per line, or separated by commas.
Example: 5601
Driversoptional
Only these drivers: a full name, a last name or a car number, such as Ryan Blaney, Blaney or 12. Every driver when empty. One per line, or separated by commas.
Example: Ryan Blaney

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
Endpoint
POSThttps://pullrow.dev/v1/apis/nascar-lap-times/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

seasonnumber
Season, from 2020. Empty for the current season (the previous one in January).
example: 2026
seriestext
cup (the default), xfinity (now the O'Reilly Auto Parts Series) or truck (the Craftsman Truck Series).
default: cupexample: cupone of: cup, xfinity, truck
race_idslist
NASCAR race ids, such as 5601; a race name or track also works, such as Daytona. Every race of the season held so far, newest first, when empty.
example: 5601
driverslist
Only these drivers: a full name, a last name or a car number, such as Ryan Blaney, Blaney or 12. Every driver when empty.
example: Ryan Blaney

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

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 nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
urllinkLink3 of 3
race_idtextRace ID (hidden)3 of 3
race_nametextRace name3 of 3
seriestextSeries3 of 3
seasonnumberSeason3 of 3
track_nametextTrack name3 of 3
race_datedateRace date3 of 3
driver_idtextDriver ID (hidden)3 of 3
driver_nametextDriver name3 of 3
car_numbertextCar number3 of 3
manufacturertextManufacturer3 of 3
final_running_positionnumberFinal running position3 of 3
lapnumberLap3 of 3
lap_timenumberLap time2 of 3
lap_speed_mphnumberLap speed mph2 of 3
running_positionnumberRunning position3 of 3
flag_statetextFlag state3 of 3
is_caution_lapyes or noCaution lap2 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordRace nameSeriesSeasonTrack nameDriver nameCar numberManufacturerFinal running positionLapLap speed mphRunning positionCaution lapFlag stateRace dateLap timeLink
1NASCAR Cup Series Championship Racecup2,026Homestead-Miami SpeedwayRyan Blaney12Ford10—9—pre_raceNov 8, 2026—cf.nascar.com/cacher/2026/1/5601/lap-times.json
2NASCAR Cup Series Championship Racecup2,026Homestead-Miami SpeedwayRyan Blaney12Ford11155.55712NogreenNov 8, 202634.714cf.nascar.com/cacher/2026/1/5601/lap-times.json
3NASCAR Cup Series Championship Racecup2,026Homestead-Miami SpeedwayRyan Blaney12Ford12161.77812NogreenNov 8, 202633.379cf.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.
Known limits
  • 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.