post https://api.opticodds.com/api/v3/parlay/odds
Description
The Parlay Pricer API allows you to get the odds for a parlay bet across multiple sportsbooks. You can include multiple entries in the parlay from different games and markets. It will only work if all entries are available on the sportsbooks you specify and can be combined into a parlay.
Specific Body Information
sportsbooks
Currently we only support (DraftKings
, Blue Book
, BetMGM
).
Example Request
curl --location 'https://api.opticodds.com/api/v3/parlay/odds?key=a861d7a2-9fd4-4276-9f6e-ba50c110c029' \
--header 'Content-Type: application/json' \
--data '{
"sportsbooks": [
"Blue Book",
"DraftKings",
"BetMGM"
],
"entries": [
{
"market": "Player Hits",
"name": "Alec Burleson Over 0.5",
"fixture_id": "E1AFAEAF67DD"
},
{
"market": "Player Hits",
"name": "Brendan Donovan Over 0.5",
"fixture_id": "E1AFAEAF67DD"
},
{
"market": "Player Strikeouts",
"name": "Andre Pallante Over 3.5",
"fixture_id": "E1AFAEAF67DD"
}
]
}'
Example Responses
Success
{
"data":{
"Blue Book":{
"error":null,
"missing_entries":null,
"legs":[
{
"fixture_id":"E1AFAEAF67DD",
"market":"Player Hits",
"name":"Alec Burleson Over 0.5",
"price":-230.0
},
{
"fixture_id":"E1AFAEAF67DD",
"market":"Player Hits",
"name":"Brendan Donovan Over 0.5",
"price":-210.0
},
{
"fixture_id":"E1AFAEAF67DD",
"market":"Player Strikeouts",
"name":"Andre Pallante Over 3.5",
"price":122.0
}
],
"price":336.0
},
"DraftKings":{
"error":null,
"missing_entries":null,
"legs":[
{
"fixture_id":"E1AFAEAF67DD",
"market":"Player Hits",
"name":"Alec Burleson Over 0.5",
"price":-265.0
},
{
"fixture_id":"E1AFAEAF67DD",
"market":"Player Hits",
"name":"Brendan Donovan Over 0.5",
"price":-215.0
},
{
"fixture_id":"E1AFAEAF67DD",
"market":"Player Strikeouts",
"name":"Andre Pallante Over 3.5",
"price":115.0
}
],
"price":280.0
},
"BetMGM":{
"error":null,
"missing_entries":null,
"legs":[
{
"fixture_id":"E1AFAEAF67DD",
"market":"Player Hits",
"name":"Alec Burleson Over 0.5",
"price":-250.0
},
{
"fixture_id":"E1AFAEAF67DD",
"market":"Player Hits",
"name":"Brendan Donovan Over 0.5",
"price":-210.0
},
{
"fixture_id":"E1AFAEAF67DD",
"market":"Player Strikeouts",
"name":"Andre Pallante Over 3.5",
"price":115.0
}
],
"price":310.0
}
}
}
Error (Unable to get parlay
{
"data":{
"BetMGM":{
"error":"Error with response. Try again later.",
"missing_entries":null,
"legs":null,
"price":null
}
}
}
Error (Missing Entries)
{
"data":{
"Blue Book":{
"error":"Missing odds for entries.",
"missing_entries":[
{
"fixture_id":"E1AFAEAF67DD",
"market":"player_hits",
"name":"brendan_donovan_over_0_5",
"price":null
},
{
"fixture_id":"E1AFAEAF67DD",
"market":"player_hits",
"name":"alec_burleson_over_0_5",
"price":null
},
{
"fixture_id":"E1AFAEAF67DD",
"market":"player_strikeouts",
"name":"andre_pallante_over_3_5",
"price":null
}
],
"legs":null,
"price":null
},
"DraftKings":{
"error":"Missing odds for entries.",
"missing_entries":[
{
"fixture_id":"E1AFAEAF67DD",
"market":"player_hits",
"name":"brendan_donovan_over_0_5",
"price":null
},
{
"fixture_id":"E1AFAEAF67DD",
"market":"player_hits",
"name":"alec_burleson_over_0_5",
"price":null
},
{
"fixture_id":"E1AFAEAF67DD",
"market":"player_strikeouts",
"name":"andre_pallante_over_3_5",
"price":null
}
],
"legs":null,
"price":null
},
"BetMGM":{
"error":"Missing odds for entries.",
"missing_entries":[
{
"fixture_id":"E1AFAEAF67DD",
"market":"player_hits",
"name":"brendan_donovan_over_0_5",
"price":null
},
{
"fixture_id":"E1AFAEAF67DD",
"market":"player_hits",
"name":"alec_burleson_over_0_5",
"price":null
},
{
"fixture_id":"E1AFAEAF67DD",
"market":"player_strikeouts",
"name":"andre_pallante_over_3_5",
"price":null
}
],
"legs":null,
"price":null
}
}
}
Error (Unable to combine entries)
{
"Blue Book": {
"error": "Cannot be combined into a parlay on the sportsbook."
},
"DraftKings": {
"error": "SelectionsCannotBeCombined"
},
"BetMGM": {
"error": "Could not create parlay for all games."
}
}