Analytics
Position Distribution at Lap N
Full 20-position probability distribution per driver at the requested lap number. Returns the CTMC steady-state distribution from the most recently persisted lap. Live on-demand projection to a future lap requires the in-memory Q matrix (available only during live ingest). The note field in the response documents this constraint. Requires the Custom plan.
get/v1/analytics/position-at-lap
Request
- Base URL: https://api.racehooks.io
- URL: https://api.racehooks.io/v1/analytics/position-at-lap
- Auth: API key in header Authorization
Query parameters
lapinteger
Requested future lap number (label only — distribution is from the current CTMC steady-state)
lapsAheadinteger
Alternative: number of laps ahead of the current lap
Response
Default Response
Changes
No recorded changes to this operation across all 1 revision of this API.