v1

latestSwagger 2.02026-07-14152156.8 KB
sportsdata

Gets one or more specific markets

Retrieves one or more specific markets. Markets with Live at the end are always In-Play markets. However, not ALL In-Play markets have Live at the end of the market name.

get/events/{eventId}/markets/

Path parameters

eventIdstring required

The event ID to retrieve information for.

Query parameters

idsstring[]

A comma-separated list of selectionIds

includeAllDescendantsboolean

Include every descendant in the below heirarchy

fieldsstring[]

Specify an absolute field list to return (Comma-Separated List)

includestring[]

Specify fields in addition to the default to return (Comma-Separated List)

excludestring[]

Specify fields from the default to exclude (Comma-Separated List)

includeEmptyboolean

When declared as false it should exclude markets and events that have no selections / markets

culturestring

Code used to return responses in language other than English, acceptable values are en-GB|de-DE|es-ES|fr-FR|nn-NO|fi-FI|ru-RU|pt-PT|hu-HU|sl-SL|ga-IE|en-CA|sr-Latn|sv-SE|el=GR|zh-CHS|it-IT|zh-CHT|cs-CZ|de-AT|ja-JP|pl-PL|da-DK|ro-RO|nl-NL|tr-TR

marketPublishedstring

Specify whether only active entities should be returned, according to the William Hill definition of active

marketStatusstring

Specify a status to filter results by. This is currently A (active) or S (suspended)

marketDisplayedstring

Specify whether to return displayed entities or not

marketChannelstring

Specify a channel filter and only results from that channel will be returned

marketSortstring

Filter by market sort (e.g. MR (match result) -- (Outright)).

marketEWstring

Specify whether to return markets with each way betting or those without

selectionStatusstring

Specify a status to filter results by. This is currently A (active) or S (suspended)

selectionChannelstring

Specify a channel filter and only results from that channel will be returned

selectionPublishedstring

Specify whether only active entities should be returned, according to the William Hill definition of active

Headers

apiKeystring required

Your API Key available from your developer portal

Response

Success