markets

Retrieve markets by event ids. This should be done after getting events.

Changed on

Description

Each bettable event has a set of markets. Each market will have a set of contracts.

get/v3/events/{event_ids}/markets/

Request

Path parameters

event_idsinteger[] required

Event IDs to filter by<br>maxItems:50

Query parameters

sortstring

The only sorting option for markets is to sort by event_id and then by display order

limit_by_eventinteger

How many markets to retrieve per event, sorted by display order

popularboolean

Filter market types by the popular market types for the event type

market_typesstring

Filter markets by a list of market types separated with ,

include_hiddenboolean

Choose to include in the response markets that are not visible on the website. Hidden markets may not be displayed for a varied number of reasons, and are not available to bet on.

jurisdiction'CDG' | 'CFTC' | 'DGA' | 'IGC' | 'IRGC' | 'MGA' | 'SGA' | 'UKGC'

Jurisdiction of user

platform'exchange' | 'sbk'

Platform used by user

Response

Markets success response

Example response

{
  "markets": [
    {
      "bet_delay": 5,
      "cashout_enabled": true,
      "categories": [
        "goals",
        "half_time"
      ],
      "category": "goals",
      "complete": true,
      "contract_selections": [
        254245,
        4565452,
        7894545
      ],
      "created": "2017-12-16T00:16:25.936519Z",
      "description": "To win the event",
      "display_order": 100,
      "display_type": "bars",
      "event_id": "565413",
      "hidden": true,
      "id": "128939",
      "info": {
        "commission_rate": "0.02"
      },
      "inplay_enabled": true,
      "market_type": {
        "name": "OVER_UNDER",
        "param": "2.5"
      },
      "modified": "2017-12-21T10:58:09.279148Z",
      "name": "To win",
      "slug": "to-win",
      "state": "new",
      "winner_count": 1
    }
  ]
}

Changes

    • warning

      added the new three_ball enum value to the /// response property for the response status

    • warning

      added the new three_ball enum value to the // response property for the response status

    • info

      added the non-success response with the status

    • info

      added the new optional query request parameter platform