IndyCar race research
Build a sourced IndyCar race-weekend, season, or championship brief with the
endpoints in reference/endpoints.md. SofaScore's
motorsport stages use separate competition IDs, season stage IDs, and race
event stage IDs. Resolve each ID from the preceding discovery response. The
official IndyCar schedule and results
provides event context outside this SofaScore data workflow.
Resolve IndyCar seasons and races
- Call
sofascore_stage_categorieswithsport=motorsportand select the returned Indycar competition. Use its competitionidwithsofascore_stage_seasons; a competition ID is not a stage ID. - Pass the selected season's stage
idtosofascore_stage_substagesto list race events. Preserve event IDs, rounds, dates, status, venues, and winners as returned. Usesofascore_stagefor an event's detail. - For date-based discovery, call
sofascore_stage_schedulewithsport=motorsportand a real UTC date. The result is a nearby schedule, not a strict one-day filter; useon_dateto distinguish events whose highlighted session starts on the requested UTC date. sofascore_stage_featuredis a current featured snapshot, not the complete IndyCar calendar. Use season discovery and child events for full-season coverage.
Research a race weekend
- Use
sofascore_stage_substageswith an event stage ID to discover the sessions the source publishes. Some weekends have multiple races; follow the returned child stages rather than assuming one race or a fixed session order. - Use
sofascore_stagefor a session's status and detail, thensofascore_stage_standingswithtype=competitorfor its published classification. Keep practice, qualifying, starting-grid, race, and season results distinct. Preserve source row order, points, non-finishes, and omitted fields. - On a season stage ID,
sofascore_stage_standingswithtype=competitormay return the published championship table. If team standings are requested, trytype=teamonly for the selected stage and report unavailable classifications when the source returns not found; never infer team totals from driver rows. - Do not compute championship points, reorder source classifications, or present practice or qualifying times as finishing results or predictions.
Deliverable
Label each table as a season calendar, race event, session classification, or championship table. Include the competition, season, event, and session IDs, source status, retrieval time, and UTC context for timestamps. State when data is unfinished, missing, or unpublished. Cite the exact Crawlora endpoint and link the official IndyCar schedule for context. Do not turn results into betting picks or unsupported performance explanations.
Calling the API
# Discover the IndyCar competition and season stage IDs
scripts/crawlora.sh /sofascore/stage-categories sport=motorsport | jq '.'
scripts/crawlora.sh /sofascore/stage-seasons id=<indycar-competition-id> | jq '.'
# List races and resolve one race's sessions
scripts/crawlora.sh /sofascore/stage-substages id=<season-stage-id> | jq '.'
scripts/crawlora.sh /sofascore/stage-substages id=<race-event-stage-id> | jq '.'
# Read a session classification or season standings
scripts/crawlora.sh /sofascore/stage-standings id=<session-stage-id> type=competitor | jq '.'
scripts/crawlora.sh /sofascore/stage-standings id=<season-stage-id> type=competitor | jq '.'
Use the bundled scripts/crawlora.sh helper for requests; it keeps the API
key out of command-line arguments. The helper accepts only this skill's
documented GET routes.
