API Reference
POST /v3/price_checkLive odds lookup across one or more bookie sessions in parallel. Returns 200 with {"status": "pending"} in ~100 ms and one correlation_id per queried session; results stream in independently as each bookie responds.
/v3/place_bet. If you haven't yet, read Async API for the 4-actor pipeline, the polling/webhook contract, and the copy-paste CLAUDE.md snippet.Fetch live odds for every runner in a race, fanned out across multiple
bookie sessions in parallel. Same async contract as
/v3/place_bet — returns
200 with status: "pending" in ~100 ms and one correlation_id per
queried session. Each session resolves independently as its bookie responds, so
you start streaming results immediately instead of waiting on the slowest
bookie.
X-API-Key: <your-api-key>
Content-Type: application/json
queries[] — one entry per session that was dispatched, each with its own
bookie, correlation_id and timeout_at (20 s after submit).
callback_registered is true/false when you sent a callback_url,
else null.errors[] — sessions that could not be dispatched ("session does not belong to user", "session is not active", "session not found", …).
The others still price. null when every session dispatched.400 with
{"detail": {"message": "No queries could be dispatched", "errors": [ … ]}}.Poll each correlation_id via POST /api/bet_status until status flips
from pending to completed (or timeout), or supply callback_url to
receive results via webhook. The session's answer arrives in the entry's
result field. Sample resolved entry:
price is the bookie's fixed win odds. place is the fixed place
odds and is only present when the bookie prices a fixed place market on that
race — no key means no fixed place price, never 0/null. (place
needs the session's engine on a client build newer than v1.8.59; older
engines return win odds only.)
bet365 Bet Boost banner. When bet365's race card shows a pre-built
"BET BOOST" banner on a runner, a bet365 session's row also carries
boost_price (the banner's boosted win price) and boost_id (bet365's own
id for the boost, informational): e.g.
{ "runner": "Pilates", "price": 2.30, "boost_price": 2.60, "boost_id": "3203786" }.
price stays the ordinary win price; no banner means no boost_price key.
To bet the boosted price send prebuilt_boost: true on
Place Bet. Needs the session's engine on
the bot release that ships it; older engines simply omit the fields.
| Field | Type | Required | Notes |
|---|---|---|---|
session_ids | array | ✅ | List of session IDs to fan out across. Each one resolves independently. |
category | "racing" | ✅ | Constant. |
track | string | ✅ | e.g. "Flemington". |
race_num | int | ✅ | Race number. |
race_type | string | optional | "(R)" thoroughbred (default), "(G)" greyhound, "(H)" harness. |
date | string | ✅ | YYYY-MM-DD. |
country | string | optional | Region code ("au", "nz", …). With date it pins the race's jump time, which stops a book matching the venue's next meeting after midnight. Recommended. |
runner | string | optional | Filter to a specific runner. |
callback_url | string | optional | http(s) URL; receives one signed POST per session as each result lands. |
Every error body is {"detail": …}.
| Status | detail | Meaning |
|---|---|---|
| 400 | "session_ids is required (list of session IDs)" | Pass a non-empty list (note: session_ids, not session_id). |
| 400 | "track, race_num, and date are required for racing" | Missing race fields. |
| 400 | "callback_url must be an http(s) URL" | Bad webhook URL. |
| 400 | "Invalid category: …" | category must be racing or sports. |
| 400 | {"message": "No queries could be dispatched", "errors": [ … ]} | Every session failed its pre-checks (unowned, inactive, unknown). One bad session among good ones lands in errors[] instead. |