Betfair Exchange
App · 9 actions
Read Betfair Exchange sports, events, markets, and prices.
Actions
| Action | What it does |
|---|---|
| Get market prices | Read market status and best available Exchange offers for up to ten market IDs. |
| List competitions | Find Betfair Exchange competitions using market filters. |
| List countries | Find Betfair Exchange countries using market filters. |
| List event types | Find Betfair Exchange event types using market filters. |
| List events | Find Betfair Exchange events using market filters. |
| List market types | Find Betfair Exchange market types using market filters. |
| List markets | Find Exchange markets and their scheduled start times. |
| List time ranges | Find Betfair Exchange time ranges using market filters. |
| List venues | Find Betfair Exchange venues using market filters. |
Get market prices
Read market status and best available Exchange offers for up to ten market IDs.
Inputs
- Market IDS
market_idslistRequired - Market IDS.
Outputs
datalist- The response from Betfair Exchange.
Example output
{
"data": [
{
"inplay": true,
"marketId": "example",
"runners": [
{}
],
"status": "example"
}
]
}List competitions
Find Betfair Exchange competitions using market filters.
Inputs
- Event type IDS
event_type_idslist - Event type IDS.
- Event IDS
event_idslist - Event IDS.
- Market IDS
market_idslist - Market IDS.
- Market types
market_typeslist - Market types.
- Start time
start_timedate and time - Start time.
- End time
end_timedate and time - End time.
- In play
in_playtrue/false - In play.
Outputs
datalist- The response from Betfair Exchange.
Example output
{
"data": [
{
"competition": {
"id": "example",
"name": "example"
},
"marketCount": 1
}
]
}List countries
Find Betfair Exchange countries using market filters.
Inputs
- Event type IDS
event_type_idslist - Event type IDS.
- Event IDS
event_idslist - Event IDS.
- Market IDS
market_idslist - Market IDS.
- Market types
market_typeslist - Market types.
- Start time
start_timedate and time - Start time.
- End time
end_timedate and time - End time.
- In play
in_playtrue/false - In play.
Outputs
datalist- The response from Betfair Exchange.
Example output
{
"data": [
{
"countryCode": "example",
"marketCount": 1
}
]
}List event types
Find Betfair Exchange event types using market filters.
Inputs
- Event type IDS
event_type_idslist - Event type IDS.
- Event IDS
event_idslist - Event IDS.
- Market IDS
market_idslist - Market IDS.
- Market types
market_typeslist - Market types.
- Start time
start_timedate and time - Start time.
- End time
end_timedate and time - End time.
- In play
in_playtrue/false - In play.
Outputs
datalist- The response from Betfair Exchange.
Example output
{
"data": [
{
"eventType": {
"id": "example",
"name": "example"
},
"marketCount": 1
}
]
}List events
Find Betfair Exchange events using market filters.
Inputs
- Event type IDS
event_type_idslist - Event type IDS.
- Event IDS
event_idslist - Event IDS.
- Market IDS
market_idslist - Market IDS.
- Market types
market_typeslist - Market types.
- Start time
start_timedate and time - Start time.
- End time
end_timedate and time - End time.
- In play
in_playtrue/false - In play.
Outputs
datalist- The response from Betfair Exchange.
Example output
{
"data": [
{
"event": {
"countryCode": "example",
"id": "example",
"name": "example",
"openDate": "example"
},
"marketCount": 1
}
]
}List market types
Find Betfair Exchange market types using market filters.
Inputs
- Event type IDS
event_type_idslist - Event type IDS.
- Event IDS
event_idslist - Event IDS.
- Market IDS
market_idslist - Market IDS.
- Market types
market_typeslist - Market types.
- Start time
start_timedate and time - Start time.
- End time
end_timedate and time - End time.
- In play
in_playtrue/false - In play.
Outputs
datalist- The response from Betfair Exchange.
Example output
{
"data": [
{
"marketCount": 1,
"marketType": "example"
}
]
}List markets
Find Exchange markets and their scheduled start times.
Inputs
- Event type IDS
event_type_idslist - Event type IDS.
- Event IDS
event_idslist - Event IDS.
- Market IDS
market_idslist - Market IDS.
- Market types
market_typeslist - Market types.
- Start time
start_timedate and time - Start time.
- End time
end_timedate and time - End time.
- In play
in_playtrue/false - In play.
- Max results
max_resultsnumberRequired - Max results.From 1 to 1000.
- Sort
sorttext - Sort.One of:
MINIMUM_TRADED(Minimum traded),MAXIMUM_TRADED(Maximum traded),MINIMUM_AVAILABLE(Minimum available),MAXIMUM_AVAILABLE(Maximum available),FIRST_TO_START(First to start),LAST_TO_START(Last to start).
Outputs
datalist- The response from Betfair Exchange.
Example output
{
"data": [
{
"marketId": "example",
"marketName": "example",
"marketStartTime": "example"
}
]
}List time ranges
Find Betfair Exchange time ranges using market filters.
Inputs
- Event type IDS
event_type_idslist - Event type IDS.
- Event IDS
event_idslist - Event IDS.
- Market IDS
market_idslist - Market IDS.
- Market types
market_typeslist - Market types.
- Start time
start_timedate and time - Start time.
- End time
end_timedate and time - End time.
- In play
in_playtrue/false - In play.
- Granularity
granularitytextRequired - Granularity.One of:
DAYS,HOURS,MINUTES.
Outputs
datalist- The response from Betfair Exchange.
Example output
{
"data": [
{
"marketCount": 1,
"timeRange": {
"from": "example",
"to": "example"
}
}
]
}List venues
Find Betfair Exchange venues using market filters.
Inputs
- Event type IDS
event_type_idslist - Event type IDS.
- Event IDS
event_idslist - Event IDS.
- Market IDS
market_idslist - Market IDS.
- Market types
market_typeslist - Market types.
- Start time
start_timedate and time - Start time.
- End time
end_timedate and time - End time.
- In play
in_playtrue/false - In play.
Outputs
datalist- The response from Betfair Exchange.
Example output
{
"data": [
{
"marketCount": 1,
"venue": "example"
}
]
}