Skip to Content
API ReferenceEvent Details

Event Details

Get detailed information for a single event, including available markets and metadata.

GET /api/v1/events/{eventId}

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)

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

Event Detail Object

FieldTypeDescription
idstringCanonical event identifier — the same for every sportsbook covering this event. Use as your primary key for cross-book matching. See Event Matching.
external_idsobjectMap of sportsbook ID to that book’s native event ID (e.g., { "draftkings": "12345", "fanduel": "67890" }). Use these for deep linking back to sportsbook pages.
sportstringSport identifier (e.g., basketball, football)
leaguestringLeague name (e.g., NBA, NFL)
home_teamstringHome team name
away_teamstringAway team name
start_timestringISO 8601 event start time
statusstringEvent status: upcoming, live, final, postponed, cancelled
is_livebooleanWhether the event is currently live
booksarraySportsbooks covering this event, sorted by market count descending
marketsarrayMarket types available for this event, sorted by selection count descending

Books Array

Each entry in the books array describes a sportsbook that has odds for this event.

FieldTypeDescription
idstringSportsbook identifier (e.g., draftkings, pinnacle)
namestringDisplay name of the sportsbook
market_countintegerNumber of distinct market types this book offers for the event
last_updatestringISO 8601 timestamp of the most recent odds update from this book

Markets Array

Each entry in the markets array summarizes an available market type for this event.

FieldTypeDescription
typestringMarket type identifier (e.g., moneyline, spread, total, player_prop)
selection_countintegerNumber of distinct selections available in this market
book_countintegerNumber of sportsbooks offering this market

Example Requests

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

Response

Success (200)

Single-resource responses wrap the object in data as a single object (not an array).

{ "data": { "id": "evt_nba_bos_lal_20260208", "external_ids": { "draftkings": "12345678", "fanduel": "87654321", "pinnacle": "556677889", "betmgm": "ms_44556" }, "sport": "basketball", "league": "NBA", "home_team": "Boston Celtics", "away_team": "Los Angeles Lakers", "start_time": "2026-02-08T19:30:00Z", "status": "upcoming", "is_live": false, "books": [ { "id": "draftkings", "name": "DraftKings", "market_count": 5, "last_update": "2026-02-08T12:05:00Z" }, { "id": "fanduel", "name": "FanDuel", "market_count": 4, "last_update": "2026-02-08T12:04:30Z" }, { "id": "pinnacle", "name": "Pinnacle", "market_count": 3, "last_update": "2026-02-08T12:03:00Z" }, { "id": "betmgm", "name": "BetMGM", "market_count": 3, "last_update": "2026-02-08T12:02:15Z" } ], "markets": [ { "type": "moneyline", "selection_count": 2, "book_count": 4 }, { "type": "spread", "selection_count": 2, "book_count": 4 }, { "type": "total", "selection_count": 2, "book_count": 3 }, { "type": "player_prop", "selection_count": 18, "book_count": 2 }, { "type": "team_total", "selection_count": 4, "book_count": 1 } ] }, "meta": { "event_id": "evt_nba_bos_lal_20260208" } }

Error Responses

404 Not Found

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

401 Unauthorized

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

Use Cases

  • Cross-book comparison — The canonical id is the same across all sportsbooks, so all odds returned are already matched to the same real-world event. See Event Matching.
  • Market analysis — See every available market type and how many books offer each
  • Sharp reference — Compare soft book odds against Pinnacle (the sharp benchmark)
  • Deep linking — Use external_ids to link users to a specific sportsbook’s event page
Last updated on