{"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},"version":"1.0","contract_hash":"ab094297e49838f556d373c8463ff95fb355bf59c1f712ccebf264bad4557d91","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},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:57:27.686Z","activated_at":"2026-12-06T03:57:27.686Z","active":true,"contract_hash":"ab094297e49838f556d373c8463ff95fb355bf59c1f712ccebf264bad4557d91","fields_count":33}]}