Event Odds
Get betting odds for an event by odd type
Endpoint overview
Get betting odds for an event by odd type
Route
GET
/api/v1/public/events/f1-bahrain-gp-2026/{oddType}Authentication
Required. Use `X-API-KEY` header.
Path Parameters
Path parameters identify the specific resource in the route. Keep these values aligned with the item you want to inspect.
eventIdstringrequiredEvent identifier
oddTypestringrequiredOdd type: eventWinner, headToHead, podiums, propBets, etc.
Query Parameters
Use query parameters to refine the result set. Changes here update the request URL and example request in the right panel immediately.
exactasTypeintegeroptionalExactas type: 2, 3, or 4
overUnderSubMarketTypestringoptionalFor overUnder: finishingPosition, points, or gapToLeaders
Responses
Example Response
{
"data": [
{"participant": "Max Verstappen", "odds": 1.85, "probability": 0.54},
{"participant": "Lewis Hamilton", "odds": 3.20, "probability": 0.31}
]
}400One of the request parameters is invalid. See the returned message for details.
401Authentication headers are missing or invalid. Make sure you authenticate your request with a valid API key.
403The requested resource is forbidden.
429Too many requests. You hit the rate limit. Use the X-RateLimit headers to confirm when you can retry.
500Internal server error. Retry later, and contact support if the issue persists.
Live API test
GETSame try-it pattern as OpenAPI reference pages — requests use this site's proxy to avoid CORS.
Language
Enter credentials
URL
https://api.altsportsdata.com/api/v1/public/events/f1-bahrain-gp-2026/oddType
Path Parameters
eventId*path · string
oddType*path · string
Shell Request
curl -X GET "https://api.altsportsdata.com/api/v1/public/events/f1-bahrain-gp-2026/oddType" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "Accept: application/json"Response
Click Try it to send a request and see the response here.