Skip to Content
API ReferenceEvent Odds

Event Odds

Get all odds for a specific event with optional filtering by sportsbook and market type. Returns a paginated list of odds entries.

GET /api/v1/events/{eventId}/odds

This is a convenience endpoint equivalent to GET /api/v1/odds?event={eventId}. Both return the same data; use whichever fits your URL structure.

Authentication

Requires API key via X-API-Key header, Authorization: Bearer header, or api_key query param. Available to all tiers.

Path Parameters

ParameterTypeRequiredDescription
eventIdstringYesUnique event identifier (e.g., evt_nba_bos_lal_20260208)

Query Parameters

ParameterTypeDefaultDescription
sportsbookstringallFilter by sportsbook. Comma-separated for multiple (e.g., draftkings,pinnacle)
marketstringallFilter by market type. Comma-separated for multiple (e.g., moneyline,spread)
limitinteger50Results per page (max 200)
offsetinteger0Pagination offset

Response Headers

All responses include standard rate limit and metadata headers:

HeaderDescription
X-RateLimit-LimitMaximum requests per minute for your tier
X-RateLimit-RemainingRequests remaining in current window
X-RateLimit-ResetUnix timestamp when the rate limit window resets
X-Data-DelayData delay for your tier (e.g., 0s, 60s)
X-Request-IdUnique request identifier for debugging

Odds Object

FieldTypeDescription
idstringUnique odds identifier
sportsbookstringSportsbook identifier (e.g., draftkings, pinnacle)
event_idstringParent event identifier
market_typestringMarket type: moneyline, spread, total, player_prop, etc.
selectionstringThe selection (team name, player name, Over/Under)
selection_typestringhome, away, over, under
linenumber | nullLine value for spread/total markets, null for moneyline
odds.americannumberAmerican odds (e.g., -110, +150)
odds.decimalnumberDecimal odds (e.g., 1.909)
odds.probabilitynumberImplied probability (e.g., 0.5238)
timestampstringISO 8601 timestamp of when these odds were last updated

Example Requests

Get all odds for an event

curl -X GET "https://api.sharpapi.io/api/v1/events/evt_nba_bos_lal_20260208/odds" \ -H "X-API-Key: YOUR_API_KEY"

Filter by sportsbook and market

curl -X GET "https://api.sharpapi.io/api/v1/events/evt_nba_bos_lal_20260208/odds?sportsbook=draftkings,pinnacle&market=moneyline,spread" \ -H "X-API-Key: YOUR_API_KEY"

Paginate through all odds

# First page curl -X GET "https://api.sharpapi.io/api/v1/events/evt_nba_bos_lal_20260208/odds?limit=50&offset=0" \ -H "X-API-Key: YOUR_API_KEY" # Next page curl -X GET "https://api.sharpapi.io/api/v1/events/evt_nba_bos_lal_20260208/odds?limit=50&offset=50" \ -H "X-API-Key: YOUR_API_KEY"

Response

Success (200)

{ "data": [ { "id": "dk_evt_nba_bos_lal_20260208_ml_home", "sportsbook": "draftkings", "event_id": "evt_nba_bos_lal_20260208", "market_type": "moneyline", "selection": "Boston Celtics", "selection_type": "home", "line": null, "odds": { "american": -180, "decimal": 1.556, "probability": 0.643 }, "timestamp": "2026-02-08T12:05:00Z" }, { "id": "dk_evt_nba_bos_lal_20260208_ml_away", "sportsbook": "draftkings", "event_id": "evt_nba_bos_lal_20260208", "market_type": "moneyline", "selection": "Los Angeles Lakers", "selection_type": "away", "line": null, "odds": { "american": 155, "decimal": 2.55, "probability": 0.392 }, "timestamp": "2026-02-08T12:05:00Z" }, { "id": "pin_evt_nba_bos_lal_20260208_ml_home", "sportsbook": "pinnacle", "event_id": "evt_nba_bos_lal_20260208", "market_type": "moneyline", "selection": "Boston Celtics", "selection_type": "home", "line": null, "odds": { "american": -175, "decimal": 1.571, "probability": 0.636 }, "timestamp": "2026-02-08T12:03:00Z" }, { "id": "dk_evt_nba_bos_lal_20260208_spread_home", "sportsbook": "draftkings", "event_id": "evt_nba_bos_lal_20260208", "market_type": "spread", "selection": "Boston Celtics", "selection_type": "home", "line": -6.5, "odds": { "american": -110, "decimal": 1.909, "probability": 0.524 }, "timestamp": "2026-02-08T12:05:00Z" }, { "id": "dk_evt_nba_bos_lal_20260208_total_over", "sportsbook": "draftkings", "event_id": "evt_nba_bos_lal_20260208", "market_type": "total", "selection": "Over", "selection_type": "over", "line": 224.5, "odds": { "american": -110, "decimal": 1.909, "probability": 0.524 }, "timestamp": "2026-02-08T12:05:00Z" } ], "meta": { "count": 5, "total": 48, "pagination": { "limit": 50, "offset": 0, "has_more": false, "next_offset": null }, "updated_at": "2026-02-08T12:05:00Z", "filters": { "sportsbook": "all", "market": "all" } } }

Error Responses

404 Not Found

{ "error": { "code": "not_found", "message": "Event not found", "docs": "https://sharpapi.io/docs/api-reference/events-odds" } }

401 Unauthorized

{ "error": { "code": "unauthorized", "message": "Missing or invalid API key", "docs": "https://sharpapi.io/docs/authentication" } }

429 Rate Limited

{ "error": { "code": "rate_limited", "message": "Rate limit exceeded. Upgrade your tier for higher limits.", "docs": "https://sharpapi.io/docs/pricing" } }
Last updated on