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
fix: align OpenAPI spec, SDK docs, and API reference with canonical field names
OpenAPI spec used deprecated field names (ev_percent, true_probability,
devig_book, kelly_fraction) that didn't match the canonical API response
fields. Updated to ev_percentage, fair_probability, sharp_book, kelly_percent
across EVOpportunity and HistoricalOpportunity schemas, examples, and all
doc pages. Fixed SDK install command (@sharpapi/client → @sharp-api/client)
and class names in llms-full.txt. Added llms.txt discovery link tags to
HTML head via Next.js Metadata API.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: content/en/api-reference/opportunities-ev.mdx
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ GET /api/v1/opportunities/ev
13
13
```
14
14
15
15
<Callouttype="info">
16
-
This endpoint replaces the former `/positive-ev` and `/value-bets` endpoints. All scoring fields (`confidence_score`, `kelly_fraction`, `fair_probability`) are now included in every response.
16
+
This endpoint replaces the former `/positive-ev` and `/value-bets` endpoints. All scoring fields (`confidence_score`, `kelly_percent`, `fair_probability`) are now included in every response.
17
17
</Callout>
18
18
19
19
## Authentication
@@ -38,7 +38,7 @@ Requires API key. **Pro tier or higher required.** Your account must have the `e
38
38
|`max_market_width`| number | — | Maximum market width |
39
39
|`max_odds_age`| number | — | Maximum odds age in seconds. Filters out stale opportunities where the underlying odds are older than this threshold. |
40
40
|`date_range`| string | — | Filter by event date: `today`, `tomorrow`, or `week`. Dates are evaluated in **US Eastern Time (ET)**. |
41
-
|`sort`| string |`-ev`| Sort field. Options: `ev`, `confidence`/`confidence_score`, `kelly`/`kelly_fraction`, `time`/`start_time`, `book_count`/`books`. Prefix with `-` for descending. |
41
+
|`sort`| string |`-ev`| Sort field. Options: `ev`, `confidence`/`confidence_score`, `kelly`/`kelly_percent`, `time`/`start_time`, `book_count`/`books`. Prefix with `-` for descending. |
|`start_time`| string\|null | ISO 8601 event start time |
252
252
|`is_live`| boolean | Whether the event is currently live |
253
253
|`confidence_score`| number | Multi-factor confidence score (0-100) |
254
-
|`kelly_fraction`| number\|null | Kelly criterion optimal bet fraction (0.0 to 1.0) |
254
+
|`kelly_percent`| number\|null | Kelly criterion optimal bet fraction (0.0 to 1.0) |
255
255
|`book_count`| number | Number of sportsbooks offering this market |
256
256
|`arb_available`| boolean | Whether an arbitrage exists on this market |
257
257
|`arb_profit`| number\|null | Arbitrage profit percentage if available |
@@ -348,7 +348,7 @@ We recommend setting `min_ev=2` for most use cases. Marginal EV (below 2%) can b
348
348
349
349
## Kelly Criterion
350
350
351
-
The `kelly_fraction` field tells you the optimal fraction of your bankroll to wager according to the Kelly criterion (0.0 to 1.0, e.g. `0.021` = 2.1%):
351
+
The `kelly_percent` field tells you the optimal fraction of your bankroll to wager according to the Kelly criterion (0.0 to 1.0, e.g. `0.021` = 2.1%):
0 commit comments