{"api":{"id":"api_1763a7f140318de31ab46d78","slug":"nascar-lap-times","name":"NASCAR Lap Times API","description":"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.","kind":"ready_made","visibility":"public","domain":"cf.nascar.com","source_url":"https://cf.nascar.com/cacher/2026/1/5601/lap-times.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":19,"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, driver id and lap, such as 5601-4023-120.","required":true,"coverage":1,"example":"5601-4023-0"},{"name":"url","type":"url","description":"NASCAR's lap times file for the race, as JSON.","required":false,"coverage":1,"example":"https://cf.nascar.com/cacher/2026/1/5601/lap-times.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":"driver_id","type":"string","description":"NASCAR's id of the driver (the same id NASCAR uses in its results and loop data).","required":false,"coverage":1,"example":"4023"},{"name":"driver_name","type":"string","description":"Driver's 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":"manufacturer","type":"string","description":"Car make, such as Chevrolet, Ford, Toyota or Ram.","required":false,"coverage":1,"example":"Ford"},{"name":"final_running_position","type":"integer","description":"The driver's running position at the end of the race, the same on each of the driver's rows.","required":false,"coverage":1,"example":1},{"name":"lap","type":"integer","description":"Lap number; 0 is the start.","required":false,"coverage":1,"example":0},{"name":"lap_time","type":"number","description":"Lap time in seconds.","required":false,"coverage":0.8,"example":34.714},{"name":"lap_speed_mph","type":"number","description":"Average speed over the lap, in mph.","required":false,"coverage":0.8,"example":155.557},{"name":"running_position","type":"integer","description":"Running position at the end of the lap (the starting spot on lap 0).","required":false,"coverage":1,"example":9},{"name":"flag_state","type":"string","description":"Flag the lap was completed under: green, caution, red, white or checkered; pre_race on lap 0.","required":false,"coverage":1,"example":"pre_race"},{"name":"is_caution_lap","type":"boolean","description":"True for a lap completed under caution or a red flag, false under green, white or checkered; empty on lap 0.","required":false,"coverage":0.8,"example":false}],"inputs":[{"name":"season","type":"integer","description":"Season, from 2020. 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, newest first, when empty.","example":["5601"]},{"name":"drivers","type":"array","description":"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"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"car_number":{"description":"Car number, as text (numbers such as 01 keep their zero).","type":"string"},"driver_id":{"description":"NASCAR's id of the driver (the same id NASCAR uses in its results and loop data).","type":"string"},"driver_name":{"description":"Driver's name.","type":"string"},"final_running_position":{"description":"The driver's running position at the end of the race, the same on each of the driver's rows.","type":"integer"},"flag_state":{"description":"Flag the lap was completed under: green, caution, red, white or checkered; pre_race on lap 0.","type":"string"},"id":{"description":"This row: race id, driver id and lap, such as 5601-4023-120.","type":"string"},"is_caution_lap":{"description":"True for a lap completed under caution or a red flag, false under green, white or checkered; empty on lap 0.","type":"boolean"},"lap":{"description":"Lap number; 0 is the start.","type":"integer"},"lap_speed_mph":{"description":"Average speed over the lap, in mph.","type":"number"},"lap_time":{"description":"Lap time in seconds.","type":"number"},"manufacturer":{"description":"Car make, such as Chevrolet, Ford, Toyota or Ram.","type":"string"},"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_name":{"description":"Name of the race, such as DAYTONA 500.","type":"string"},"running_position":{"description":"Running position at the end of the lap (the starting spot on lap 0).","type":"integer"},"season":{"description":"Season.","type":"integer"},"series":{"description":"cup, xfinity or truck.","type":"string"},"track_name":{"description":"Track, such as Homestead-Miami Speedway.","type":"string"},"url":{"description":"NASCAR's lap times file for the race, as JSON.","format":"uri","type":"string"}},"required":["id"],"title":"NASCAR Lap Times API","type":"object"},"samples":[{"id":"5601-4023-0","url":"https://cf.nascar.com/cacher/2026/1/5601/lap-times.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","driver_id":"4023","driver_name":"Ryan Blaney","car_number":"12","manufacturer":"Ford","final_running_position":1,"lap":0,"lap_time":null,"lap_speed_mph":null,"running_position":9,"flag_state":"pre_race","is_caution_lap":null},{"id":"5601-4023-1","url":"https://cf.nascar.com/cacher/2026/1/5601/lap-times.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","driver_id":"4023","driver_name":"Ryan Blaney","car_number":"12","manufacturer":"Ford","final_running_position":1,"lap":1,"lap_time":34.714,"lap_speed_mph":155.557,"running_position":12,"flag_state":"green","is_caution_lap":false},{"id":"5601-4023-2","url":"https://cf.nascar.com/cacher/2026/1/5601/lap-times.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","driver_id":"4023","driver_name":"Ryan Blaney","car_number":"12","manufacturer":"Ford","final_running_position":1,"lap":2,"lap_time":33.379,"lap_speed_mph":161.778,"running_position":12,"flag_state":"green","is_caution_lap":false}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"car_number":1,"driver_id":1,"driver_name":1,"final_running_position":1,"flag_state":1,"id":1,"is_caution_lap":0.67,"lap":1,"lap_speed_mph":0.67,"lap_time":0.67,"manufacturer":1,"race_date":1,"race_id":1,"race_name":1,"running_position":1,"season":1,"series":1,"track_name":1,"url":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_1763a7f140318de31ab46d78/run","openapi":"https://pullrow.dev/v1/apis/api_1763a7f140318de31ab46d78/openapi.json","contract":"https://pullrow.dev/v1/apis/api_1763a7f140318de31ab46d78/contract.json","page":"https://pullrow.dev/catalog/nascar-lap-times"},"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":["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."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"This row: race id, driver id and lap, such as 5601-4023-120.","group":"Technical","shown":false,"written":false},{"name":"url","label":"Link","description":"NASCAR's lap times 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":"driver_id","label":"Driver ID","description":"NASCAR's id of the driver (the same id NASCAR uses in its results and loop data).","group":"Technical","shown":false,"written":false},{"name":"driver_name","label":"Driver name","description":"Driver's 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":"manufacturer","label":"Manufacturer","description":"Car make, such as Chevrolet, Ford, Toyota or Ram.","group":"Basics","shown":true,"written":false},{"name":"final_running_position","label":"Final running position","description":"The driver's running position at the end of the race, the same on each of the driver's rows.","group":"Basics","shown":true,"written":false},{"name":"lap","label":"Lap","description":"Lap number; 0 is the start.","group":"Basics","shown":true,"written":false},{"name":"lap_time","label":"Lap time","description":"Lap time in seconds.","group":"Dates","shown":true,"written":false},{"name":"lap_speed_mph","label":"Lap speed mph","description":"Average speed over the lap, in mph.","group":"Basics","shown":true,"written":false},{"name":"running_position","label":"Running position","description":"Running position at the end of the lap (the starting spot on lap 0).","group":"Basics","shown":true,"written":false},{"name":"flag_state","label":"Flag state","description":"Flag the lap was completed under: green, caution, red, white or checkered; pre_race on lap 0.","group":"Location","shown":true,"written":false},{"name":"is_caution_lap","label":"Caution lap","description":"True for a lap completed under caution or a red flag, false under green, white or checkered; empty on lap 0.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"season","label":"Season","help":"Season, from 2020. 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, newest first, when empty.","example":"5601","written":false},{"name":"drivers","label":"Drivers","help":"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","written":false}]}},"incidents":[]}