The Odds API
Sports odds, events and scores from bookmakers
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API keySecretRequired
Where to find them
- At the-odds-api.com request a key with the “Get API Key” button (button below): choose the free plan and enter your email.
- The key arrives by email; copy it here. Odds queries use credits (depending on regions and markets); the list of sports and the list of events are free.
Tools (1)
The Odds API request
THEODDSAPI_SEND_REQUESTAuthenticated call to the Odds API (https://api.the-odds-api.com/v4). Any endpoint of the API is allowed. Sport keys come from GET /sports (e.g. soccer_spain_la_liga, basketball_nba, tennis_atp_wimbledon). Examples: GET /sports (free), GET /sports/{sport}/events (free), GET /sports/{sport}/odds?regions=eu&markets=h2h&oddsFormat=decimal (1 credit per region and market), GET /sports/{sport}/scores?daysFrom=1, GET /sports/{sport}/events/{eventId}/odds?regions=eu&markets=h2h,totals.
Required scopes
No scopes required
Input
The Odds API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

