Skip to main content

Base URL

https://v2.motorsport.sportsapipro.com

Authentication

All requests require an x-api-key header:
curl -H "x-api-key: YOUR_API_KEY" \
  https://v2.motorsport.sportsapipro.com/api/live

Motorsport-Specific Notes

  • Events are races/sessions — not matches. Each session (FP1, FP2, FP3, Qualifying, Sprint, Race) is a separate event
  • Race weekends — 4-6 sessions per Grand Prix weekend (Friday-Sunday)
  • Categories — Championship types (F1=36, MotoGP=1325, Moto2=1580, Moto3=1581, IndyCar=1527)
  • Score format — Finishing positions (P1-P20+), championship points
  • Participants — 20+ drivers/riders on track simultaneously
  • Off-weekends — During breaks there may be 0 events

Race Weekend Structure

Formula 1 (typical)

DaySessions
FridayFree Practice 1, Free Practice 2
SaturdayFree Practice 3, Qualifying (or Sprint Qualifying)
SundaySprint Race (some weekends), Grand Prix

MotoGP (typical)

DaySessions
FridayFree Practice 1, Free Practice 2
SaturdayFree Practice 3, Qualifying, Sprint Race
SundayGrand Prix

Championship Points (F1 2025+)

PositionPoints
P125
P218
P315
P412
P510
P6-P108, 6, 4, 2, 1
Fastest Lap (if top 10)+1

Key Motorsport Statistics

StatDescriptionContext
Lap TimeTime to complete one lapFastest lap is a key metric
Pit StopsNumber and duration of pit stopsStrategy indicator
OvertakesPosition changes during raceExcitement metric
Grid PositionStarting positionFrom qualifying
GapTime behind leaderShows race competitiveness
DNFDid Not FinishRetirement from race

Endpoint Categories

CategoryCountDescription
Live & Schedule7Live sessions, schedules
Search & Discovery7Search, categories, news
Tournament / Championship21Championship data, seasons, standings
Race / Event23Race details, stats, odds
Team / Constructor12Constructor profiles, drivers
Driver16Driver stats, career data
Team Principal / Venue8Principals, circuits
Total94

Example Requests

curl -X GET "https://v2.motorsport.sportsapipro.com/api/live" \
  -H "x-api-key: YOUR_API_KEY"

UI Design Ideas

  • Starting grid view: Use /match/{id}/lineups — show grid positions (pole position highlighted)
  • Race results: Show finishing order with gaps (“+5.2s”, “+1 lap”, “DNF”)
  • Championship standings: Two standings — Drivers Championship and Constructors Championship
  • Race calendar: Show full season calendar with circuits — use .../rounds + .../venues
  • Lap chart: Use /match/{id}/graph — show position changes lap-by-lap
  • Team colors: F1 teams have distinctive colors — display branding prominently
  • Session types: Clearly label Practice/Qualifying/Sprint/Race — very different contexts
  • DNF/DNS: Handle “Did Not Finish” and “Did Not Start” statuses
  • Fastest lap: Show which driver set it — prestigious stat
  • Weather: Rain transforms races — show prominently if available

MotoGP Championship Points

PositionPoints
P125
P220
P316
P4-P15Decreasing scale

Sport Comparison — Motorsport vs Other Sports

FeatureMotorsportFootballTennis
Event typeRace (20+ drivers/riders)Match (2 teams)Match (2 players)
ScoringFinishing position, championship pointsGoalsSets/games
DurationRace: 1-2 hrs; Weekend: Fri-Sun~90 min1-5 hours
Key statsLap times, pit stops, overtakesGoals, assistsAces, winners
Participants20+ on track simultaneously22 (11v11)2
Season structureRace calendar (20-24 Grand Prix)League + cupsTour events