NASCAR API – Replay Simulations
We've added replay simulation coverage for NASCAR in our API Simulations tool. NASCAR is now selectable through the same Simulations/Replay API as every other sport, with recorded race weekends covering practice, qualifying, and the race itself.
⭐ Benefit
Build and test NASCAR integrations against a real recorded race weekend on demand, instead of waiting for a live race. You can exercise race, practice, and qualifying status transitions, flag-state changes, and the lap-by-lap leaderboard updates that only occur while a race is running — at any time, including outside the NASCAR season.
📋 Recommended Actions
- Pass a series alias as the league value on both the recordings query and the replay path:
mc(Cup),or(O'Reilly Auto Parts), orcw(Trucks). - Read the feed list from the
apisarray on the recording response rather than hardcoding it. NASCAR recordings exposenascar-race-leaderboard,nascar-practice-leaderboard, andnascar-qualifying-leaderboard— not theboxscore/game/pbp/rostersset used by the league sports. Passing a feed name from another sport's example returns an error rather than data. - Check availability per series. Recording coverage varies by series, so query each alias you care about rather than assuming all three are populated. At release, one Cup Series (
mc) recording is available; additional races will follow soon. - Both
jsonandxmlare available on every NASCAR feed — setcontentTypeto match the format your integration consumes.
☑️ Sample Requests:
Fetch NASCAR recordings (Cup Series)
curl --location 'https://playback.sportradar.com/graphql' \
--header 'Content-Type: application/json' \
--data '{
"query": "query getRecordings($league: String) { recordings(league: $league) { id scheduled meta league sport start end title apis { name description apiType formats versions } } }",
"variables": {
"league": "mc"
}
}'Register a session
curl --location --request POST 'https://playback.sportradar.com/graphql' \
--header 'Content-Type: application/json' \
--data-raw '{
"query":"mutation CreateSession($input: CreateSessionInput!) { createSession(input: $input) }",
"variables":{
"input":{
"recordingId":"433c2a5c-e50c-4a5e-a768-358b8820576f"
}
}
}'Replay the race leaderboard
curl --location --request GET 'https://playback.sportradar.com/replay/mc/433c2a5c-e50c-4a5e-a768-358b8820576f?feed=nascar-race-leaderboard&contentType=json&sessionId={sessionId}'🔢 Products
| Sport | Product | Version(s) |
|---|---|---|
| Racing | NASCAR API | v3 |
🔁 Simulation Feeds
| Feed | Reference page |
|---|---|
nascar-race-leaderboard | Race Leaderboard |
nascar-practice-leaderboard | Practice Leaderboard |
nascar-qualifying-leaderboard | Qualifying Leaderboard |
⚙️ Return Samples
{
"data": {
"recordings": [
{
"id": "433c2a5c-e50c-4a5e-a768-358b8820576f",
"scheduled": "2026-09-13T19:00:00.000Z",
"meta": {
"raceId": "51593289-9cac-42cd-a421-989443ddd737",
"season": 2026,
"series": "mc",
"eventId": "3ccd18e0-25d7-454c-9eda-c38a09518eab",
"raceName": "Enjoy Illinois 300",
"eventName": "NASCAR Cup Series at Gateway",
"scheduled": "2026-09-13T19:00:00+00:00",
"qualifyingScheduled": "2026-09-12T20:35:00+00:00"
},
"league": "mc",
"sport": "nascar",
"start": 1789326909282,
"end": 1789352004344,
"title": "NASCAR Cup Series at Gateway - Enjoy Illinois 300",
"apis": [
{
"name": "nascar-race-leaderboard",
"apiType": "rest",
"formats": ["json", "xml"],
"versions": ["v3"]
},
{
"name": "nascar-practice-leaderboard",
"apiType": "rest",
"formats": ["json", "xml"],
"versions": ["v3"]
},
{
"name": "nascar-qualifying-leaderboard",
"apiType": "rest",
"formats": ["json", "xml"],
"versions": ["v3"]
}
]
}
]
}
}{
"id": "51593289-9cac-42cd-a421-989443ddd737",
"name": "Enjoy Illinois 300",
"status": "warmup",
"condition": "warmup",
"number": 28,
"distance": 300,
"laps": 240,
"stage_count": 2,
"current_stage": 1,
"scheduled": "2026-09-13T19:00:00+00:00",
"start_time": "2026-09-13T19:00:00+00:00",
"laps_completed": 0,
"track": {
"name": "World Wide Technology Raceway at Gateway",
"distance": 1.25,
"shape": "Oval",
"id": "0562038b-e8cc-4f69-b29a-59c46aae8f6d"
},
"flags": [
{
"sequence": 1,
"lap": 0,
"flag_state": "warmup",
"created_at": "2026-09-13T18:31:22+00:00"
}
],
"results": [
{
"start_position": 1,
"position": 1,
"status": "ontrack",
"points": 55,
"laps_led": 1,
"laps_completed": 0,
"car": {
"number": "22",
"crew_chief": "Paul Wolfe",
"id": "23a4be38-3039-4757-94f5-b4e478e4d7f8",
"manufacturer": { "id": "12844047-ab59-43ca-ab6c-c10d54931715", "name": "Ford" },
"team": { "id": "e337709c-9fb6-4275-ad89-d9c100e71a1d", "name": "Team Penske" }
},
"driver": {
"first_name": "Joey",
"last_name": "Logano",
"full_name": "Joey Logano",
"points_eligible": true,
"in_chase": true,
"id": "894b273e-ce7d-446c-9ab0-d9a474ce9d7f"
}
}
]
// ... 35 additional driver results omitted for brevity ...
}