WRC rally research
Build a sourced WRC season, rally, stage, or championship brief with the
routes in reference/endpoints.md. SofaScore keeps
competition IDs separate from season and event stage IDs; resolve each ID from
the preceding discovery response. The official WRC results and standings
page is useful for event names and championship context.
Resolve the championship and calendar
- Call
sofascore_stage_categorieswithsport=motorsportand select the competition whose returned name is WRC. Use its competitionidwithsofascore_stage_seasons; a competition ID is not a stage ID. - Pass the selected season's stage
idtosofascore_stage_substagesto list the rally events. Preserve the returned event IDs, rounds, dates, status, circuits, and winners. 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 day filter: use each row'son_datefield to identify sessions that start on the requested day. - Competition and source coverage can change. If WRC is absent from the returned catalog or the selected season has no events, report that result; do not substitute another series or infer coverage.
Research a rally and its stages
- Use
sofascore_stage_substageswith the rally event ID to discover its special stages. A rally event and an individual stage have different IDs. - Call
sofascore_stagefor an individual stage's status and detail, andsofascore_stage_standingswithtype=competitorfor its published result. Preserve the upstream row order, gaps, retirement labels, and any omitted fields. - After a rally is finished,
sofascore_stage_driver_performancecan show each driver's progress across special stages. It is not a live feed and may return not found for an unfinished event or a series without this coverage. - Use
sofascore_stage_standingswithtype=competitoron a season stage ID for the published championship standings. Team classifications are not available for every competition; a missing classification is not a zeroed table. Do not recompute totals or combine classifications from different stages. - Keep WRC and support-series competitions separate when the source lists them independently. Do not infer class equivalence, crew changes, penalties, or championship points from names or stage results.
Deliverable
Label each table as a season calendar, rally event, special-stage result, driver stage progress, or championship standings. Include the competition, season and stage IDs, source status, retrieval time, and UTC context for schedule timestamps. State when data is missing, unfinished, or unpublished. Cite the exact Crawlora endpoint and link the official WRC results page for context. Report results as published; do not turn them into betting picks, predictions, or unsupported performance claims.
Calling the API
# Find WRC's competition ID, then discover season stage IDs
scripts/crawlora.sh /sofascore/stage-categories sport=motorsport | jq '.'
scripts/crawlora.sh /sofascore/stage-seasons id=<wrc-competition-id> | jq '.'
# List rallies and resolve one rally's special stages
scripts/crawlora.sh /sofascore/stage-substages id=<season-stage-id> | jq '.'
scripts/crawlora.sh /sofascore/stage-substages id=<rally-event-stage-id> | jq '.'
# Read one special-stage classification or finished-rally driver progress
scripts/crawlora.sh /sofascore/stage-standings id=<stage-id> type=competitor | jq '.'
scripts/crawlora.sh /sofascore/stage-driver-performance id=<finished-rally-stage-id> | 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.
