Service

The home page's live arbitrage and pairs, keyless

Changed on

THE OddsRelay HOME PAGE'S DISPLAY ROUTE, NOT FOR INTEGRATION: build on the matched boards. One live football arbitrage and five back/lay pairs, worked out from the dutching and standard boards. Each arb leg, and each pair's back and lay, carries link: that venue's page for the event as the board carries it, https only, left out where the board has none; no other field holds a link. arb: football h2h only, kick-off at least 10 minutes away, one dutch's back legs covering the home team, Draw and the away team once each at three different bookmakers, rated 100 < 100 / Σ(1 / price) ≤ 110 (gross); the highest wins, a tie to the earlier kick-off; rating is that figure to two places; null when no set passes. pairs: team sports and horse racing only, markets h2h, totals, btts, correct_score, double_chance, draw_no_bet, half_time_full_time and racing's win (never a selection that names a person); kick-off at least 10 minutes away; per outcome the highest back against the lowest lay with at least 20 available, as the board pairs them, kept only when back > lay, at most 125 % and still winning after the exchange's commission (5 % on betfair_exchange, 2 % on any other: back × (1 − c) > lay − c), else that outcome shows none; at most one per event, the five with the highest 100 × back ÷ lay, best first; [] when none passes. selection is the outcome's name with its line when the name lacks it (Over 2.5); a racing pair carries venue in place of the teams. generated_at is the older board's processed_at: the data's age (the reply's own time when no board is held). While boards warm it answers arb null and pairs [] in a 200. KEYLESS: the per-address shield only, a key header is ignored, no token is spent. Cache-Control: public, max-age=10; ETag the content label, 304 on a match; Access-Control-Allow-Origin: * on every reply, refusals and errors included. Plain JSON (never gzip).

get/v2/spotlight

Request

  • Base URL
    https://api.oddsrelay.io
  • Auth
    none required

Query parameters

region, string

ONE lowercase region code (/v2/regions lists yours). Missing means uk: on a data route only when your key covers uk, else 400 region_required naming your account's home region or another code your key reads; on discovery and keyless routes always. A comma list is 400 bad_request on every route but /v2/odds/raw (which reads a list of international codes as one board: see its region); the parameter sent twice or an uppercase code is 400 bad_request on every route; an unknown code, or one with no live bookmaker here, is 404 unknown_region; on a data route, a known code that does not serve the route's product is 403 product_not_in_region instead (standard?region=au).

Response

The selection.

Spotlight required
region, string required
generated_at, string required

ISO-8601 UTC, whole seconds: the older board's processed_at, or the reply's own time when no board is held.

arb, SpotlightArb nullable required
pairs, SpotlightPair[] required

Changes

    • warning

      added the new date_out_of_range enum value to the allOf[subschema #2]/error/code response property for the response status

    • warning

      added the new no_history enum value to the allOf[subschema #2]/error/code response property for the response status

    • warning

      added the new too_many_downloads enum value to the allOf[subschema #2]/error/code response property for the response status

    10 more changes in this revision