Get an event's betting odds (v1)
Returns every betting market for the event, such as full time, double chance and totals, with fractional and decimal prices and how they moved. No odds returns data: null.
1 credit / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
event_id_or_url*string
Event id from any event list or Search Events. Or the match page's link, such as https://www.sofascore.com/football/match/arsenal-chelsea/RsU#id:12437786.
Length
1 <= length <= 500curl -X GET "https://example.com/v1/sofascore/event/odds?event_id_or_url=16363890" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "event_id": 0, "markets": [ { "id": 0, "name": "string", "group": "string", "period": "string", "line": "string", "live": true, "suspended": true, "choices": [ { "name": "string", "fractional": "string", "decimal": 0, "initial_fractional": "string", "winning": true, "change": 0 } ] } ] }, "details": { "reason": "string", "message": "string" }}