You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update odds API docs — remove deprecated fields, add player props
- Remove status, external_event_id, selection_id, market_id from /odds schema
- Remove live game state fields section (now at /gamestate)
- Remove has_score query param from /odds and /odds/best
- Add player_name and stat_category fields
- Update TypeScript SDK OddsLine interface
- Update openapi.json NormalizedOdds schema
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|`live`| boolean | — |`true` = live only, `false` = prematch only, omit = both |
28
-
|`has_score`| boolean | — |`true` = only events with game state/scores |
29
28
|`min_odds`| number | — | Minimum American odds filter |
30
29
|`max_odds`| number | — | Maximum American odds filter |
31
30
|`limit`| integer | 50 | Max results per page (max 500) |
@@ -222,6 +221,8 @@ X-Request-Id: req_best_789xyz
222
221
|`all_books[].line`| number \| null | Line at this sportsbook |
223
222
|`all_books[].timestamp`| string | When this book's odds were last updated |
224
223
|`timestamp`| string | ISO 8601 timestamp of the best odds determination |
224
+
|`player_name`| string\|undefined | Player name (player prop markets only) |
225
+
|`stat_category`| string\|undefined | Stat category, e.g. `points`, `rebounds` (player prop markets only) |
225
226
226
227
<Callouttype="info">
227
228
The `market_hold` field represents the bookmaker's built-in margin (overround) as a percentage. A hold of `4.2` means the combined implied probabilities across all outcomes sum to 104.2%. Lower hold = more efficient market.
|`event_start_time`| string | ISO 8601 event start time |
239
236
|`timestamp`| string | ISO 8601 timestamp when odds were last updated |
240
237
|`is_live`| boolean | Whether the event is currently live |
241
-
|`status`| string |`upcoming`, `live`, or `ended`|
242
-
|`external_event_id`| string\|undefined | Sportsbook's native event ID (for deep linking) |
243
-
|`selection_id`| string\|undefined | Sportsbook's selection/outcome ID |
244
-
|`market_id`| string\|undefined | Sportsbook's market ID |
245
-
246
-
#### Live Game State Fields
247
-
248
-
These fields are included when the event is live (`is_live: true`):
238
+
|`player_name`| string\|undefined | Player name (player prop markets only) |
239
+
|`stat_category`| string\|undefined | Stat category, e.g. `points`, `rebounds` (player prop markets only) |
249
240
250
-
| Field | Type | Description |
251
-
|-------|------|-------------|
252
-
|`home_score`| number\|null | Home team score |
253
-
|`away_score`| number\|null | Away team score |
254
-
|`game_period`| string\|null | Current period (e.g., `Q3`, `2nd`, `3rd Period`) |
255
-
|`game_clock`| string\|null | Time remaining (e.g., `5:42`) |
256
-
|`score_type`| string\|undefined | Score type (e.g., `points`, `goals`, `runs`) |
257
-
|`possession`| string\|null | Team with possession |
258
-
|`is_timeout`| boolean\|null | Whether a timeout is in progress |
259
-
|`power_play`| string\|null | Power play info (hockey) |
260
-
|`last_play`| string\|null | Description of last play |
241
+
<Callouttype="info">
242
+
Live game state (scores, periods, clocks) is available via the [Game State](/api-reference/gamestate) endpoint. Deep links to sportsbook pages are available via the [Deep Links](/api-reference/deeplinks) endpoint using the odds `id` field.
0 commit comments