DocsAPI ReferenceMCPSDKs
AltSportsData
Public API (Betting & Odds)Events
Route Guide

Heat Scores

Get heat scores and lap times for an event heat

Route Reference

Method, path, and environment

GETAuthenticate with X-API-Key
Full route
https://api.altsportsdata.com/api/v1/public/events/{eventId}/heats/{heatId}
Base URL
https://api.altsportsdata.com
Testing Flow

Use the right pane to validate the route

01

Choose a language and confirm the environment or base URL.

02

Paste your API key, then fill in path or query parameters.

03

Run the request and inspect the live response without leaving this page.

Path Parameters

eventIdstringrequired

Unique event identifier

Optional
heatIdstringrequired

Heat/session identifier

Optional

Responses

200

OK

Response body

{
  "data": {
    "heatId": "race",
    "name": "Race",
    "results": [
      {"position": 1, "participant": "Max Verstappen", "lapTime": "1:32.478", "gap": "0.000s"},
      {"position": 2, "participant": "Lewis Hamilton", "lapTime": "1:32.912", "gap": "+5.234s"}
    ]
  }
}
400

One of the request parameters is invalid. See the returned message for details.

401

Authentication headers are missing or invalid. Make sure you authenticate your request with a valid API key.

403

The requested resource is forbidden.

429

Too many requests. You hit the rate limit. Use the X-RateLimit headers to confirm when you can retry.

500

Internal server error. Retry later, and contact support if the issue persists.