get https://api.opticodds.com/api/v3/copilot/parlay/odds
Description
Get the price of a parlay containing the requested bets. This will take into account SGPs as well.
Specific Parameter Information
For a full list of parameters, scroll to the bottom of this page.
id
The ids of the copilot odd you want the parlay price for.
Example Responses
Response Shape
URL:
https://api.opticodds.com/api/v3/copilot/parlay/odds?id=2:-1:nba:9818DC020C5E:moneyline:atlanta_hawks&id=2:-1:nba:9818DC020C5E:player_points:aaron_nesmith_under_12_5
{
"data": {
"error": null,
"missing_entries": null,
"legs": [
{
"id": "2:-1:nba:9818DC020C5E:moneyline:atlanta_hawks",
"price": 135.0
},
{
"id": "2:-1:nba:9818DC020C5E:player_points:aaron_nesmith_under_12_5",
"price": -114.0
}
],
"price": 278.0
}
}