Odds Recovery
Do a recovery if you want to get the latest odds update for each fixtures.
Endpoint: /v1/odds/recovery
Method: POST
Headers:
| Name | Description |
|---|---|
| x-client-id | A static client id will be assigned to you upon request. |
| x-api-key | We will provide you with an api key to be able to call the API. |
The payload request should contain JSON data structured according to the API specifications. Here’s an example of a payload request:
{
"sportId": 0,
"fixtureSpecifier": "string"
}
Note: Client only needs to supply either one of the property. If fixture specifier and sport id is provided, our system would only honor fetching the latest odds for the fixture specifier
Properties:
| Name | Type | Description |
|---|---|---|
| sportId | string | sport id that you want to recover |
| fixtureSpecifier | string | specify the specfier of the fixture you want to recover |
Once executed, our system would retrieve the latest odds for all active matches in a sport (limited to only sending up to 2 weeks old fixtures) then send those data in the odds feed as OnOddsChange message.