Discovery

The bookmaker and exchange keys the API serves in a region, with each one's display name, regions and kind. Free; not scoped to your key's regions. With no region: the venues of the default region (uk) in service. A venue between reads, quiet overnight or down for hours or days stays listed; one taken out of service is left off, and comes back by itself when its prices do. With region: that region's venues, the code read as every discovery route reads it. With an international region (any code but uk): only the venues with events there now, the ones /v2/regions counts; a venue without events is left off until it serves again, and comes back by itself when it does. So a venue key in a history answer, or in raw's meta.removed as its venue stops serving, can be one this list leaves off now. A bookmakers or exchanges filter naming a venue left off is still accepted: it matches nothing while the venue has no prices.

get/v2/bookmakers

Request

  • Base URL
    https://api.oddsrelay.io
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

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).

format, 'envelope' | 'bare'

envelope (default): {meta, data}. bare: the data array alone, meta moved to X-* headers.

Response

The catalogue. Gzip unless refused (over 1 kB).

union required
object required
OR
Venue[] required

Changes

    • breaking

      added subschema #1 subschema #2 to the response body oneOf list for the response status

    • info

      added the new optional query request parameter region

    • info

      removed subschema #1 subschema #2 from the response body oneOf list for the response status

    1 more change in this revision