NASCAR Driver Rating (Loop Data) API
NASCAR loop data, one row per driver per race: driver rating, start, mid-race, closing, best, worst and average running position, green-flag passes and times passed, quality passes, fastest laps, top-15 laps and laps led, with driver, car, team and make. Cup, Xfinity, Truck, from 2019.
$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-loop-data/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
33 fields: 30 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
- Points race
False for exhibition races such as the Clash, the Duels and the All-Star Race.
Example Yes
- Race laps
Laps the race ran.
Example 267
- Driver name
Driver's full name.
Example Ryan Blaney
- Car number
Car number, as text (numbers such as 01 keep their zero).
Example 12
- Team name
Team, such as Team Penske.
Example Team Penske
- Manufacturer
Car make, such as Chevrolet, Ford, Toyota or Ram.
Example Ford
- Finishing status
Running at the finish, or why the car stopped, such as Accident or Engine.
Example Running
- Driver rating
NASCAR driver rating for the race, from 0 to 150.
Example 118.81
- Start position
Starting position.
Example 9
- Mid race position
Running position at the halfway point of the race.
Example 13
- Finish position
Finishing position.
Example 1
- Closing position
Running position when the last 10% of the race laps began.
Example 4%
- Closing positions gained
Positions gained in the last 10% of laps (NASCAR calls it closers): closing position minus finishing position, negative when positions were lost.
Example 3%
- Best position
Best running position during the race.
Example 1
- Worst position
Worst running position during the race.
Example 28
- Average running position
Average running position over the laps the driver ran.
Example 6.75
- Green flag passes
Cars the driver passed under green.
Example 98
- Green flag times passed
Times the driver was passed under green.
Example 63
- Green flag passing differential
Green-flag passes minus times passed.
Example 35
- Quality passes
Green-flag passes of cars running in the top 15.
Example 69
- Fastest laps
Laps on which the driver ran the fastest lap of the field.
Example 40
- Top 15 laps
Laps the driver ran in the top 15.
Example 244
- Laps led
Laps the driver led.
Example 7
- Laps completed
Laps the driver completed.
Example 267
Dates
- Race date
Day of the race (track's local day).
Example Nov 8, 2026
Links
- Link
NASCAR's loop data 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 and driver id, such as 5601-4023. - 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 lap times).
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 |
is_points_race | yes or no | Points race | 3 of 3 |
race_laps | number | Race laps | 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 |
team_name | text | Team name | 3 of 3 |
manufacturer | text | Manufacturer | 3 of 3 |
finishing_status | text | Finishing status | 3 of 3 |
driver_rating | number | Driver rating | 3 of 3 |
start_position | number | Start position | 3 of 3 |
mid_race_position | number | Mid race position | 3 of 3 |
finish_position | number | Finish position | 3 of 3 |
closing_position | number | Closing position | 3 of 3 |
closing_positions_gained | number | Closing positions gained | 3 of 3 |
best_position | number | Best position | 3 of 3 |
worst_position | number | Worst position | 3 of 3 |
average_running_position | number | Average running position | 3 of 3 |
green_flag_passes | number | Green flag passes | 3 of 3 |
green_flag_times_passed | number | Green flag times passed | 3 of 3 |
green_flag_passing_differential | number | Green flag passing differential | 3 of 3 |
quality_passes | number | Quality passes | 3 of 3 |
fastest_laps | number | Fastest laps | 3 of 3 |
top15_laps | number | Top 15 laps | 3 of 3 |
laps_led | number | Laps led | 3 of 3 |
laps_completed | number | Laps completed | 3 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 | Points race | Race laps | Driver name | Car number | Team name | Manufacturer | Finishing status | Driver rating | Start position | Mid race position | Finish position | Closing position | Closing positions gained | Best position | Worst position | Average running position | Green flag passes | Green flag times passed | Green flag passing differential | Quality passes | Fastest laps | Top 15 laps | Laps led | Laps completed | Race date | Link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | NASCAR Cup Series Championship Race | cup | 2,026 | Homestead-Miami Speedway | Yes | 267 | Ryan Blaney | 12 | Team Penske | Ford | Running | 118.81 | 9 | 13 | 1 | 4% | 3% | 1 | 28 | 6.75 | 98 | 63 | 35 | 69 | 40 | 244 | 7 | 267 | Nov 8, 2026 | cf.nascar.com/loopstats/prod/2026/1/5601.json |
| 2 | NASCAR Cup Series Championship Race | cup | 2,026 | Homestead-Miami Speedway | Yes | 267 | Tyler Reddick | 45 | 23XI Racing | Toyota | Running | 129.81 | 3 | 3 | 2 | 2% | 0% | 1 | 9 | 2.36 | 37 | 35 | 2 | 35 | 19 | 267 | 53 | 267 | Nov 8, 2026 | cf.nascar.com/loopstats/prod/2026/1/5601.json |
| 3 | NASCAR Cup Series Championship Race | cup | 2,026 | Homestead-Miami Speedway | Yes | 267 | William Byron | 24 | Hendrick Motorsports | Chevrolet | Running | 110.64 | 8 | 8 | 3 | 1% | -2% | 1 | 25 | 6.72 | 86 | 89 | -3 | 49 | 6 | 257 | 38 | 267 | Nov 8, 2026 | cf.nascar.com/loopstats/prod/2026/1/5601.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.
- Loop data comes from NASCAR's own public statistics files and NASCAR does not endorse this API. NASCAR owns the data: credit NASCAR when you publish it.
- Seasons from 2019 for the Cup, Xfinity (O'Reilly Auto Parts) and Truck Series; NASCAR posts no loop data for earlier seasons. One run reads one season of one series.
- 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 loop data, usually within hours.
- A season of one series is up to about 41 races and 1,650 rows. Exhibition races (the Clash, the Duels, the All-Star Race) are included and marked with is_points_race false.
- driver_rating is NASCAR's own formula, at most 150. Passing counts cover green-flag laps only. Each race takes two reads (loop data and results), so a whole season takes one to two minutes.
- Driver name, car number, team, make and finishing status come from NASCAR's results for the same race; they are empty in the rare case NASCAR has not posted those results.
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.