Odds data API: 250+ bookmakers live in the UK & Ireland and 20 more regions. Raw prices everywhere, UK & Irish books, bet365 included, matched to exchange lays.
We're OddsRelay, an odds data API. 250+ bookmakers live in the UK & Ireland and 20 more regions: raw prices everywhere, and UK & Irish books, bet365 included, matched to lays on Betfair, Smarkets and Matchbook. Start free: https://t.co/22oxScJmZS
The moneyline is the US name for head to head: a bet on who wins, with no points handicap. In the feed it is the h2h key in every region, and markets=moneyline answers 400 unknown_market with the valid keys.
https://t.co/fZ29dS2ROD
An event keeps its id at kick-off. Ask with inPlay=include, read the in_play flag, and the loop that watched a match before the start keeps watching it in play.
The script, standard library only: https://t.co/hJb18gVI1s
When two event ids turn out to be one fixture, the feed keeps the first one served and lists the other in that event's previous_ids. A product that stores fixtures can fold the two records into one.
How fixtures, markets and lines are named: https://t.co/6NAfieSmw3
Asking for an event by id once it is in play? Add inPlay=include.
Without it, the event route answers 404 unknown_event for a match under way, and the error message now says to ask with inPlay=include: https://t.co/zsE77k3OZq
A lay price means little without the money behind it. lay[].available says how much is there at that price.
A lay stake bigger than it waits unmatched or goes at a worse price, which raises the qualifying loss: https://t.co/QFdqd8AdSb
The matched boards take a kick-off window. Send commenceTimeFrom and commenceTimeTo to keep the reply to the events starting between them.
The other filters are in the guide: https://t.co/rrinZ9fPSk
Work back from the moment your user acts. If they act before the off, pre-match prices are the whole job.
A pre-match build should still hide any row whose start time has passed. Once play starts, that price is history: https://t.co/It4IxS6NcA
One fixture has one id on every route. A raw event's id and a matched event's event_id for the same match are the same string.
So a tool that reads both feeds can join them on it: https://t.co/2m01S4kLie
Every reply says which odds format it carries. meta.odds_format reads decimal unless you asked for American where the feed allows it.
Times come as ISO-8601 UTC, or as epoch seconds with dateFormat=unix: https://t.co/KwW67AylpJ
Read GET /v2/sports first: it lists the market keys seen under each competition. A key the feed has not seen is refused with 400 unknown_market and the valid list: https://t.co/xnR5g5XSwP
Implied probability makes price moves readable. A shortening from 3.00 to 2.50 moves the implied chance from 33.33 to 40.00 per cent. The same 0.50 from 10.50 to 10.00 moves it by 0.48 of a point.
For decimal odds it is one divided by the price: https://t.co/bS7vsATGxl
Each-way terms are on the raw feed for golf as well as horse and greyhound racing. A winner market sold each-way has places, place_fraction and extra_place, true when it pays more places than standard.
A win-only market has none of them: https://t.co/hqspEdV7rd
Every back leg on the dutching feed carries a dutch_id. Group one market's offers by it, then each dutch returns 100 ÷ the sum of 1 ÷ price.
Group by dutch_id, never by line: Over 2 can sit in one dutch with Under 2.5. https://t.co/mWar1cLoRy
Raw exchange back quotes now carry back_available, the stake that can be matched at the best back price. It sits beside available at the best lay, on Betfair, Smarkets and Matchbook.
includeLiquidity=false leaves both out: https://t.co/Tw3X0uDyJG