@@ -24,7 +24,7 @@ Requires API key via `X-API-Key` header, `Authorization: Bearer` header, or `api
2424
2525| Parameter | Type | Required | Description |
2626| -----------| ------| ----------| -------------|
27- | ` eventId ` | string | Yes | Unique event identifier (e.g., ` evt_nba_bos_lal_20260208 ` ) |
27+ | ` eventId ` | string | Yes | Unique event identifier (e.g., ` nba_celtics_lakers_2026-02-08_b3 ` ) |
2828
2929## Query Parameters
3030
@@ -71,13 +71,13 @@ All responses include standard rate limit and metadata headers:
7171<Tabs items = { [' cURL' , ' JavaScript' , ' Python' ]} >
7272 <Tabs.Tab >
7373``` bash
74- curl -X GET " https://api.sharpapi.io/api/v1/events/evt_nba_bos_lal_20260208 /odds" \
74+ curl -X GET " https://api.sharpapi.io/api/v1/events/nba_celtics_lakers_2026-02-08_b3 /odds" \
7575 -H " X-API-Key: YOUR_API_KEY"
7676```
7777 </Tabs.Tab >
7878 <Tabs.Tab >
7979``` javascript
80- const eventId = ' evt_nba_bos_lal_20260208 ' ;
80+ const eventId = ' nba_celtics_lakers_2026-02-08_b3 ' ;
8181const response = await fetch (
8282 ` https://api.sharpapi.io/api/v1/events/${ eventId} /odds` ,
8383 { headers: { ' X-API-Key' : ' YOUR_API_KEY' } }
@@ -90,7 +90,7 @@ console.log(`${meta.total} total odds for this event`);
9090``` python
9191import requests
9292
93- event_id = ' evt_nba_bos_lal_20260208 '
93+ event_id = ' nba_celtics_lakers_2026-02-08_b3 '
9494response = requests.get(
9595 f ' https://api.sharpapi.io/api/v1/events/ { event_id} /odds ' ,
9696 headers = {' X-API-Key' : ' YOUR_API_KEY' }
@@ -106,13 +106,13 @@ print(f"{result['meta']['total']} total odds for this event")
106106<Tabs items = { [' cURL' , ' JavaScript' , ' Python' ]} >
107107 <Tabs.Tab >
108108``` bash
109- curl -X GET " https://api.sharpapi.io/api/v1/events/evt_nba_bos_lal_20260208 /odds?sportsbook=draftkings,pinnacle&market=moneyline,spread" \
109+ curl -X GET " https://api.sharpapi.io/api/v1/events/nba_celtics_lakers_2026-02-08_b3 /odds?sportsbook=draftkings,pinnacle&market=moneyline,spread" \
110110 -H " X-API-Key: YOUR_API_KEY"
111111```
112112 </Tabs.Tab >
113113 <Tabs.Tab >
114114``` javascript
115- const eventId = ' evt_nba_bos_lal_20260208 ' ;
115+ const eventId = ' nba_celtics_lakers_2026-02-08_b3 ' ;
116116const response = await fetch (
117117 ` https://api.sharpapi.io/api/v1/events/${ eventId} /odds?sportsbook=draftkings,pinnacle&market=moneyline,spread` ,
118118 { headers: { ' X-API-Key' : ' YOUR_API_KEY' } }
@@ -124,7 +124,7 @@ const { data } = await response.json();
124124``` python
125125import requests
126126
127- event_id = ' evt_nba_bos_lal_20260208 '
127+ event_id = ' nba_celtics_lakers_2026-02-08_b3 '
128128response = requests.get(
129129 f ' https://api.sharpapi.io/api/v1/events/ { event_id} /odds ' ,
130130 params = {
@@ -144,17 +144,17 @@ odds = response.json()['data']
144144 <Tabs.Tab >
145145``` bash
146146# First page
147- curl -X GET " https://api.sharpapi.io/api/v1/events/evt_nba_bos_lal_20260208 /odds?limit=50&offset=0" \
147+ curl -X GET " https://api.sharpapi.io/api/v1/events/nba_celtics_lakers_2026-02-08_b3 /odds?limit=50&offset=0" \
148148 -H " X-API-Key: YOUR_API_KEY"
149149
150150# Next page
151- curl -X GET " https://api.sharpapi.io/api/v1/events/evt_nba_bos_lal_20260208 /odds?limit=50&offset=50" \
151+ curl -X GET " https://api.sharpapi.io/api/v1/events/nba_celtics_lakers_2026-02-08_b3 /odds?limit=50&offset=50" \
152152 -H " X-API-Key: YOUR_API_KEY"
153153```
154154 </Tabs.Tab >
155155 <Tabs.Tab >
156156``` javascript
157- const eventId = ' evt_nba_bos_lal_20260208 ' ;
157+ const eventId = ' nba_celtics_lakers_2026-02-08_b3 ' ;
158158let offset = 0 ;
159159const limit = 50 ;
160160let allOdds = [];
@@ -178,7 +178,7 @@ console.log(`Fetched all ${allOdds.length} odds`);
178178``` python
179179import requests
180180
181- event_id = ' evt_nba_bos_lal_20260208 '
181+ event_id = ' nba_celtics_lakers_2026-02-08_b3 '
182182all_odds = []
183183offset = 0
184184limit = 50
@@ -209,9 +209,9 @@ print(f"Fetched all {len(all_odds)} odds")
209209{
210210 "data" : [
211211 {
212- "id" : " dk_evt_nba_bos_lal_20260208_ml_home " ,
212+ "id" : " dk_nba_celtics_lakers_2026-02-08_b3_ml_home " ,
213213 "sportsbook" : " draftkings" ,
214- "event_id" : " evt_nba_bos_lal_20260208 " ,
214+ "event_id" : " nba_celtics_lakers_2026-02-08_b3 " ,
215215 "market_type" : " moneyline" ,
216216 "selection" : " Boston Celtics" ,
217217 "selection_type" : " home" ,
@@ -224,9 +224,9 @@ print(f"Fetched all {len(all_odds)} odds")
224224 "last_seen_at" : " 2026-02-08T12:05:00Z"
225225 },
226226 {
227- "id" : " dk_evt_nba_bos_lal_20260208_ml_away " ,
227+ "id" : " dk_nba_celtics_lakers_2026-02-08_b3_ml_away " ,
228228 "sportsbook" : " draftkings" ,
229- "event_id" : " evt_nba_bos_lal_20260208 " ,
229+ "event_id" : " nba_celtics_lakers_2026-02-08_b3 " ,
230230 "market_type" : " moneyline" ,
231231 "selection" : " Los Angeles Lakers" ,
232232 "selection_type" : " away" ,
@@ -239,9 +239,9 @@ print(f"Fetched all {len(all_odds)} odds")
239239 "last_seen_at" : " 2026-02-08T12:05:00Z"
240240 },
241241 {
242- "id" : " pin_evt_nba_bos_lal_20260208_ml_home " ,
242+ "id" : " pin_nba_celtics_lakers_2026-02-08_b3_ml_home " ,
243243 "sportsbook" : " pinnacle" ,
244- "event_id" : " evt_nba_bos_lal_20260208 " ,
244+ "event_id" : " nba_celtics_lakers_2026-02-08_b3 " ,
245245 "market_type" : " moneyline" ,
246246 "selection" : " Boston Celtics" ,
247247 "selection_type" : " home" ,
@@ -254,9 +254,9 @@ print(f"Fetched all {len(all_odds)} odds")
254254 "last_seen_at" : " 2026-02-08T12:03:00Z"
255255 },
256256 {
257- "id" : " dk_evt_nba_bos_lal_20260208_spread_home " ,
257+ "id" : " dk_nba_celtics_lakers_2026-02-08_b3_spread_home " ,
258258 "sportsbook" : " draftkings" ,
259- "event_id" : " evt_nba_bos_lal_20260208 " ,
259+ "event_id" : " nba_celtics_lakers_2026-02-08_b3 " ,
260260 "market_type" : " spread" ,
261261 "selection" : " Boston Celtics" ,
262262 "selection_type" : " home" ,
@@ -269,9 +269,9 @@ print(f"Fetched all {len(all_odds)} odds")
269269 "last_seen_at" : " 2026-02-08T12:05:00Z"
270270 },
271271 {
272- "id" : " dk_evt_nba_bos_lal_20260208_total_over " ,
272+ "id" : " dk_nba_celtics_lakers_2026-02-08_b3_total_over " ,
273273 "sportsbook" : " draftkings" ,
274- "event_id" : " evt_nba_bos_lal_20260208 " ,
274+ "event_id" : " nba_celtics_lakers_2026-02-08_b3 " ,
275275 "market_type" : " total" ,
276276 "selection" : " Over" ,
277277 "selection_type" : " over" ,
0 commit comments