Both Teams To Score
This endpoint allows you to retrieve the odds from both team to score market.
Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.
Update Period: Live and today's matches are updated every minute, while other matches are updated every hour.
Recommended Calls: Limit calls to 1 per minute for live and today's matches, and 1 per hour for other matches.
Use Cases
Get the odds from a specific match_idhttps://futsal.sportdevs.com/odds/both-teams-to-score?match_id=eq.{match_id}
Get the live odds from a specific match_idhttps://futsal.sportdevs.com/odds/both-teams-to-score?match_id=eq.{match_id}&is_live=eq.true
Get the pre-match odds from a specific match_idhttps://futsal.sportdevs.com/odds/both-teams-to-score?match_id=eq.{match_id}&is_live=eq.false
Query Parameters
- match_id integer
Default value:
eq.51558
The id of the match. example:
eq.{match_id}
- is_live boolean
Default value:
eq.false
If the match is live. example:
eq.{is_live}
- offset string
Default value:
0
Limiting and Pagination
- limit string
Default value:
50
Limiting and Pagination
- lang string
Default value:
en
Multi-language
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- match_id integer
The id of the match. example:
eq.{match_id}
- is_live boolean
If the match is live. example:
eq.{is_live}
- periods json
Periods
[
{
"match_id": 51558,
"is_live": false,
"periods": [
{
"period_type": "1st Half",
"odds": [
{
"id": 5,
"bookmaker_id": 9,
"bookmaker_name": "Marathonbet",
"bookmaker_order": 12,
"bookmaker_hash_image": "5cdb85f84c139920abb014112cee3c97015e5614504e64c0fd2dfb14be5cbb4f",
"yes": 2.47,
"yes_movement": -1,
"no": 1.48,
"no_movement": 1,
"payout": 92.55
}
]
},
{
"period_type": "2nd Half",
"odds": [
{
"id": 6,
"bookmaker_id": 9,
"bookmaker_name": "Marathonbet",
"bookmaker_order": 12,
"bookmaker_hash_image": "5cdb85f84c139920abb014112cee3c97015e5614504e64c0fd2dfb14be5cbb4f",
"yes": 2,
"yes_movement": -1,
"no": 1.72,
"no_movement": 1,
"payout": 92.47
}
]
},
{
"period_type": "Full Time",
"odds": [
{
"id": 1,
"bookmaker_id": 2,
"bookmaker_name": "22Bet",
"bookmaker_order": 3,
"bookmaker_hash_image": "d585401d20b3d081f9862a9f11133f6d32b6208f3b3de0bd704e392ba679a3bb",
"yes": 1.4,
"yes_movement": -1,
"no": 2.72,
"no_movement": 1,
"payout": 92.43
},
{
"id": 2,
"bookmaker_id": 3,
"bookmaker_name": "1xBet",
"bookmaker_order": 4,
"bookmaker_hash_image": "a8ce79a50ae18cfa15b3a11e1a166d1d9018fe5ce31c54038808feedc9c4e989",
"yes": 1.4,
"yes_movement": -1,
"no": 2.72,
"no_movement": 1,
"payout": 92.43
},
{
"id": 3,
"bookmaker_id": 9,
"bookmaker_name": "Marathonbet",
"bookmaker_order": 12,
"bookmaker_hash_image": "5cdb85f84c139920abb014112cee3c97015e5614504e64c0fd2dfb14be5cbb4f",
"yes": 1.4,
"yes_movement": -1,
"no": 2.72,
"no_movement": 1,
"payout": 92.43
},
{
"id": 4,
"bookmaker_id": 34,
"bookmaker_name": "Megapari Sport",
"bookmaker_order": 86,
"bookmaker_hash_image": "2ba5bcf57289a260212f4134218d449286675304812a20e8beaeca5c325e3282",
"yes": 1.4,
"yes_movement": -1,
"no": 2.72,
"no_movement": 1,
"payout": 92.43
}
]
}
]
}
]