Service

Coverage per venue and sport

Changed on

One document per region, in two views. Keyless (no Authorization and no x-api-key header): per product, each (venue, sport) live or interrupted_24h, no counts and no times, then markets: per product, the market keys it carries, each one a value its markets filter takes now; the per-address shield only; Cache-Control: public, max-age=60 and Vary: Authorization, X-Api-Key, Accept-Encoding on a 200; Access-Control-Allow-Origin: * on every reply, refusals and errors included. Keyed (either header present, even empty: an invalid key is 401): your key's products the region serves, venues with rows now, their events and last_seen; on an account with a scope, only its products and, per product, the venues and sports it admits (markets are not applied: the document has no market grain; a scope that cannot be applied is 503 temporarily_unavailable); free; the flood cap applies. Both: region missing means uk, gzip over 1 kB unless refused, 503 until the first document is built.

get/v2/coverage

Request

  • Base URL
    https://api.oddsrelay.io
  • Auth
    • none
    • or 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).

Response

The keyless summary, or the keyed document.

union required
CoverageSummary required

The keyless view.

OR
CoverageKeyed required

The keyed view: your key's products the region serves.

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 exchange_history_unavailable enum value to the allOf[subschema #2]/error/code response property for the response status

    • warning

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

    16 more changes in this revision