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: fix 17 accuracy issues across 16 pages from full-site audit
Verified every response example, schema table, and code snippet against
actual source code. Major fixes include:
- events-by-id: rewrite response to match EventDetail (books/markets arrays)
- events-markets: fix field names (type, selection_count, book_count, selections)
- account-keys: fix all CRUD response structures to match KeyInfo type
- health: remove data/meta wrapper, fix check field names
- markets: remove category/selection_types, fix hasLine, add examples/counts
- sports/leagues: remove nonexistent display_name field
- odds-best: remove nonexistent selection_type field
- odds-comparison: books_available is string[] not number
- sportsbooks: odds_count→event_count, region→regions
- overview: arbitrage min tier Pro→Hobby
- opportunities-arbitrage: leg.odds→leg.odds_american
- opportunities-middles: add fair_probability to odds objects
- typescript SDK: kelly_fraction→kelly_percent
- value-betting: ev_opportunity→ev:detected event name
- index: fix missing /api in stream URL
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
**Important:** The full `key` value is **only returned once** at creation time. Store it securely immediately. Subsequent requests will only show the `key_preview`.
188
+
**Important:** The full `key` value is **only returned once** at creation time. Store it securely immediately. Subsequent requests will only show the `id_masked` preview.
|`is_live`| boolean | Whether the event is currently live |
46
-
|`odds_count`|integer|Total number of odds lines available|
47
-
|`markets`|object|Available markets with odds grouped by market type|
47
+
|`books`|array|Sportsbooks covering this event, sorted by market count descending|
48
+
|`markets`|array|Market types available for this event, sorted by selection count descending|
48
49
49
-
### Markets Object
50
+
### Books Array
50
51
51
-
The `markets` field is an object where each key is a market type (e.g., `moneyline`, `spread`, `total`) and each value is an array of odds entries for that market.
52
+
Each entry in the `books` array describes a sportsbook that has odds for this event.
52
53
53
54
| Field | Type | Description |
54
55
|-------|------|-------------|
55
-
|`markets.{type}`| array | Array of odds entries for this market type |
0 commit comments