API reference
Every route your own key may call: what to send and what comes back. The app runs on these same routes, so a bet placed here is on paper by default, under the same limits.
Your first call
- Sign in and create a key under Account → Keys & sessions. It is shown once; keep it like a password.
- Pick its scope. A read key sees your own data and the product. A trade key can also place bets. A key never has more scope than you.
- Send it as a bearer token:
curl https://sportslux.xyz/api/v1/auth/me \ -H "Authorization: Bearer slx_u_…"
- Lists return
{data, next_cursor}; passcursorback for the next page. - Send an
Idempotency-Keyheader on every write, so a retry never places a bet twice. - A route marked with a plan needs that plan. Errors always look like
{"error": {"code": "plan_required", "message": "…", "request_id": "…"}} - Signed in? Docs covers webhooks and how the product works.
Account
Who is calling, keys, sessions, settings, notifications and webhooks.
GET/api/v1/auth/keys
List Keysread key
Parameters · 1 field
| Name | In | Type | Required |
|---|---|---|---|
kind | query | "user" | "system" | no |
Returns: a page of ApiKeyOut ({data, next_cursor}) · 9 fields
| Name | Type | Required |
|---|---|---|
created_at | date-time | yes |
id | integer | yes |
kind | "user" | "system" | yes |
last_used_at | date-time | no |
name | string | yes |
prefix | string | yes |
revoked_at | date-time | no |
scope | "read" | "trade" | "admin" | yes |
user_id | integer | no |
POST/api/v1/auth/keys
Create Keyread key
Body: ApiKeyIn · 3 fields
| Name | Type | Required |
|---|---|---|
kind | "user" | "system" | no |
name | string | yes |
scope | "read" | "trade" | "admin" | no |
Returns: ApiKeyCreated · 2 fields
| Name | Type | Required |
|---|---|---|
key | ApiKeyOut | yes |
plaintext | string | yes |
DELETE/api/v1/auth/keys/{key_id}
Revoke Keyread key
Parameters · 1 field
| Name | In | Type | Required |
|---|---|---|---|
key_id | path | integer | yes |
Returns: ApiKeyOut · 9 fields
| Name | Type | Required |
|---|---|---|
created_at | date-time | yes |
id | integer | yes |
kind | "user" | "system" | yes |
last_used_at | date-time | no |
name | string | yes |
prefix | string | yes |
revoked_at | date-time | no |
scope | "read" | "trade" | "admin" | yes |
user_id | integer | no |
GET/api/v1/auth/me
Meread key
Returns: MeOut · 10 fields
| Name | Type | Required |
|---|---|---|
email | string | no |
entitlements | "leaderboard" | "bet_finder" | "parlay_builder" | "auto_trade" | "webhooks" | "live_eligible" | "premium_picks"[] | no |
plan | "free" | "pro" | "live" | no |
role | "admin" | "user" | no |
scope | "read" | "trade" | "admin" | yes |
totp_available | boolean | no |
totp_enabled | boolean | no |
totp_required | boolean | no |
user_id | integer | no |
via | "session" | "user_key" | "system_key" | yes |
POST/api/v1/auth/password
Change Passwordread key
Body: PasswordChangeIn · 2 fields
| Name | Type | Required |
|---|---|---|
current | string | yes |
new | string | yes |
Returns: sportslux__api__auth__StatusOut · 1 field
| Name | Type | Required |
|---|---|---|
status | string | yes |
GET/api/v1/auth/sessions
List Sessionsread key
Returns: a page of SessionOut ({data, next_cursor}) · 5 fields
| Name | Type | Required |
|---|---|---|
created_at | date-time | yes |
current | boolean | yes |
expires_at | date-time | yes |
id | integer | yes |
last_seen_at | date-time | no |
POST/api/v1/auth/sessions/revoke-all
Revoke Allread key
Returns: map of integer
No fields.
DELETE/api/v1/auth/sessions/{session_id}
Revoke Sessionread key
Parameters · 1 field
| Name | In | Type | Required |
|---|---|---|---|
session_id | path | integer | yes |
Returns: map of boolean
No fields.
POST/api/v1/auth/totp/confirm
Totp Confirmread key
Body: TotpCodeIn · 1 field
| Name | Type | Required |
|---|---|---|
code | string | yes |
Returns: sportslux__api__auth__StatusOut · 1 field
| Name | Type | Required |
|---|---|---|
status | string | yes |
POST/api/v1/auth/totp/disable
Totp Disableread key
Body: TotpCodeIn · 1 field
| Name | Type | Required |
|---|---|---|
code | string | yes |
Returns: sportslux__api__auth__StatusOut · 1 field
| Name | Type | Required |
|---|---|---|
status | string | yes |
POST/api/v1/auth/totp/setup
Totp Setupread key
Returns: TotpSetupOut · 3 fields
| Name | Type | Required |
|---|---|---|
qr_svg | string | yes |
secret | string | yes |
uri | string | yes |
GET/api/v1/me/notification-prefs
Get Prefsread key
Returns: PrefsOut · 2 fields
| Name | Type | Required |
|---|---|---|
prefs | PrefOut[] | yes |
push_available | boolean | yes |
PUT/api/v1/me/notification-prefs
Put Prefsread key
Body: PrefsIn · 1 field
| Name | Type | Required |
|---|---|---|
prefs | map of "email" | "push" | "webhook"[] | yes |
Returns: PrefsOut · 2 fields
| Name | Type | Required |
|---|---|---|
prefs | PrefOut[] | yes |
push_available | boolean | yes |
GET/api/v1/me/profile
Get Profileread key
Returns: ProfileOut · 2 fields
| Name | Type | Required |
|---|---|---|
handle | string | no |
leaderboard_opt_in | boolean | yes |
PUT/api/v1/me/profile
Put Profileread key
Body: ProfileIn · 2 fields
| Name | Type | Required |
|---|---|---|
handle | string | no |
leaderboard_opt_in | boolean | yes |
Returns: ProfileOut · 2 fields
| Name | Type | Required |
|---|---|---|
handle | string | no |
leaderboard_opt_in | boolean | yes |
POST/api/v1/me/push
Subscribe Pushread key
Body: PushIn · 3 fields
| Name | Type | Required |
|---|---|---|
auth | string | yes |
endpoint | string | yes |
p256dh | string | yes |
Returns: OkOut · 1 field
| Name | Type | Required |
|---|---|---|
ok | boolean | yes |
GET/api/v1/me/push/key
Push Keyread key
Returns: PushKeyOut · 1 field
| Name | Type | Required |
|---|---|---|
public_key | string | no |
POST/api/v1/me/push/unsubscribe
Unsubscribe Pushread key
Body: PushOut · 1 field
| Name | Type | Required |
|---|---|---|
endpoint | string | yes |
Returns: OkOut · 1 field
| Name | Type | Required |
|---|---|---|
ok | boolean | yes |
GET/api/v1/me/webhooks
List Webhooksread keyPro plan
Returns: a page of WebhookOut ({data, next_cursor}) · 5 fields
| Name | Type | Required |
|---|---|---|
active | boolean | yes |
created_at | date-time | yes |
failures | integer | yes |
id | integer | yes |
url | string | yes |
POST/api/v1/me/webhooks
Create Webhookread keyPro plan
Body: WebhookIn · 1 field
| Name | Type | Required |
|---|---|---|
url | string | yes |
Returns: WebhookCreated · 6 fields
| Name | Type | Required |
|---|---|---|
active | boolean | yes |
created_at | date-time | yes |
failures | integer | yes |
id | integer | yes |
secret | string | yes |
url | string | yes |
DELETE/api/v1/me/webhooks/{hook_id}
Delete Webhookread keyPro plan
Parameters · 1 field
| Name | In | Type | Required |
|---|---|---|---|
hook_id | path | integer | yes |
Returns: OkOut · 1 field
| Name | Type | Required |
|---|---|---|
ok | boolean | yes |
POST/api/v1/me/webhooks/{hook_id}/test
Test Webhookread keyPro plan
Parameters · 1 field
| Name | In | Type | Required |
|---|---|---|---|
hook_id | path | integer | yes |
Returns: OkOut · 1 field
| Name | Type | Required |
|---|---|---|
ok | boolean | yes |
GET/api/v1/notifications
List Notificationsread key
Parameters · 3 fields
| Name | In | Type | Required |
|---|---|---|---|
unread_only | query | boolean | no |
cursor | query | string | no |
limit | query | integer | no |
Returns: a page of NotificationOut ({data, next_cursor}) · 8 fields
| Name | Type | Required |
|---|---|---|
body | string | yes |
created_at | date-time | yes |
data | map of any | yes |
id | integer | yes |
kind | string | yes |
link | string | no |
read_at | date-time | no |
title | string | yes |
POST/api/v1/notifications/read
Read Allread key
Returns: ReadOut · 1 field
| Name | Type | Required |
|---|---|---|
marked | integer | yes |
POST/api/v1/notifications/{notification_id}/read
Read Notificationread key
Parameters · 1 field
| Name | In | Type | Required |
|---|---|---|---|
notification_id | path | integer | yes |
Returns: ReadOut · 1 field
| Name | Type | Required |
|---|---|---|
marked | integer | yes |
Data
Leagues and the news behind a game.
GET/api/v1/insights
Insightsread key
Parameters · 1 field
| Name | In | Type | Required |
|---|---|---|---|
days | query | integer | no |
Returns: InsightsOut · 6 fields
| Name | Type | Required |
|---|---|---|
data_health | DataHealthSummary | yes |
generated_at | date-time | yes |
llm_spend | SpendSummary | yes |
see_funnel | string | no |
strategies | FunnelOut[] | yes |
window_days | integer | yes |
GET/api/v1/leagues
List Leaguesread key
Returns: LeagueList · 2 fields
| Name | Type | Required |
|---|---|---|
config_version | integer | yes |
data | LeagueOut[] | yes |
Games
A day's slate, one game's detail, its lines, injuries and player props.
GET/api/v1/games
Slateread key
Parameters · 2 fields
| Name | In | Type | Required |
|---|---|---|---|
league | query | string | no |
date | query | date | no |
Returns: a page of GameOut ({data, next_cursor}) · 22 fields
| Name | Type | Required |
|---|---|---|
attendance | integer | no |
away_score | integer | no |
close | GameCloseOut | no |
competitors | CompetitorOut[] | yes |
edge | GameEdgeOut | no |
event | string | no |
event_note | string | no |
flags | GameFlagsOut | no |
format | string | yes |
home_score | integer | no |
id | integer | yes |
indoor | boolean | no |
league | string | yes |
neutral_site | boolean | yes |
props | integer | no |
result_source | string | no |
scheduled_at | date-time | yes |
season_type | string | yes |
status | string | yes |
venue | GameVenueOut | no |
weather | WeatherOut | no |
week | integer | no |
GET/api/v1/games/{game_id}
Game Detailread key
Parameters · 2 fields
| Name | In | Type | Required |
|---|---|---|---|
game_id | path | integer | yes |
all_books | query | boolean | no |
Returns: GameDetail · 27 fields
| Name | Type | Required |
|---|---|---|
attendance | integer | no |
away_score | integer | no |
box_score | BoxScoreOut | no |
close | GameCloseOut | no |
competitors | CompetitorOut[] | yes |
connected | string[] | no |
edge | GameEdgeOut | no |
event | string | no |
event_note | string | no |
flags | GameFlagsOut | no |
format | string | yes |
home_score | integer | no |
id | integer | yes |
indoor | boolean | no |
league | string | yes |
linescores | LinescoreOut[] | yes |
markets | MarketOut[] | yes |
neutral_site | boolean | yes |
odds_state | "pre_game" | "in_play" | "closed" | yes |
props | integer | no |
result_source | string | no |
scheduled_at | date-time | yes |
season_type | string | yes |
status | string | yes |
venue | GameVenueOut | no |
weather | WeatherOut | no |
week | integer | no |
GET/api/v1/games/{game_id}/features
Game Featuresread key
Parameters · 2 fields
| Name | In | Type | Required |
|---|---|---|---|
game_id | path | integer | yes |
as_of | query | date-time | no |
Returns: GameFeaturesOut · 5 fields
| Name | Type | Required |
|---|---|---|
as_of | date-time | yes |
game_id | integer | yes |
people | map of string | no |
sets | map of map of any | yes |
versions | map of string | yes |
GET/api/v1/games/{game_id}/injuries
Game Injuriesread key
Parameters · 1 field
| Name | In | Type | Required |
|---|---|---|---|
game_id | path | integer | yes |
Returns: GameInjuriesOut · 5 fields
| Name | Type | Required |
|---|---|---|
as_of | date-time | yes |
away | AbsenceOut[] | yes |
game_id | integer | yes |
home | AbsenceOut[] | yes |
min_games | integer | yes |
GET/api/v1/games/{game_id}/lines
Game Linesread key
Parameters · 4 fields
| Name | In | Type | Required |
|---|---|---|---|
game_id | path | integer | yes |
market_type | query | MarketType | no |
venue | query | string | no |
all_lines | query | boolean | no |
Returns: GameLines · 2 fields
| Name | Type | Required |
|---|---|---|
data | LineSeries[] | yes |
game_id | integer | yes |
GET/api/v1/games/{game_id}/props/history
Prop History Routeread key
Parameters · 4 fields
| Name | In | Type | Required |
|---|---|---|---|
game_id | path | integer | yes |
person_id | query | integer | yes |
stat_key | query | string | yes |
point | query | number | string[] | yes |
Returns: PropHistoryOut · 12 fields
| Name | Type | Required |
|---|---|---|
as_of | date-time | yes |
game_id | integer | yes |
gradable | boolean | yes |
league | string | yes |
lines | PropLineHistoryOut[] | yes |
min_sample | integer | yes |
person_id | integer | yes |
player | string | no |
seasons | integer[] | yes |
stat | string | yes |
stat_key | string | yes |
timezone | string | yes |
GET/api/v1/games/{game_id}/records
Game Recordsread key
Parameters · 1 field
| Name | In | Type | Required |
|---|---|---|---|
game_id | path | integer | yes |
Returns: GameRecordsOut · 8 fields
| Name | Type | Required |
|---|---|---|
away | TeamRecordsOut | no |
away_coach | CoachRecordOut | no |
coach_head_to_head | MeetingsOut | no |
game_id | integer | yes |
head_to_head | MeetingsOut | no |
home | TeamRecordsOut | no |
home_coach | CoachRecordOut | no |
season | string | yes |
GET/api/v1/news
List Newsread key
Parameters · 4 fields
| Name | In | Type | Required |
|---|---|---|---|
game_id | query | integer | no |
league | query | string | no |
cursor | query | string | no |
limit | query | integer | no |
Returns: a page of NewsItemOut ({data, next_cursor}) · 11 fields
| Name | Type | Required |
|---|---|---|
author | string | yes |
id | integer | yes |
league | string | yes |
link | string | no |
person_ids | integer[] | yes |
posted_at | date-time | yes |
reads | NewsReadOut[] | no |
source | string | yes |
team_ids | integer[] | yes |
text | string | yes |
urls | string[] | yes |
Bets
Value bets, arbitrage, picks and the live odds stream.
GET/api/v1/finder
Bet Finderread keyPro plan
Parameters · 8 fields
| Name | In | Type | Required |
|---|---|---|---|
kind | query | "value" | "arbitrage" | no |
market_type | query | MarketType | no |
venue | query | string | no |
league | query | string | no |
min_ev | query | number | string | no |
min_confidence | query | number | string | no |
limit | query | integer | no |
all_books | query | boolean | no |
Returns: a page of FindOut ({data, next_cursor}) · 14 fields
| Name | Type | Required |
|---|---|---|
confidence | string | yes |
ev | string | yes |
fair | string | no |
game | GameOut | no |
kind | "value" | "arbitrage" | yes |
legs | map of any[] | yes |
market_type | string | yes |
outcome_id | integer | no |
point | string | no |
price | string | no |
score | string | yes |
seen_at | date-time | yes |
selection | string | yes |
venue | string | yes |
GET/api/v1/games/{game_id}/movement
Game Movementread key
Parameters · 2 fields
| Name | In | Type | Required |
|---|---|---|---|
game_id | path | integer | yes |
market_type | query | MarketType | no |
Returns: GameMovement · 4 fields
| Name | Type | Required |
|---|---|---|
agreement | AgreementOut[] | yes |
data | MovementOut[] | yes |
game_id | integer | yes |
window_minutes | integer | yes |
GET/api/v1/games/{game_id}/segments/history
Segment Historyread key
Parameters · 3 fields
| Name | In | Type | Required |
|---|---|---|---|
game_id | path | integer | yes |
key | query | string | yes |
point | query | number | string | no |
Returns: SegmentHistoryOut · 4 fields
| Name | Type | Required |
|---|---|---|
key | string | yes |
point | string | no |
reads | string | yes |
teams | SegmentTeamOut[] | yes |
GET/api/v1/opportunities
List Opportunitiesread key
Parameters · 7 fields
| Name | In | Type | Required |
|---|---|---|---|
kind | query | OpportunityKind | no |
game_id | query | integer | no |
league | query | string | no |
active | query | boolean | no |
cursor | query | string | no |
limit | query | integer | no |
all_books | query | boolean | no |
Returns: a page of OpportunityOut ({data, next_cursor}) · 11 fields
| Name | Type | Required |
|---|---|---|
detail | map of any | yes |
detected_at | date-time | yes |
edge | string | yes |
expires_at | date-time | yes |
game | GameOut | no |
game_id | integer | yes |
id | integer | yes |
kind | OpportunityKind | yes |
last_seen_at | date-time | yes |
legs | map of any[] | yes |
market_type | MarketType | yes |
POST/api/v1/parlays
Place Parlaytrade keyPro plan
Parameters · 1 field
| Name | In | Type | Required |
|---|---|---|---|
idempotency-key | header | string | no |
Body: ParlayPlaceIn · 2 fields
| Name | Type | Required |
|---|---|---|
outcome_ids | integer[] | yes |
stake_usd | number | string | yes |
Returns: ExecutionOut · 5 fields
| Name | Type | Required |
|---|---|---|
filled | boolean | yes |
order | OrderOut | yes |
reason | string | no |
replayed | boolean | yes |
signal_id | integer | yes |
POST/api/v1/parlays/price
Price Parlayread keyPro plan
Body: ParlayIn · 1 field
| Name | Type | Required |
|---|---|---|
outcome_ids | integer[] | yes |
Returns: ParlayOut · 5 fields
| Name | Type | Required |
|---|---|---|
ev | string | no |
fair | string | no |
issues | string[] | yes |
legs | ParlayLegOut[] | yes |
price | string | no |
GET/api/v1/parlays/suggestions
Parlay Suggestionsread keyPro plan
Parameters · 2 fields
| Name | In | Type | Required |
|---|---|---|---|
day | query | date | no |
all_books | query | boolean | no |
Returns: SuggestionsOut · 5 fields
| Name | Type | Required |
|---|---|---|
data | SuggestionOut[] | yes |
day | date | yes |
record | RecordSummary | yes |
rule | string | yes |
stake_usd | string | yes |
GET/api/v1/picks
Day Picksread key
Parameters · 4 fields
| Name | In | Type | Required |
|---|---|---|---|
day | query | date | no |
group | query | "game_lines" | "player_props" | "team_props" | "game_props" | no |
league | query | string | no |
all_books | query | boolean | no |
Returns: PicksOut · 10 fields
| Name | Type | Required |
|---|---|---|
connected | string[] | no |
day | date | yes |
entitled | boolean | yes |
note | string | no |
picks | PickOut[] | yes |
published_at | date-time | no |
publishes_from | date-time | no |
slates | SlateOut[] | no |
stake_usd | string | yes |
watchlist | WatchOut[] | no |
GET/api/v1/props
Props Boardread key
Parameters · 7 fields
| Name | In | Type | Required |
|---|---|---|---|
day | query | date | no |
league | query | string | no |
game_id | query | integer | no |
kind | query | "player" | "team" | "game" | no |
q | query | string | no |
cursor | query | string | no |
limit | query | integer | no |
Returns: a page of PropRowOut ({data, next_cursor}) · 13 fields
| Name | Type | Required |
|---|---|---|
away | PropPriceOut | no |
books | integer | yes |
game | GameRef | yes |
home | PropPriceOut | no |
key | string | yes |
kind | "player" | "team" | "game" | yes |
market_type | string | yes |
over | PropPriceOut | no |
person_id | integer | no |
point | string | no |
stat | string | no |
subject | string | no |
under | PropPriceOut | no |
POST/api/v1/slip
Place Sliptrade key
Parameters · 1 field
| Name | In | Type | Required |
|---|---|---|---|
idempotency-key | header | string | no |
Body: SlipIn · 1 field
| Name | Type | Required |
|---|---|---|
bets | SlipBet[] | yes |
Returns: SlipOut · 1 field
| Name | Type | Required |
|---|---|---|
results | ExecutionOut[] | yes |
GET/api/v1/stream/slates/{league}/{day}
Slate Streamread key
Parameters · 2 fields
| Name | In | Type | Required |
|---|---|---|---|
league | path | "nfl" | "ncaaf" | "nba" | "ncaab" | "mlb" | "nhl" | "epl" | "laliga" | "bundesliga" | "seriea" | "ligue1" | "ucl" | "mls" | yes |
day | path | date | yes |
GET/api/v1/venues/links
Venue Linksread key
Returns: VenueLinksOut · 2 fields
| Name | Type | Required |
|---|---|---|
data | VenueLinkOut[] | yes |
disclosure | string | yes |
Placing bets
Orders, slips and parlays. Paper unless your account is live.
GET/api/v1/orders
List Ordersread key
Parameters · 4 fields
| Name | In | Type | Required |
|---|---|---|---|
strategy | query | string | no |
mode | query | "paper" | "live" | no |
cursor | query | string | no |
limit | query | integer | no |
Returns: a page of OrderOut ({data, next_cursor}) · 24 fields
| Name | Type | Required |
|---|---|---|
bet_source | "manual" | "arbitrage" | "smart_picks" | yes |
created_at | date-time | yes |
currency | string | yes |
fills | FillOut[] | yes |
game | GameRef | no |
id | integer | yes |
intent | string | yes |
limit_price | string | no |
market_id | integer | yes |
mode | string | yes |
outcome | OutcomeLabel | no |
outcome_id | integer | yes |
point | string | no |
reject_reason | string | no |
side | string | yes |
signal_id | integer | yes |
size | string | yes |
status | string | yes |
strategy | string | no |
strategy_run_id | integer | no |
strategy_version | string | no |
user_id | integer | no |
venue_id | integer | yes |
venue_name | string | no |
POST/api/v1/orders
Place Ordertrade key
Parameters · 1 field
| Name | In | Type | Required |
|---|---|---|---|
idempotency-key | header | string | no |
Body: OrderIn · 5 fields
| Name | Type | Required |
|---|---|---|
limit_price | number | string | no |
outcome_id | integer | yes |
side | OrderSide | no |
size | number | string | no |
stake_usd | number | string | no |
Returns: ExecutionOut · 5 fields
| Name | Type | Required |
|---|---|---|
filled | boolean | yes |
order | OrderOut | yes |
reason | string | no |
replayed | boolean | yes |
signal_id | integer | yes |
GET/api/v1/orders/{order_id}
Get Orderread key
Parameters · 1 field
| Name | In | Type | Required |
|---|---|---|---|
order_id | path | integer | yes |
Returns: OrderOut · 24 fields
| Name | Type | Required |
|---|---|---|
bet_source | "manual" | "arbitrage" | "smart_picks" | yes |
created_at | date-time | yes |
currency | string | yes |
fills | FillOut[] | yes |
game | GameRef | no |
id | integer | yes |
intent | string | yes |
limit_price | string | no |
market_id | integer | yes |
mode | string | yes |
outcome | OutcomeLabel | no |
outcome_id | integer | yes |
point | string | no |
reject_reason | string | no |
side | string | yes |
signal_id | integer | yes |
size | string | yes |
status | string | yes |
strategy | string | no |
strategy_run_id | integer | no |
strategy_version | string | no |
user_id | integer | no |
venue_id | integer | yes |
venue_name | string | no |
GET/api/v1/signals
List Signalsread key
Parameters · 5 fields
| Name | In | Type | Required |
|---|---|---|---|
strategy | query | string | no |
game_id | query | integer | no |
market_id | query | integer | no |
cursor | query | string | no |
limit | query | integer | no |
Returns: a page of SignalOut ({data, next_cursor}) · 24 fields
| Name | Type | Required |
|---|---|---|
bet_source | "manual" | "arbitrage" | "smart_picks" | yes |
confidence | string | no |
contributors | ContributorOut[] | no |
created_at | date-time | yes |
decision | string | yes |
edge | string | no |
fair_price | string | no |
game_id | integer | no |
id | integer | yes |
intent | string | yes |
limit_price | string | no |
market_id | integer | yes |
market_price | string | no |
mode | string | yes |
outcome_id | integer | yes |
reject_rule | string | no |
side | string | yes |
size | string | no |
source | string | yes |
stake_usd | string | no |
strategy | string | no |
strategy_run_id | integer | no |
strategy_version | string | no |
user_id | integer | no |
Your record
Positions, settlements, P&L and your limits.
GET/api/v1/billing
Billingread key
Returns: BillingOut · 7 fields
| Name | Type | Required |
|---|---|---|
credit_usd | string | no |
enabled | boolean | yes |
onramp | boolean | yes |
payments | IntentOut[] | yes |
plan | "free" | "pro" | "live" | yes |
plan_expires_at | date-time | no |
prices | PriceOut[] | yes |
POST/api/v1/billing/intents
Create Intentread key
Body: IntentIn · 2 fields
| Name | Type | Required |
|---|---|---|
months | integer | yes |
plan | "pro" | "live" | yes |
Returns: IntentOut · 15 fields
| Name | Type | Required |
|---|---|---|
amount_usd | string | yes |
asset | string | yes |
created_at | date-time | yes |
credit_usd | string | no |
expires_at | date-time | yes |
id | integer | yes |
months | integer | yes |
pay_url | string | no |
plan | "pro" | "live" | yes |
qr_svg | string | no |
recipient | string | yes |
reference | string | yes |
settled_at | date-time | no |
signature | string | no |
status | "pending" | "confirmed" | "underpaid" | "expired" | yes |
GET/api/v1/billing/intents/{intent_id}
Get Intentread key
Parameters · 1 field
| Name | In | Type | Required |
|---|---|---|---|
intent_id | path | integer | yes |
Returns: IntentOut · 15 fields
| Name | Type | Required |
|---|---|---|
amount_usd | string | yes |
asset | string | yes |
created_at | date-time | yes |
credit_usd | string | no |
expires_at | date-time | yes |
id | integer | yes |
months | integer | yes |
pay_url | string | no |
plan | "pro" | "live" | yes |
qr_svg | string | no |
recipient | string | yes |
reference | string | yes |
settled_at | date-time | no |
signature | string | no |
status | "pending" | "confirmed" | "underpaid" | "expired" | yes |
GET/api/v1/me/compliance
Get Complianceread key
Returns: ComplianceOut · 7 fields
| Name | Type | Required |
|---|---|---|
current_terms_version | string | yes |
excluded_until | date-time | no |
exclusion_days | integer[] | yes |
jurisdiction | string | no |
min_age | integer | no |
needs_attestation | boolean | yes |
terms_version | string | no |
POST/api/v1/me/compliance
Attestread key
Body: AttestIn · 3 fields
| Name | Type | Required |
|---|---|---|
age_confirmed | boolean | yes |
jurisdiction | string | no |
terms_version | string | yes |
Returns: ComplianceOut · 7 fields
| Name | Type | Required |
|---|---|---|
current_terms_version | string | yes |
excluded_until | date-time | no |
exclusion_days | integer[] | yes |
jurisdiction | string | no |
min_age | integer | no |
needs_attestation | boolean | yes |
terms_version | string | no |
GET/api/v1/me/live
Live Statusread key
Returns: LiveStatusOut · 3 fields
| Name | Type | Required |
|---|---|---|
checklist | map of boolean | yes |
enablement | EnablementOut | no |
risk_statement | string | yes |
POST/api/v1/me/live
Request Livetrade key
Body: LiveRequestIn · 1 field
| Name | Type | Required |
|---|---|---|
acknowledged | boolean | yes |
Returns: LiveStatusOut · 3 fields
| Name | Type | Required |
|---|---|---|
checklist | map of boolean | yes |
enablement | EnablementOut | no |
risk_statement | string | yes |
DELETE/api/v1/me/live
Withdraw Liveread key
Returns: LiveStatusOut · 3 fields
| Name | Type | Required |
|---|---|---|
checklist | map of boolean | yes |
enablement | EnablementOut | no |
risk_statement | string | yes |
GET/api/v1/me/referrals
Referralsread key
Returns: ReferralsOut · 9 fields
| Name | Type | Required |
|---|---|---|
code | string | yes |
credit_usd | string | yes |
enabled | boolean | yes |
ledger | CreditOut[] | yes |
link | string | yes |
milestones | MilestoneOut[] | yes |
next_milestone | NextMilestoneOut | no |
paid | integer | yes |
referred | integer | yes |
POST/api/v1/me/self-exclusion
Self Excluderead key
Body: ExcludeIn · 1 field
| Name | Type | Required |
|---|---|---|
days | integer | yes |
Returns: ComplianceOut · 7 fields
| Name | Type | Required |
|---|---|---|
current_terms_version | string | yes |
excluded_until | date-time | no |
exclusion_days | integer[] | yes |
jurisdiction | string | no |
min_age | integer | no |
needs_attestation | boolean | yes |
terms_version | string | no |
GET/api/v1/me/settings
Get Settingsread key
Returns: SettingsOut · 3 fields
| Name | Type | Required |
|---|---|---|
limits | UserLimits | yes |
rules | UserRules | yes |
version | integer | yes |
PUT/api/v1/me/settings
Put Settingstrade key
Body: SettingsIn · 3 fields
| Name | Type | Required |
|---|---|---|
expected_version | integer | yes |
limits | UserLimits | yes |
rules | UserRules | no |
Returns: SettingsOut · 3 fields
| Name | Type | Required |
|---|---|---|
limits | UserLimits | yes |
rules | UserRules | yes |
version | integer | yes |
GET/api/v1/metrics
Get Metricsread key
Parameters · 8 fields
| Name | In | Type | Required |
|---|---|---|---|
mode | query | "paper" | "live" | no |
timeframe | query | Timeframe | no |
group_by | query | "user_id" | "strategy" | "bet_source" | "venue" | "league" | "market_type" | "model" | "feature_bucket" | no |
user_id | query | integer | no |
strategy | query | string | no |
venue | query | string | no |
league | query | string | no |
market_type | query | string | no |
Returns: MetricsOut · 4 fields
| Name | Type | Required |
|---|---|---|
data | SummaryOut[] | yes |
group_by | "user_id" | "strategy" | "bet_source" | "venue" | "league" | "market_type" | "model" | "feature_bucket" | no |
mode | "paper" | "live" | yes |
timeframe | Timeframe | yes |
GET/api/v1/metrics/equity
Get Equityread key
Parameters · 4 fields
| Name | In | Type | Required |
|---|---|---|---|
mode | query | "paper" | "live" | no |
timeframe | query | Timeframe | no |
strategy | query | string | no |
user_id | query | integer | no |
Returns: EquityOut · 5 fields
| Name | Type | Required |
|---|---|---|
data | PointOut[] | yes |
max_drawdown | string | yes |
mode | "paper" | "live" | yes |
scope | SnapshotScope | yes |
timeframe | Timeframe | yes |
GET/api/v1/positions
List Positionsread key
Parameters · 4 fields
| Name | In | Type | Required |
|---|---|---|---|
status | query | "open" | "closed" | no |
mode | query | "paper" | "live" | no |
cursor | query | string | no |
limit | query | integer | no |
Returns: a page of PositionOut ({data, next_cursor}) · 33 fields
| Name | Type | Required |
|---|---|---|
avg_price | string | yes |
bet_source | "manual" | "arbitrage" | "smart_picks" | yes |
can_sell | boolean | no |
closed_at | date-time | no |
cost | string | yes |
currency | string | yes |
entry_cost | string | yes |
exit_reason | string | no |
fees | string | yes |
game | GameRef | no |
game_id | integer | no |
group_id | string | no |
id | integer | yes |
kind | string | yes |
legs | PositionLegOut[] | no |
mark_price | string | no |
market_id | integer | yes |
market_type | string | yes |
mode | string | yes |
opened_at | date-time | yes |
opened_qty | string | yes |
outcome | OutcomeLabel | no |
outcome_id | integer | yes |
point | string | no |
qty | string | yes |
realized_pnl | string | yes |
settlement | SettlementSummary | no |
status | string | yes |
strategy | string | no |
unrealized_pnl | string | no |
user_id | integer | no |
venue_id | integer | yes |
venue_name | string | no |
GET/api/v1/positions/totals
Position Totalsread key
Parameters · 2 fields
| Name | In | Type | Required |
|---|---|---|---|
status | query | "open" | "closed" | no |
mode | query | "paper" | "live" | no |
Returns: PositionTotals · 5 fields
| Name | Type | Required |
|---|---|---|
count | integer | yes |
entry_cost | string | yes |
realized_pnl | string | yes |
unmarked | integer | yes |
unrealized_pnl | string | yes |
GET/api/v1/positions/{position_id}
Get Positionread key
Parameters · 1 field
| Name | In | Type | Required |
|---|---|---|---|
position_id | path | integer | yes |
Returns: PositionOut · 33 fields
| Name | Type | Required |
|---|---|---|
avg_price | string | yes |
bet_source | "manual" | "arbitrage" | "smart_picks" | yes |
can_sell | boolean | no |
closed_at | date-time | no |
cost | string | yes |
currency | string | yes |
entry_cost | string | yes |
exit_reason | string | no |
fees | string | yes |
game | GameRef | no |
game_id | integer | no |
group_id | string | no |
id | integer | yes |
kind | string | yes |
legs | PositionLegOut[] | no |
mark_price | string | no |
market_id | integer | yes |
market_type | string | yes |
mode | string | yes |
opened_at | date-time | yes |
opened_qty | string | yes |
outcome | OutcomeLabel | no |
outcome_id | integer | yes |
point | string | no |
qty | string | yes |
realized_pnl | string | yes |
settlement | SettlementSummary | no |
status | string | yes |
strategy | string | no |
unrealized_pnl | string | no |
user_id | integer | no |
venue_id | integer | yes |
venue_name | string | no |
GET/api/v1/settlements
List Settlementsread key
Parameters · 2 fields
| Name | In | Type | Required |
|---|---|---|---|
cursor | query | string | no |
limit | query | integer | no |
Returns: a page of SettlementOut ({data, next_cursor}) · 19 fields
| Name | Type | Required |
|---|---|---|
away_score | integer | no |
closing_point | string | no |
closing_price | string | no |
clv | string | no |
clv_basis | string | no |
commission | string | yes |
game | GameRef | no |
game_id | integer | no |
graded_by | string | yes |
home_score | integer | no |
id | integer | yes |
legs | PositionLegOut[] | no |
outcome | OutcomeLabel | no |
payout | string | yes |
pnl | string | yes |
position_id | integer | yes |
result | string | yes |
settled_at | date-time | yes |
venue_name | string | no |