Rival intent. Strategy alternatives.
One race context.
Review pit-stop forecasts, underlying pace and strategy scenarios alongside your own analysis. Explore recorded-race outputs and discuss the data, integration and evaluation your team needs. Model outputs require Custom; the observed timing and stint integrations below are available on Developer.
Review the next decision, then the data behind it
Rival pit-stop forecasts
Review per-driver pit probability and window state alongside observed stint age and compound. Discuss forecast horizons, eligible states and limitations in a Custom evaluation.
Scenario and performance review
Compare strategy scenarios, underlying pace and tyre-state outputs in recorded race context. Agree which decisions to evaluate and what customer-supplied data or integration is required.
Live strategy monitoring
Compound, stint age, and new-set state per car, updated as the session runs, with pit stops and stationary time arriving as each one completes. The rival plan stops being something an engineer infers from a TV feed and becomes a field you can put a rule on.
Undercut & pit-loss modelling
Pit-lane durations in milliseconds with the in and out laps attached, against lap and sector times for every car on track. That is both halves of an undercut calculation — the time lost in the lane and the time the out-lap actually returned — for your own model rather than ours.
Degradation & long-run analysis
Stint histories with compound and tyre age, lap-by-lap times behind them, and circuit-side air and track temperature on the same clock. Fit your own degradation curve on Friday long runs and carry it into Sunday, with practice sessions replayable on demand.
Post-session debrief & simulation input
Reach back for the numbers a debrief needs — stints, stops, lap times, tyre allocation, weather — for supported races and sessions; coverage varies by era. The same shapes a live subscriber receives, so a simulator fed from the archive and a simulator fed from the session read the same fields.
One payload, straight onto the screen
A strategy tool needs three things during a session: the rival plan as it stands, the moment something changes, and confidence that the data reached you when it happened. The payload above is the middle one; these are all three.
Rules on structured fields, not on someone watching a screen. A stop completing, a flag changing, and rain starting are three different feeds and one alerting path.
The stationary time is the number a debrief argues about, and it is on your side of the wire while the car is still on the out-lap.
Example interfaces, rendered from the fields above: your product, your design system. Nothing here is a template you have to adopt.
The endpoints that build it
Every route is Bearer-authenticated and versioned under /v1. Base URL https://api.racehooks.io/v1.
| Method | Path | What it gives you |
|---|---|---|
| POST | /v1/webhooks | Subscribe an endpoint to a feed. Filter by driver at subscription time when only a handful of cars matter to the call. |
| GET | /v1/stream | Server-Sent Events over one long-lived connection — for a pit-wall or garage tool with no public webhook host. |
| GET | /v1/data/races/:raceId/tyres | Tyre allocation and compound usage for a round; pitstops on the sibling route gives the stop that ended each stint. |
| GET | /v1/data/events/:eventId/pace | Session pace across an event weekend — the Friday long-run picture a Sunday plan is built on. |
| GET | /v1/historical/:season/:round/stints | Stint plans for covered rounds in the archive, with pitstops, laps, and weather on sibling routes. |
| GET | /v1/simulate/sessions | Replay a real session at any speed from 0.1× to 120× into your own tooling — a strategy tool tested on a race that already happened. Developer unlocks 10 distinct current-season sessions; the full archive is Custom. |
tire.currentCurrent compound per driver with tyre age and the new-set flag — the rival plan as it stands right now.tire.stintsEach car's complete stint list — compound, new or used set, tyre age, laps run, best lap — re-sent whole whenever it changes.pit.lane-timesPit-lane duration in milliseconds with pit-in and pit-out laps — the pit-loss half of an undercut calculation.pit.stop-seriesThe full stop history per driver. pit.stops carries the reported single-stop record when it arrives.timing.lap-historyAccumulated per-driver lap series — the pace half of the same calculation.timing.dataPosition, leader gap and interval, lap and sector times, every lap, every car.weather.data-seriesAir and track temperature, humidity, and rainfall over the session, on the same clock as the laps.race-control.messagesSafety car, VSC, and red flag — the moments that rewrite a pit-loss assumption mid-race.Developer includes all 29 live data feeds, not just the ones above; the remaining 26 in the 56-feed catalog are the Custom analytics feeds. Every id, cadence, and payload schema is documented.
Three ways the data reaches you
Pick per integration. You can run all three against one API key. Webhook and SSE frames are both counted as deliveries (Free pauses at its monthly limit; Developer has no delivery limit); REST reads count against the request rate limit instead.
Webhook
Push · defaultRegister an HTTPS endpoint and subscribe it to feeds. RaceHooks POSTs events as source updates arrive. Every payload is HMAC-SHA256 signed, retried with exponential backoff on failure, and every attempt is logged in your console with headers, status, and latency.
POST /v1/webhooks
{ "webhookUrl": "https://your-app.com/hook",
"feedId": "events.race" }SSE stream
Push · no public URLOpen one long-lived connection and read frames as they arrive — no public webhook server to host or expose. Each frame is `event: <feedType>` + a JSON `data:` line, with a ping every 30s so proxies hold the connection open. Auth by Bearer header, or `?token=` for browser EventSource, which cannot set headers.
GET /v1/stream?feeds=raceevent,timingdata
Authorization: Bearer $TOKENREST
Pull · on demandQuery completed and reference data directly whenever you need it: results, standings, laps, stints, pit stops, and the segment endpoints above. Use it to backfill history, hydrate a new user, or reconcile after an outage rather than to follow a live session.
GET /v1/historical/2026/16/results
Authorization: Bearer $TOKENTest the whole thing on a quiet Tuesday
Simulate replays a real current-season session through your own webhooks at any speed from 0.1× to 120×. Your integration receives the exact payloads it would in a live race (real data, known result) so you can validate strategy logic end to end before a live session ever runs. Free includes 5 sessions, Developer 10; Custom replays the full archive.
How Simulate works →What the ML layer adds for strategy
Everything above is the observed record: what every car is on, what every stop cost, what the track was doing. Custom adds the decision surfaces on top of it — our own models over the same session, so a call has a number next to it. Model outputs publish only on supported sessions, schedules and eligible race states. Review the output contracts and evaluation scope with us.
Pit decision surfaces & window state
analytics.strategy carries per-driver pit probability, window, plan, and call; analytics.pit-window fires OPEN and URGENT by combining that probability with undercut viability. The pit-stop and pit-window-survival models behind them are two of the fourteen in the fleet.
Tyre cliff, compound choice & stop quality
analytics.tire-strategy gives next-compound probabilities for a car approaching its window, and analytics.pit-quality scores a completed stop against expected stationary time — the debrief question answered before the debrief.
True pace, stripped of the race
analytics.true-pace separates a car's real pace from fuel load, tyre age, and traffic, and timing.mini-sectors shows where in the lap the difference actually lives. The long-run read a Friday is spent building.
Weather-driven strategy alerts & team radio
weather.tire-mismatch flags a car on slicks with rain falling or imminent, weather.compound-crossover fires when conditions cross into a different compound, and radio.transcript is what the pit wall and the driver actually said, transcribed.
Bring us your next race decision.
Tell us what you need to decide. We’ll walk through the relevant models, outputs and scope of an evaluation.