{"openapi":"3.1.0","info":{"title":"Converge sports API","description":"Send your key in an X-API-Key header (the account page makes one). Starter: 20 requests a minute; Pro: 120. Odds are decimal; EV and edges are per $1 staked, after fees.","version":"0.2.0"},"paths":{"/api/v1/sports/fair-value":{"get":{"tags":["sports-feed"],"summary":"Sports Fair Value","description":"Fair-value feed for one sport: each game's Kalshi price next to our fair\nvalue, the +EV, and the arb edge. Reference data, not advice.","operationId":"sports_fair_value_api_v1_sports_fair_value_get","parameters":[{"name":"sport","in":"query","required":false,"schema":{"type":"string","default":"nfl","title":"Sport"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Fair Value Api V1 Sports Fair Value Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sports/sports":{"get":{"tags":["sports-feed"],"summary":"Sports List","operationId":"sports_list_api_v1_sports_sports_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports List Api V1 Sports Sports Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sports/signals":{"get":{"tags":["sports-feed"],"summary":"Sports Signals","description":"Sports +EV bets (a book pays more than our fair price, net of fees) and\narbs (the best price on every outcome across books locks a profit).\nVisitors and free accounts get a preview; Starter and above get every row.","operationId":"sports_signals_api_v1_sports_signals_get","parameters":[{"name":"sport","in":"query","required":false,"schema":{"type":"string","description":"An Odds API sport key from /signal-config, or 'all'","default":"all","title":"Sport"},"description":"An Odds API sport key from /signal-config, or 'all'"},{"name":"books","in":"query","required":false,"schema":{"type":"string","description":"Comma-separated bookmaker keys the user can bet at","default":"","title":"Books"},"description":"Comma-separated bookmaker keys the user can bet at"},{"name":"preset","in":"query","required":false,"schema":{"type":"string","description":"A book preset from /signal-config (us, ontario, exchanges)","default":"","title":"Preset"},"description":"A book preset from /signal-config (us, ontario, exchanges)"},{"name":"min_ev","in":"query","required":false,"schema":{"type":"string","description":"Minimum EV per $1 staked, after fees (0.01 = 1%)","default":"0.01","title":"Min Ev"},"description":"Minimum EV per $1 staked, after fees (0.01 = 1%)"},{"name":"min_arb","in":"query","required":false,"schema":{"type":"string","description":"Minimum locked arb profit per $1 staked","default":"0.001","title":"Min Arb"},"description":"Minimum locked arb profit per $1 staked"},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Signals Api V1 Sports Signals Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sports/game":{"get":{"tags":["sports-feed"],"summary":"Sports Game","description":"Odds screen for one game: every book's price on every line, the best\nprice per outcome flagged, and our fair price. Signed-in accounts only.","operationId":"sports_game_api_v1_sports_game_get","parameters":[{"name":"sport","in":"query","required":true,"schema":{"type":"string","description":"Sport key of the game","title":"Sport"},"description":"Sport key of the game"},{"name":"event_id","in":"query","required":true,"schema":{"type":"string","description":"event_id from /signals","title":"Event Id"},"description":"event_id from /signals"},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Game Api V1 Sports Game Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sports/alert-prefs":{"get":{"tags":["sports-feed"],"summary":"Sports Alert Prefs","description":"This account's sports alert settings and which channels it can use.","operationId":"sports_alert_prefs_api_v1_sports_alert_prefs_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Alert Prefs Api V1 Sports Alert Prefs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["sports-feed"],"summary":"Sports Alert Prefs Save","description":"Save sports alert settings. Turning alerts on needs a paid plan; each\nchannel needs to be usable (a verified Telegram chat, an email on file, a\nPro webhook) -- the chat is always the one the account verified, never one\nthe client sends.","operationId":"sports_alert_prefs_save_api_v1_sports_alert_prefs_put","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SportsAlertPrefsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Alert Prefs Save Api V1 Sports Alert Prefs Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sports/bets":{"post":{"tags":["sports-feed"],"summary":"Sports Bet Track","description":"Track a bet you placed from the board. The game, its kickoff, the book\nand the fair price come from our board, not the request; the odds are the\nones you got. Its closing-line value fills in automatically at kickoff.","operationId":"sports_bet_track_api_v1_sports_bets_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SportsBetIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Bet Track Api V1 Sports Bets Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["sports-feed"],"summary":"Sports Bets","description":"Your tracked bets, newest first, and how you're doing against the close.","operationId":"sports_bets_api_v1_sports_bets_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Bets Api V1 Sports Bets Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sports/push/key":{"get":{"tags":["sports-feed"],"summary":"Sports Push Key","description":"The key a browser subscribes to push with (VAPID public key). Public.","operationId":"sports_push_key_api_v1_sports_push_key_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Push Key Api V1 Sports Push Key Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sports/push/subscribe":{"post":{"tags":["sports-feed"],"summary":"Sports Push Subscribe","description":"This device gets the account's sports alerts as push notifications.","operationId":"sports_push_subscribe_api_v1_sports_push_subscribe_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushSubscriptionIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Push Subscribe Api V1 Sports Push Subscribe Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sports/push/unsubscribe":{"post":{"tags":["sports-feed"],"summary":"Sports Push Unsubscribe","operationId":"sports_push_unsubscribe_api_v1_sports_push_unsubscribe_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PushEndpointIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Push Unsubscribe Api V1 Sports Push Unsubscribe Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sports/push/test":{"post":{"tags":["sports-feed"],"summary":"Sports Push Test","description":"Send one notification to each of the account's devices, now.","operationId":"sports_push_test_api_v1_sports_push_test_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Push Test Api V1 Sports Push Test Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sports/history":{"get":{"tags":["sports-feed"],"summary":"Sports History","description":"Line movement for one bet: every book's price, and our fair price, each\ntime it changed since the board first flagged the bet. A price of 0 means\nthe book stopped offering it. A paid plan's.","operationId":"sports_history_api_v1_sports_history_get","parameters":[{"name":"event_id","in":"query","required":true,"schema":{"type":"string","maxLength":64,"description":"event_id from /signals","title":"Event Id"},"description":"event_id from /signals"},{"name":"market","in":"query","required":true,"schema":{"type":"string","maxLength":32,"title":"Market"}},{"name":"outcome","in":"query","required":true,"schema":{"type":"string","maxLength":200,"title":"Outcome"}},{"name":"line","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"The bet's line; omit for a moneyline","title":"Line"},"description":"The bet's line; omit for a moneyline"},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports History Api V1 Sports History Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sports/bets/{bet_id}":{"patch":{"tags":["sports-feed"],"summary":"Sports Bet Update","description":"Correct a tracked bet's price or stake, or mark its result.","operationId":"sports_bet_update_api_v1_sports_bets__bet_id__patch","parameters":[{"name":"bet_id","in":"path","required":true,"schema":{"type":"string","title":"Bet Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SportsBetPatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Bet Update Api V1 Sports Bets  Bet Id  Patch"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["sports-feed"],"summary":"Sports Bet Delete","operationId":"sports_bet_delete_api_v1_sports_bets__bet_id__delete","parameters":[{"name":"bet_id","in":"path","required":true,"schema":{"type":"string","title":"Bet Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sports/promo":{"get":{"tags":["sports-feed"],"summary":"Sports Promo","description":"Promo converter: the best way to turn a book's bonus bet, profit boost\nor qualifying bet into locked cash, hedged at the best prices elsewhere\n(services/sports_promos.py). Visitors and free accounts see the profit\nand the game; the bet, books and stakes are a paid plan's.","operationId":"sports_promo_api_v1_sports_promo_get","parameters":[{"name":"book","in":"query","required":false,"schema":{"type":"string","description":"The promo's book key, from `books` in this response; empty lists the books","default":"","title":"Book"},"description":"The promo's book key, from `books` in this response; empty lists the books"},{"name":"kind","in":"query","required":false,"schema":{"type":"string","description":"bonus_bet (stake not returned) | boost | qualify","default":"bonus_bet","title":"Kind"},"description":"bonus_bet (stake not returned) | boost | qualify"},{"name":"amount","in":"query","required":false,"schema":{"type":"number","maximum":100000,"exclusiveMinimum":0,"description":"Bonus amount, or the cash stake for a boost / qualifying bet","default":100,"title":"Amount"},"description":"Bonus amount, or the cash stake for a boost / qualifying bet"},{"name":"boost","in":"query","required":false,"schema":{"type":"number","maximum":5,"minimum":0,"description":"Profit boost as a fraction of winnings (0.5 = 50%)","default":0.5,"title":"Boost"},"description":"Profit boost as a fraction of winnings (0.5 = 50%)"},{"name":"min_odds","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100000,"minimum":-100000},{"type":"null"}],"description":"The promo's minimum odds, American (e.g. -200)","title":"Min Odds"},"description":"The promo's minimum odds, American (e.g. -200)"},{"name":"sport","in":"query","required":false,"schema":{"type":"string","description":"A sport key from /signal-config, or 'all'","default":"all","title":"Sport"},"description":"A sport key from /signal-config, or 'all'"},{"name":"hedge_books","in":"query","required":false,"schema":{"type":"string","maxLength":2000,"description":"Comma-separated books you can hedge at; empty = the books legal where the promo book is (Ontario or US)","default":"","title":"Hedge Books"},"description":"Comma-separated books you can hedge at; empty = the books legal where the promo book is (Ontario or US)"},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Promo Api V1 Sports Promo Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sports/public-stats":{"get":{"tags":["sports-feed"],"summary":"Sports Public Stats","description":"Live board size and the closing-line track record, for the landing page.\n\nNot IP rate-limited: the answer is the same for everyone and is computed at\nmost once a minute (one computation at a time), so a caller can only ever\nread the cache. Behind the per-IP limit it blanked /record and the landing\nfor everyone sharing an IP -- an office, a campus, a phone carrier's NAT\n(persona walk 2026-10-07, V6).","operationId":"sports_public_stats_api_v1_sports_public_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Sports Public Stats Api V1 Sports Public Stats Get"}}}}}}},"/api/v1/sports/value":{"get":{"tags":["sports-feed"],"summary":"Sports Value","description":"What the board's finished +EV picks of the last 30 days were worth to a\nbettor who placed them the way the plan says: the mode's bar, each book's\ndaily and 30-day budget, round unit stakes, at these books\n(sports_collector.plan_value, which runs services/sports_plan.build_plan).\nIn closing-line value, per month, with the real date range; \"a day\" only\nonce 14 slates back it. Aggregates only; withheld until 30 picks back it,\nlike the record.","operationId":"sports_value_api_v1_sports_value_get","parameters":[{"name":"bankroll","in":"query","required":false,"schema":{"type":"number","maximum":10000000,"exclusiveMinimum":0,"description":"Your betting bankroll, $","default":1000,"title":"Bankroll"},"description":"Your betting bankroll, $"},{"name":"books","in":"query","required":false,"schema":{"type":"string","description":"all | a preset from /signal-config (us, ontario, exchanges) | mine: your plan's books and limits (signed in)","default":"all","title":"Books"},"description":"all | a preset from /signal-config (us, ontario, exchanges) | mine: your plan's books and limits (signed in)"},{"name":"mode","in":"query","required":false,"schema":{"type":"string","description":"safe | balanced | aggressive (the plan's modes); default your plan's, else balanced","default":"","title":"Mode"},"description":"safe | balanced | aggressive (the plan's modes); default your plan's, else balanced"},{"name":"max_bet","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":1000000,"exclusiveMinimum":0},{"type":"null"}],"description":"The most your books let you bet, $","title":"Max Bet"},"description":"The most your books let you bet, $"},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Value Api V1 Sports Value Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sports/board-prefs":{"get":{"tags":["sports-feed"],"summary":"Sports Board Prefs","description":"Filters, hidden picks and saved views for this signed-in account.","operationId":"sports_board_prefs_api_v1_sports_board_prefs_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Board Prefs Api V1 Sports Board Prefs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["sports-feed"],"summary":"Sports Board Prefs Save","operationId":"sports_board_prefs_save_api_v1_sports_board_prefs_put","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SportsBoardStateIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Board Prefs Save Api V1 Sports Board Prefs Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sports/plan/settings":{"get":{"tags":["sports-feed"],"summary":"Sports Plan Settings","description":"Your plan's bankroll, mode, books and the books that limited you; null\nuntil you set it up (``suggested_books`` are your alert books, if any).","operationId":"sports_plan_settings_api_v1_sports_plan_settings_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Plan Settings Api V1 Sports Plan Settings Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["sports-feed"],"summary":"Sports Plan Settings Save","description":"Save bankroll, mode, venues, reported sportsbook limits, and exchange\nstake caps (0 = unavailable).","operationId":"sports_plan_settings_save_api_v1_sports_plan_settings_put","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanSettingsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Plan Settings Save Api V1 Sports Plan Settings Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sports/plan/skip":{"put":{"tags":["sports-feed"],"summary":"Sports Plan Skip","description":"Decline or restore one pick for today's New York slate.","operationId":"sports_plan_skip_api_v1_sports_plan_skip_put","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanSkipIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Plan Skip Api V1 Sports Plan Skip Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sports/plan":{"get":{"tags":["sports-feed"],"summary":"Sports Plan","description":"Today's plan: which bets to place, at which of your books, and how much\n-- sized to your bankroll and spread so your accounts stay open\n(services/sports_plan.py). A paid plan's; a free account or visitor gets\n``locked``.","operationId":"sports_plan_api_v1_sports_plan_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Plan Api V1 Sports Plan Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sports/accounts":{"get":{"tags":["sports-feed"],"summary":"Sports Accounts","description":"How each sportsbook account you bet at stands: how much of its +EV\nbudget you have used today and this month, and whether to rest it. Read\nfrom your tracked bets with your plan's mode (balanced without a plan), so\nthe board can warn before a bet that burns an account. Signed in only.","operationId":"sports_accounts_api_v1_sports_accounts_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Accounts Api V1 Sports Accounts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/sports/signal-config":{"get":{"tags":["sports-feed"],"summary":"Sports Signal Config","description":"The sports, book presets and books (for \"My books\") the signals page\noffers. Reads only what is cached: a page load never waits on a book.","operationId":"sports_signal_config_api_v1_sports_signal_config_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Sports Signal Config Api V1 Sports Signal Config Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/referrals/affiliates":{"post":{"tags":["referrals"],"summary":"Affiliate Signup","description":"Self-serve: a person or an AI agent acting for one gets a link at once.\nThe secret is shown once; keep it to read your stats.","operationId":"affiliate_signup_api_v1_referrals_affiliates_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AffiliateSignup"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Affiliate Signup Api V1 Referrals Affiliates Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/referrals/affiliates/feedback":{"post":{"tags":["referrals"],"summary":"Affiliate Feedback","description":"Tell us why you joined or didn't. Agents read the program (GPTBot read\nit ten times in three days, 2026-11-20) and none signed up; this is the one\nway to hear why. Stored for the owner to read; nothing is sent anywhere.","operationId":"affiliate_feedback_api_v1_referrals_affiliates_feedback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AffiliateFeedback"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Affiliate Feedback Api V1 Referrals Affiliates Feedback Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/referrals/affiliates/{code}":{"get":{"tags":["referrals"],"summary":"Affiliate Stats","description":"An affiliate's counts and money: pending (in the hold), earned, paid, owed.\nThe secret only as a header: in a URL it would be written to the logs.","operationId":"affiliate_stats_api_v1_referrals_affiliates__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}},{"name":"X-Affiliate-Secret","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Affiliate-Secret"}},{"name":"User-Agent","in":"header","required":false,"schema":{"type":"string","default":"","title":"User-Agent"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Affiliate Stats Api V1 Referrals Affiliates  Code  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AffiliateFeedback":{"properties":{"decision":{"type":"string","pattern":"^(joined|not_joining|undecided)$","title":"Decision","description":"joined, not_joining or undecided"},"reasons":{"type":"string","maxLength":2000,"minLength":3,"title":"Reasons","description":"What decided it"},"agent":{"type":"string","maxLength":120,"title":"Agent","description":"Optional: what you are (agent, model, operator)","default":""},"blockers":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Blockers","description":"Optional, what stops you: commission_too_low, hold_period_too_long, payout_method, minimum_payout_too_high, terms_unclear, no_audience, not_allowed_to_promote, needs_more_proof, other"},"commission_pct_wanted":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Commission Pct Wanted","description":"Optional: the commission, in percent, that would make you join"},"payout_wanted":{"items":{"type":"string"},"type":"array","maxItems":5,"title":"Payout Wanted","description":"Optional: how you want to be paid (paypal, usdc, bank, ...)"}},"type":"object","required":["decision","reasons"],"title":"AffiliateFeedback"},"AffiliateSignup":{"properties":{"email":{"type":"string","maxLength":320,"title":"Email","description":"Where we reach you, and who the payout is for"},"payout":{"type":"string","maxLength":200,"minLength":3,"title":"Payout","description":"Where to pay you: a PayPal email, or a USDC address on Base"},"name":{"type":"string","maxLength":120,"title":"Name","description":"You or your business","default":""},"promotes":{"type":"string","maxLength":2000,"title":"Promotes","description":"Where and how you'll share the link","default":""},"agree_to_rules":{"type":"boolean","title":"Agree To Rules","description":"You read and accept the rules at /affiliates"}},"type":"object","required":["email","payout","agree_to_rules"],"title":"AffiliateSignup"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"PlanSettingsIn":{"properties":{"bankroll":{"type":"number","maximum":10000000.0,"minimum":10.0,"title":"Bankroll"},"bankroll_cad":{"anyOf":[{"type":"number","maximum":10000000.0,"minimum":10.0},{"type":"null"}],"title":"Bankroll Cad"},"mode":{"type":"string","maxLength":16,"title":"Mode","default":"balanced"},"books":{"items":{"type":"string"},"type":"array","maxItems":60,"minItems":1,"title":"Books"},"limits":{"additionalProperties":{"type":"number"},"type":"object","maxProperties":60,"title":"Limits"}},"type":"object","required":["bankroll","books"],"title":"PlanSettingsIn"},"PlanSkipIn":{"properties":{"key":{"prefixItems":[{"type":"string"},{"type":"string"},{"anyOf":[{"type":"number"},{"type":"null"}]},{"type":"string"}],"type":"array","maxItems":4,"minItems":4,"title":"Key"},"event":{"type":"string","maxLength":160,"title":"Event","default":""},"outcome":{"type":"string","maxLength":160,"title":"Outcome","default":""},"skip":{"type":"boolean","title":"Skip"}},"type":"object","required":["key","skip"],"title":"PlanSkipIn"},"PushEndpointIn":{"properties":{"endpoint":{"type":"string","maxLength":1000,"title":"Endpoint"}},"type":"object","required":["endpoint"],"title":"PushEndpointIn"},"PushSubscriptionIn":{"properties":{"endpoint":{"type":"string","maxLength":1000,"title":"Endpoint"},"p256dh":{"type":"string","maxLength":200,"minLength":80,"pattern":"^[A-Za-z0-9_\\-=]+$","title":"P256Dh"},"auth":{"type":"string","maxLength":64,"minLength":16,"pattern":"^[A-Za-z0-9_\\-=]+$","title":"Auth"}},"type":"object","required":["endpoint","p256dh","auth"],"title":"PushSubscriptionIn"},"SportsAlertPrefsIn":{"properties":{"enabled":{"type":"boolean","title":"Enabled","default":false},"min_ev_pct":{"type":"number","maximum":25.0,"minimum":0.5,"title":"Min Ev Pct","default":4.0},"min_arb_pct":{"type":"number","maximum":15.0,"minimum":0.0,"title":"Min Arb Pct","default":0.5},"books":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":60},{"type":"null"}],"title":"Books"},"telegram":{"type":"boolean","title":"Telegram","default":true},"email":{"type":"boolean","title":"Email","default":false},"webhook":{"type":"boolean","title":"Webhook","default":false}},"type":"object","title":"SportsAlertPrefsIn"},"SportsBetIn":{"properties":{"sport":{"type":"string","maxLength":64,"title":"Sport"},"event_id":{"type":"string","maxLength":64,"title":"Event Id"},"market":{"type":"string","maxLength":32,"title":"Market"},"line":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Line"},"outcome":{"type":"string","maxLength":200,"title":"Outcome"},"book":{"type":"string","maxLength":64,"title":"Book"},"odds":{"type":"number","maximum":1000.0,"exclusiveMinimum":1.0,"title":"Odds","description":"Decimal odds you actually got"},"stake":{"anyOf":[{"type":"number","maximum":10000000.0,"minimum":0.0},{"type":"null"}],"title":"Stake"}},"type":"object","required":["sport","event_id","market","outcome","book","odds"],"title":"SportsBetIn"},"SportsBetPatch":{"properties":{"result":{"anyOf":[{"type":"string","pattern":"^(won|lost|push|open)$"},{"type":"null"}],"title":"Result"},"stake":{"anyOf":[{"type":"number","maximum":10000000.0,"minimum":0.0},{"type":"null"}],"title":"Stake"},"odds":{"anyOf":[{"type":"number","maximum":1000.0,"exclusiveMinimum":1.0},{"type":"null"}],"title":"Odds","description":"Corrected decimal odds actually taken"}},"type":"object","title":"SportsBetPatch"},"SportsBoardStateIn":{"properties":{"filters":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":20,"title":"Filters"},"my_books":{"items":{"type":"string"},"type":"array","maxItems":60,"title":"My Books"},"owner_id":{"type":"string","maxLength":32,"minLength":32,"title":"Owner Id"},"hidden":{"items":{"type":"string"},"type":"array","maxItems":500,"title":"Hidden"},"views":{"additionalProperties":{"$ref":"#/components/schemas/SportsBoardViewIn"},"type":"object","maxProperties":20,"title":"Views"}},"type":"object","required":["owner_id"],"title":"SportsBoardStateIn"},"SportsBoardViewIn":{"properties":{"filters":{"additionalProperties":{"type":"string"},"type":"object","maxProperties":20,"title":"Filters"},"my_books":{"items":{"type":"string"},"type":"array","maxItems":60,"title":"My Books"}},"type":"object","title":"SportsBoardViewIn"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}