{"api":{"id":"api_7fa89421b94b66fe00b7d27b","slug":"nascar-loop-data","name":"NASCAR Driver Rating (Loop Data) API","description":"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.","kind":"ready_made","visibility":"public","domain":"cf.nascar.com","source_url":"https://cf.nascar.com/loopstats/prod/2026/1/5601.json","category":"sports","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":33,"created_at":"2026-12-06T03:57:27.686Z","updated_at":"2026-12-06T03:57:27.686Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"This row: race id and driver id, such as 5601-4023.","required":true,"coverage":1,"example":"5601-4023"},{"name":"url","type":"url","description":"NASCAR's loop data file for the race, as JSON.","required":false,"coverage":1,"example":"https://cf.nascar.com/loopstats/prod/2026/1/5601.json"},{"name":"race_id","type":"string","description":"NASCAR's id of the race.","required":false,"coverage":1,"example":"5601"},{"name":"race_name","type":"string","description":"Name of the race, such as DAYTONA 500.","required":false,"coverage":1,"example":"NASCAR Cup Series Championship Race"},{"name":"series","type":"string","description":"cup, xfinity or truck.","required":false,"coverage":1,"example":"cup"},{"name":"season","type":"integer","description":"Season.","required":false,"coverage":1,"example":2026},{"name":"track_name","type":"string","description":"Track, such as Homestead-Miami Speedway.","required":false,"coverage":1,"example":"Homestead-Miami Speedway"},{"name":"race_date","type":"date","description":"Day of the race (track's local day).","required":false,"coverage":1,"example":"2026-11-08"},{"name":"is_points_race","type":"boolean","description":"False for exhibition races such as the Clash, the Duels and the All-Star Race.","required":false,"coverage":1,"example":true},{"name":"race_laps","type":"integer","description":"Laps the race ran.","required":false,"coverage":1,"example":267},{"name":"driver_id","type":"string","description":"NASCAR's id of the driver (the same id NASCAR uses in its results and lap times).","required":false,"coverage":1,"example":"4023"},{"name":"driver_name","type":"string","description":"Driver's full name.","required":false,"coverage":1,"example":"Ryan Blaney"},{"name":"car_number","type":"string","description":"Car number, as text (numbers such as 01 keep their zero).","required":false,"coverage":1,"example":"12"},{"name":"team_name","type":"string","description":"Team, such as Team Penske.","required":false,"coverage":1,"example":"Team Penske"},{"name":"manufacturer","type":"string","description":"Car make, such as Chevrolet, Ford, Toyota or Ram.","required":false,"coverage":1,"example":"Ford"},{"name":"finishing_status","type":"string","description":"Running at the finish, or why the car stopped, such as Accident or Engine.","required":false,"coverage":1,"example":"Running"},{"name":"driver_rating","type":"number","description":"NASCAR driver rating for the race, from 0 to 150.","required":false,"coverage":1,"example":118.81},{"name":"start_position","type":"integer","description":"Starting position.","required":false,"coverage":1,"example":9},{"name":"mid_race_position","type":"integer","description":"Running position at the halfway point of the race.","required":false,"coverage":1,"example":13},{"name":"finish_position","type":"integer","description":"Finishing position.","required":false,"coverage":1,"example":1},{"name":"closing_position","type":"integer","description":"Running position when the last 10% of the race laps began.","required":false,"coverage":1,"example":4},{"name":"closing_positions_gained","type":"integer","description":"Positions gained in the last 10% of laps (NASCAR calls it closers): closing position minus finishing position, negative when positions were lost.","required":false,"coverage":1,"example":3},{"name":"best_position","type":"integer","description":"Best running position during the race.","required":false,"coverage":1,"example":1},{"name":"worst_position","type":"integer","description":"Worst running position during the race.","required":false,"coverage":1,"example":28},{"name":"average_running_position","type":"number","description":"Average running position over the laps the driver ran.","required":false,"coverage":1,"example":6.75},{"name":"green_flag_passes","type":"integer","description":"Cars the driver passed under green.","required":false,"coverage":1,"example":98},{"name":"green_flag_times_passed","type":"integer","description":"Times the driver was passed under green.","required":false,"coverage":1,"example":63},{"name":"green_flag_passing_differential","type":"integer","description":"Green-flag passes minus times passed.","required":false,"coverage":1,"example":35},{"name":"quality_passes","type":"integer","description":"Green-flag passes of cars running in the top 15.","required":false,"coverage":1,"example":69},{"name":"fastest_laps","type":"integer","description":"Laps on which the driver ran the fastest lap of the field.","required":false,"coverage":1,"example":40},{"name":"top15_laps","type":"integer","description":"Laps the driver ran in the top 15.","required":false,"coverage":1,"example":244},{"name":"laps_led","type":"integer","description":"Laps the driver led.","required":false,"coverage":1,"example":7},{"name":"laps_completed","type":"integer","description":"Laps the driver completed.","required":false,"coverage":1,"example":267}],"inputs":[{"name":"season","type":"integer","description":"Season, from 2019. Empty for the current season (the previous one in January).","example":2026},{"name":"series","type":"string","description":"cup (the default), xfinity (now the O'Reilly Auto Parts Series) or truck (the Craftsman Truck Series).","default":"cup","example":"cup","enum":["cup","xfinity","truck"]},{"name":"race_ids","type":"array","description":"NASCAR race ids, such as 5601; a race name or track also works, such as Daytona. Every race of the season held so far when empty.","example":["5601"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"average_running_position":{"description":"Average running position over the laps the driver ran.","type":"number"},"best_position":{"description":"Best running position during the race.","type":"integer"},"car_number":{"description":"Car number, as text (numbers such as 01 keep their zero).","type":"string"},"closing_position":{"description":"Running position when the last 10% of the race laps began.","type":"integer"},"closing_positions_gained":{"description":"Positions gained in the last 10% of laps (NASCAR calls it closers): closing position minus finishing position, negative when positions were lost.","type":"integer"},"driver_id":{"description":"NASCAR's id of the driver (the same id NASCAR uses in its results and lap times).","type":"string"},"driver_name":{"description":"Driver's full name.","type":"string"},"driver_rating":{"description":"NASCAR driver rating for the race, from 0 to 150.","type":"number"},"fastest_laps":{"description":"Laps on which the driver ran the fastest lap of the field.","type":"integer"},"finish_position":{"description":"Finishing position.","type":"integer"},"finishing_status":{"description":"Running at the finish, or why the car stopped, such as Accident or Engine.","type":"string"},"green_flag_passes":{"description":"Cars the driver passed under green.","type":"integer"},"green_flag_passing_differential":{"description":"Green-flag passes minus times passed.","type":"integer"},"green_flag_times_passed":{"description":"Times the driver was passed under green.","type":"integer"},"id":{"description":"This row: race id and driver id, such as 5601-4023.","type":"string"},"is_points_race":{"description":"False for exhibition races such as the Clash, the Duels and the All-Star Race.","type":"boolean"},"laps_completed":{"description":"Laps the driver completed.","type":"integer"},"laps_led":{"description":"Laps the driver led.","type":"integer"},"manufacturer":{"description":"Car make, such as Chevrolet, Ford, Toyota or Ram.","type":"string"},"mid_race_position":{"description":"Running position at the halfway point of the race.","type":"integer"},"quality_passes":{"description":"Green-flag passes of cars running in the top 15.","type":"integer"},"race_date":{"description":"Day of the race (track's local day).","format":"date","type":"string"},"race_id":{"description":"NASCAR's id of the race.","type":"string"},"race_laps":{"description":"Laps the race ran.","type":"integer"},"race_name":{"description":"Name of the race, such as DAYTONA 500.","type":"string"},"season":{"description":"Season.","type":"integer"},"series":{"description":"cup, xfinity or truck.","type":"string"},"start_position":{"description":"Starting position.","type":"integer"},"team_name":{"description":"Team, such as Team Penske.","type":"string"},"top15_laps":{"description":"Laps the driver ran in the top 15.","type":"integer"},"track_name":{"description":"Track, such as Homestead-Miami Speedway.","type":"string"},"url":{"description":"NASCAR's loop data file for the race, as JSON.","format":"uri","type":"string"},"worst_position":{"description":"Worst running position during the race.","type":"integer"}},"required":["id"],"title":"NASCAR Driver Rating (Loop Data) API","type":"object"},"samples":[{"id":"5601-4023","url":"https://cf.nascar.com/loopstats/prod/2026/1/5601.json","race_id":"5601","race_name":"NASCAR Cup Series Championship Race","series":"cup","season":2026,"track_name":"Homestead-Miami Speedway","race_date":"2026-11-08","is_points_race":true,"race_laps":267,"driver_id":"4023","driver_name":"Ryan Blaney","car_number":"12","team_name":"Team Penske","manufacturer":"Ford","finishing_status":"Running","driver_rating":118.81,"start_position":9,"mid_race_position":13,"finish_position":1,"closing_position":4,"closing_positions_gained":3,"best_position":1,"worst_position":28,"average_running_position":6.75,"green_flag_passes":98,"green_flag_times_passed":63,"green_flag_passing_differential":35,"quality_passes":69,"fastest_laps":40,"top15_laps":244,"laps_led":7,"laps_completed":267},{"id":"5601-4065","url":"https://cf.nascar.com/loopstats/prod/2026/1/5601.json","race_id":"5601","race_name":"NASCAR Cup Series Championship Race","series":"cup","season":2026,"track_name":"Homestead-Miami Speedway","race_date":"2026-11-08","is_points_race":true,"race_laps":267,"driver_id":"4065","driver_name":"Tyler Reddick","car_number":"45","team_name":"23XI Racing","manufacturer":"Toyota","finishing_status":"Running","driver_rating":129.81,"start_position":3,"mid_race_position":3,"finish_position":2,"closing_position":2,"closing_positions_gained":0,"best_position":1,"worst_position":9,"average_running_position":2.36,"green_flag_passes":37,"green_flag_times_passed":35,"green_flag_passing_differential":2,"quality_passes":35,"fastest_laps":19,"top15_laps":267,"laps_led":53,"laps_completed":267},{"id":"5601-4184","url":"https://cf.nascar.com/loopstats/prod/2026/1/5601.json","race_id":"5601","race_name":"NASCAR Cup Series Championship Race","series":"cup","season":2026,"track_name":"Homestead-Miami Speedway","race_date":"2026-11-08","is_points_race":true,"race_laps":267,"driver_id":"4184","driver_name":"William Byron","car_number":"24","team_name":"Hendrick Motorsports","manufacturer":"Chevrolet","finishing_status":"Running","driver_rating":110.64,"start_position":8,"mid_race_position":8,"finish_position":3,"closing_position":1,"closing_positions_gained":-2,"best_position":1,"worst_position":25,"average_running_position":6.72,"green_flag_passes":86,"green_flag_times_passed":89,"green_flag_passing_differential":-3,"quality_passes":49,"fastest_laps":6,"top15_laps":257,"laps_led":38,"laps_completed":267}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"average_running_position":1,"best_position":1,"car_number":1,"closing_position":1,"closing_positions_gained":1,"driver_id":1,"driver_name":1,"driver_rating":1,"fastest_laps":1,"finish_position":1,"finishing_status":1,"green_flag_passes":1,"green_flag_passing_differential":1,"green_flag_times_passed":1,"id":1,"is_points_race":1,"laps_completed":1,"laps_led":1,"manufacturer":1,"mid_race_position":1,"quality_passes":1,"race_date":1,"race_id":1,"race_laps":1,"race_name":1,"season":1,"series":1,"start_position":1,"team_name":1,"top15_laps":1,"track_name":1,"url":1,"worst_position":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_7fa89421b94b66fe00b7d27b/run","openapi":"https://pullrow.dev/v1/apis/api_7fa89421b94b66fe00b7d27b/openapi.json","contract":"https://pullrow.dev/v1/apis/api_7fa89421b94b66fe00b7d27b/contract.json","page":"https://pullrow.dev/catalog/nascar-loop-data"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["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."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"This row: race id and driver id, such as 5601-4023.","group":"Technical","shown":false,"written":false},{"name":"url","label":"Link","description":"NASCAR's loop data file for the race, as JSON.","group":"Links","shown":true,"written":false},{"name":"race_id","label":"Race ID","description":"NASCAR's id of the race.","group":"Technical","shown":false,"written":false},{"name":"race_name","label":"Race name","description":"Name of the race, such as DAYTONA 500.","group":"Basics","shown":true,"written":false},{"name":"series","label":"Series","description":"cup, xfinity or truck.","group":"Basics","shown":true,"written":false},{"name":"season","label":"Season","description":"","group":"Basics","shown":true,"written":false},{"name":"track_name","label":"Track name","description":"Track, such as Homestead-Miami Speedway.","group":"Basics","shown":true,"written":false},{"name":"race_date","label":"Race date","description":"Day of the race (track's local day).","group":"Dates","shown":true,"written":false},{"name":"is_points_race","label":"Points race","description":"False for exhibition races such as the Clash, the Duels and the All-Star Race.","group":"Basics","shown":true,"written":false},{"name":"race_laps","label":"Race laps","description":"Laps the race ran.","group":"Basics","shown":true,"written":false},{"name":"driver_id","label":"Driver ID","description":"NASCAR's id of the driver (the same id NASCAR uses in its results and lap times).","group":"Technical","shown":false,"written":false},{"name":"driver_name","label":"Driver name","description":"Driver's full name.","group":"Basics","shown":true,"written":false},{"name":"car_number","label":"Car number","description":"Car number, as text (numbers such as 01 keep their zero).","group":"Basics","shown":true,"written":false},{"name":"team_name","label":"Team name","description":"Team, such as Team Penske.","group":"Basics","shown":true,"written":false},{"name":"manufacturer","label":"Manufacturer","description":"Car make, such as Chevrolet, Ford, Toyota or Ram.","group":"Basics","shown":true,"written":false},{"name":"finishing_status","label":"Finishing status","description":"Running at the finish, or why the car stopped, such as Accident or Engine.","group":"Basics","shown":true,"written":false},{"name":"driver_rating","label":"Driver rating","description":"NASCAR driver rating for the race, from 0 to 150.","group":"Basics","shown":true,"written":false},{"name":"start_position","label":"Start position","description":"Starting position.","group":"Basics","shown":true,"written":false},{"name":"mid_race_position","label":"Mid race position","description":"Running position at the halfway point of the race.","group":"Basics","shown":true,"written":false},{"name":"finish_position","label":"Finish position","description":"Finishing position.","group":"Basics","shown":true,"written":false},{"name":"closing_position","label":"Closing position","description":"Running position when the last 10% of the race laps began.","group":"Basics","shown":true,"written":false},{"name":"closing_positions_gained","label":"Closing positions gained","description":"Positions gained in the last 10% of laps (NASCAR calls it closers): closing position minus finishing position, negative when positions were lost.","group":"Basics","shown":true,"written":false},{"name":"best_position","label":"Best position","description":"Best running position during the race.","group":"Basics","shown":true,"written":false},{"name":"worst_position","label":"Worst position","description":"Worst running position during the race.","group":"Basics","shown":true,"written":false},{"name":"average_running_position","label":"Average running position","description":"Average running position over the laps the driver ran.","group":"Basics","shown":true,"written":false},{"name":"green_flag_passes","label":"Green flag passes","description":"Cars the driver passed under green.","group":"Basics","shown":true,"written":false},{"name":"green_flag_times_passed","label":"Green flag times passed","description":"Times the driver was passed under green.","group":"Basics","shown":true,"written":false},{"name":"green_flag_passing_differential","label":"Green flag passing differential","description":"Green-flag passes minus times passed.","group":"Basics","shown":true,"written":false},{"name":"quality_passes","label":"Quality passes","description":"Green-flag passes of cars running in the top 15.","group":"Basics","shown":true,"written":false},{"name":"fastest_laps","label":"Fastest laps","description":"Laps on which the driver ran the fastest lap of the field.","group":"Basics","shown":true,"written":false},{"name":"top15_laps","label":"Top 15 laps","description":"Laps the driver ran in the top 15.","group":"Basics","shown":true,"written":false},{"name":"laps_led","label":"Laps led","description":"Laps the driver led.","group":"Basics","shown":true,"written":false},{"name":"laps_completed","label":"Laps completed","description":"Laps the driver completed.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"season","label":"Season","help":"Season, from 2019. Empty for the current season (the previous one in January).","example":"2026","written":false},{"name":"series","label":"Series","help":"cup (the default), xfinity (now the O'Reilly Auto Parts Series) or truck (the Craftsman Truck Series).","example":"cup","written":false},{"name":"race_ids","label":"Race IDs","help":"NASCAR race ids, such as 5601; a race name or track also works, such as Daytona. Every race of the season held so far when empty.","example":"5601","written":false}]}},"incidents":[]}