API Reference
The same ranked rows the Terminal screeners show, as JSON, one page at a time. Page 1 is the top of the Terminal board, in the board's own order.
| Feed | Rows are under | Paged by | Order |
|---|---|---|---|
middles | middles | row | best-first |
arbs | arbs | row | best-first |
ev | opportunities | row | EV % descending |
sgm | fixtures | fixture (each holds its own rows) | start time ascending |
multis | multis | row | ev_pct descending |
bonus | rows | row (one bonus bet) | retention_pct descending |
bonus_hedge | rows | row (a bonus bet and its hedge) | retention_pct descending |
Base URL: https://api.b337.ai · Header: X-API-Key: YOUR_API_KEY
Needs the Screeners add-on for the screener you call. Each one is granted
separately: middles access does not unlock arbs, +EV, SGM, multis or bonus, and
so on. bonus_hedge comes with the Arbitrage (arbs) add-on, as on the
Terminal, where hedged bonus bets are the Arbitrage screen's second tab;
bonus (bonus bets to spend outright) is its own add-on. Without the add-on
you get 403.
| Param | Type | Default | Description |
|---|---|---|---|
limit | int | 200 | Rows per page, 1 to 200. |
offset | int | 0 | Rows to skip. Follow next_offset from the previous page. |
sport | string | none | /v3/screener/ev only. A sport slug such as nba or soccer (lower-case letters, digits, _ and -; anything else is 422). Omit for the all-sports board. |
min_ev | float | 2.0 | /v3/screener/ev only. Minimum EV %, from -50 to 100. |
For /v3/screener/arbs the rows sit under arbs instead, with the same
epk / event / market / legs fields, and arb_pct, profit_pct and
profit_per_100 in place of the middle figures. On these two feeds sport is
the sport group (basketball, soccer) and league its display name.
| Field | Meaning |
|---|---|
middles / arbs | This page's rows, best-first. |
total | Rows on the whole board right now. |
offset, limit | Echo of the page you got. |
next_offset | Offset of the next page, or null on the last page. |
as_of_ms | Epoch ms the board was assembled. |
pub_ms | Epoch ms the board was published (after as_of_ms; the gap is the build time). May be absent. |
confidence | "low", "medium" or "high". |
legs[].age_s | How old that leg's price is. Judge a row by the oldest leg (price_age_s), not checked_ms, which only dates our read. |
The board is rebuilt continuously, so total and the order can shift between
pages. Treat a full walk as a snapshot, not a transaction. Rows may carry
fields not listed here; ignore any you do not use.
/v3/screener/evRows are under opportunities, highest EV first. limit, offset,
sport and min_ev are the only parameters.
| Field | Meaning |
|---|---|
sport | The league code (nba, nfl, epl); sport_group is its sport (basketball). |
ev_pct | Edge of odds at bookie over fair_odds. Can be null with an ev_withheld reason on a row we refuse to claim an edge for. |
prices | Every book's back price for the selection, {site: odds}. |
total | Rows left after min_ev, before paging (all-sports board). total_all is the whole board before min_ev. |
Single-sport boards are one page. With sport= set, the answer has no
total, ignores offset, and next_offset is always null. Use no sport
to walk a long board. Rows may carry more fields than listed (fair_source,
fair_books, book_ev, exchange_sizes, and others); ignore what you do not use.
/v3/screener/sgmThe cross-book same-game-multi board. The paged list is fixtures: one
entry per upcoming event, soonest start first. limit and offset count
fixtures, and total is the number of fixtures on the board. Each fixture holds
its priced combos under rows, best edge first.
partial, sports and books describe the whole board, not the page.
sport is the board's sport key (nba, nfl, soccer) and league the
league within it (nba, serie_a). rows[].leg_ids index into that
fixture's legs. prices[site].status is priced, declined,
unavailable or error; only priced carries a usable quote. edge_pct is
best execution against the other books' average, not an arbitrage. Rows may
carry more fields (independent_odds, p_win, p_one_fail, and more);
ignore what you do not use.
A combo's fair price is the product of its legs' fair (each leg's de-margined
single price) times the row's corr.uplift (how much more, or less, likely the
legs are together than apart):
The board publishes these two halves, never a finished fair or EV per row, so you can re-pick the best price under your own bookmaker filter.
| Field | Meaning |
|---|---|
corr | The correlation the fair uses: uplift, n (combos measured), books (bookmakers measured), cell (the bucket it came from). null = nothing measured for this combo yet: no fair, so no edge to claim. |
corr.method: "exact" | A 2-leg Over/Under pair on one market's line ladder ("between 2 and 4 goals"). The uplift is solved exactly from the bookmaker's own ladder, not learned, so n and books are 0 and cell is "ladder". |
corr_withheld | Present when the fair is deliberately withheld (corr is then null): unmodelled_conditional (a 3+ leg combo holding a ladder pair, whose split inside the band no model prices), degenerate_ladder (the ladder says the pair cannot happen) or engine_changed (a bookmaker changed how it prices same game multis; held back, usually for a few days). |
fair_refused | Present when corr is there but the fair it gives cannot be right, so do not use it: exceeds_ladder_subevent (it calls the combo more likely than the ladder allows) or below_every_quote (it is shorter than every bookmaker's price). |
legs[id].fair | That leg's fair single price, or null (then the combo has no fair either). |
corr_built_at_ms | When the correlation table the board read was built. |
/v3/screener/multisSame-book cross-event multis. Rows are under multis, highest ev_pct
first.
legs holds only the legs the page's rows use (look each up by leg_ids).
params and books describe the whole board: max_legs and max_odds
cap the multis at every bookmaker except TAB and Sportsbet, whose bonus-bet
multis run to bonus_max_legs legs and bonus_max_odds. A leg's sport
is its league code and sport_group its sport; a multi's sports lists its
legs' league codes. fair_support and n_families mean what they mean on
the bonus feed below.
Both sgm and multis are sliced from the full board on our side, so an
offset past the end gives an empty list and next_offset: null, not an error.
/v3/screener/bonusBonus bets to spend outright: one row per selection worth a bonus bet at one
bookmaker, highest retention_pct first (the cash a $100 bonus bet is worth on
average at that price). Rows are under rows. limit and offset are
the only parameters; the board's own floors apply (min_retention_pct).
| Field | Meaning |
|---|---|
retention_pct | (odds - 1) / fair_odds × 100: what a bonus bet at this price is worth in cash, per $100 of bonus, on average. |
fair_odds, ev_pct, fair_source | The fair price we hold for the selection, the edge of odds over it, and how the fair was built. |
fair_support | How many independent price families back the fair, not counting the row's own bookmaker's family. Bookmakers that share one pricing engine (Ladbrokes and Neds, Unibet and TABtouch) are one family. null when the fair has no known anchor; absent on a board that predates it. |
n_families | How many independent price families quote this selection at all. Absent when not computed. |
n_bookies | Bookmakers quoting it, each counted. |
total | Rows the board shows (its floors applied), the number offset walks. total_all is every row not yet started. |
books | The board's rows per bookmaker. |
stale | true when the board has stopped updating: the page then has no rows and total 0. |
Rows may carry fields not listed here; ignore any you do not use.
/v3/screener/bonus_hedgeA bonus bet paired with a hedge on the other side, so both results pay the same
and the bonus turns into cash whatever happens. The hedge is a cash bet on the
other outcome at a second bookmaker or on Betfair (kind: "back"), or a lay of
the same selection on Betfair (kind: "lay"). Every bookmaker combination
that clears the floor is its own row: one bonus bet hedged at three bookmakers is
three rows, each with its own key. Rows are under rows,
highest retention_pct first; limit and offset are the only parameters.
| Field | Meaning |
|---|---|
retention_pct | The cash locked in per $100 of bonus bet, whatever the result. |
bonus | The leg to spend the bonus bet on (always a back at a bookmaker). |
hedge.kind | back (a cash bet on the other outcome, at a bookmaker or on Betfair) or lay (lay the bonus leg's selection on Betfair). |
hedge.commission | Betfair's commission the stakes are sized with; 0 at a bookmaker. A lay with no commission must not be sized. |
hedge.size | Betfair legs only: the dollars Betfair offers at that price. A lay stake above it will not fully match. |
scraped_ms | When that bookmaker's price was read. Judge a pair by its older leg. |
sport, league | The sport group (soccer) and the league's display name. |
total | Pairs on the board right now, the number offset walks. |
Sizing a hedge for a bonus bet of B at odds X: a back at a bookmaker at
Y stakes B(X-1)/Y; a back on Betfair stakes B(X-1)/(1+(Y-1)(1-c)); a lay
at L stakes B(X-1)/(L-c), with a liability of that stake times (L-1)
(c = hedge.commission). Place the bonus bet first and size the hedge from
the stake and price the bookmaker confirms.
1 request per 5 seconds, per key, per screener. The seven feeds are counted
separately. Over the limit you get 429 with a
Retry-After header:
Use limit=200 and walk offset rather than calling often with small pages.
Walk the whole board, sleeping out the 5 second window between pages:
The hedged bonus board can hold well over 100,000 pairs: walk only as far as you need (it is best-first), not the whole board.
401: invalid API key (403 for a lapsed subscription; 422 if the X-API-Key header is missing)403: Screeners add-on required: middles (or arbs, ev, sgm, multis, bonus): your key does not have that screener (bonus_hedge needs arbs)422: limit outside 1 to 200, a negative offset, a malformed sport, or min_ev outside -50 to 100429: more than 1 request per 5 seconds on that screener. Honour Retry-After503: the screener is temporarily unavailable ({"error": "screener middles unavailable"}). Retry after a few secondsepk works in Price Check and Place Bet