The Odds API integration (Data). Imported from open-connector.
https://api.the-odds-api.com/v4/sports
| Param | Type | Required | Description |
|---|---|---|---|
| all | boolean | optional | Whether to include both in-season and out-of-season sports. |
/sports/{sport}/odds
| Param | Type | Required | Description |
|---|---|---|---|
| sport | string | required | The sport key returned by The Odds API sports endpoint, or upcoming for the nex… |
| regions | array | required | Bookmaker regions to request, such as us, us2, uk, au, or eu. |
| markets | array | optional | Betting market keys to request, such as h2h, spreads, or totals. |
| dateFormat | string | optional | Timestamp format returned by The Odds API. |
| oddsFormat | string | optional | Odds format returned by The Odds API. |
| eventIds | array | optional | Event IDs used to filter odds. |
| bookmakers | array | optional | Bookmaker keys used to filter odds. |
| commenceTimeFrom | string | optional | ISO 8601 timestamp used by The Odds API to filter event commence time. |
| commenceTimeTo | string | optional | ISO 8601 timestamp used by The Odds API to filter event commence time. |
| includeLinks | boolean | optional | Whether bookmaker event, market, and betslip links are included. |
| includeSids | boolean | optional | Whether source IDs are included when available. |
| includeBetLimits | boolean | optional | Whether bet limits are included when available. |
| includeRotationNumbers | boolean | optional | Whether home and away rotation numbers are included. |
/sports/{sport}/scores
| Param | Type | Required | Description |
|---|---|---|---|
| sport | string | required | The sport key returned by The Odds API sports endpoint, or upcoming for the nex… |
| daysFrom | integer | optional | Number of days in the past from which to return completed scores. |
| dateFormat | string | optional | Timestamp format returned by The Odds API. |
| eventIds | array | optional | Event IDs used to filter scores. |
/sports/{sport}/events
| Param | Type | Required | Description |
|---|---|---|---|
| sport | string | required | The sport key returned by The Odds API sports endpoint, or upcoming for the nex… |
| dateFormat | string | optional | Timestamp format returned by The Odds API. |
| eventIds | array | optional | Event IDs used to filter events. |
| commenceTimeFrom | string | optional | ISO 8601 timestamp used by The Odds API to filter event commence time. |
| commenceTimeTo | string | optional | ISO 8601 timestamp used by The Odds API to filter event commence time. |
| includeRotationNumbers | boolean | optional | Whether home and away rotation numbers are included. |
/sports/{sport}/events/{eventId}/odds
| Param | Type | Required | Description |
|---|---|---|---|
| sport | string | required | The sport key returned by The Odds API sports endpoint, or upcoming for the nex… |
| eventId | string | required | The event ID returned by The Odds API. |
| regions | array | required | Bookmaker regions to request, such as us, us2, uk, au, or eu. |
| markets | array | optional | Betting market keys to request, such as h2h, spreads, or totals. |
| dateFormat | string | optional | Timestamp format returned by The Odds API. |
| oddsFormat | string | optional | Odds format returned by The Odds API. |
| bookmakers | array | optional | Bookmaker keys used to filter event odds. |
| includeLinks | boolean | optional | Whether bookmaker event, market, and betslip links are included. |
| includeSids | boolean | optional | Whether source IDs are included when available. |
| includeBetLimits | boolean | optional | Whether bet limits are included when available. |
| includeMultipliers | boolean | optional | Whether DFS multipliers are included when available. |
/sports/{sport}/events/{eventId}/markets
| Param | Type | Required | Description |
|---|---|---|---|
| sport | string | required | The sport key returned by The Odds API sports endpoint, or upcoming for the nex… |
| eventId | string | required | The event ID returned by The Odds API. |
| regions | array | required | Bookmaker regions to request, such as us, us2, uk, au, or eu. |
| bookmakers | array | optional | Bookmaker keys used to filter event markets. |
| dateFormat | string | optional | Timestamp format returned by The Odds API. |
/sports/{sport}/participants
| Param | Type | Required | Description |
|---|---|---|---|
| sport | string | required | The sport key returned by The Odds API sports endpoint, or upcoming for the nex… |