Shark Snip API
API Documentation
Explore Shark Snip API v1 public feeds, NFL entity packets, OpenAPI 3.1 contracts, bearer key endpoints, and account workflows.
Public API v1 & OpenAPI 3.1 Reference
Open GET feeds require no key; bearer endpoints use SHARKSNIP_API_KEY.
/api/v1/public/props publicRead the anonymous props board by player name, with the page’s visibility and pagination.
{ sport, filters, board }; board includes capture state, bounded players and the same public page fields. Empty boards remain explicit.
Parameters
import json
import os
import urllib.error
import urllib.parse
import urllib.request
params = {"sport": "nfl", "q": "Bijan Robinson", "sort": "board", "page": 1, "marketPage": 1}
url = f"https://sharksnip.com/api/v1/public/props?{urllib.parse.urlencode(params)}"
headers = {"Accept": "application/json"}
etag = os.environ.get("SHARKSNIP_ETAG")
if etag:
headers["If-None-Match"] = etag
req = urllib.request.Request(url, headers=headers, method="GET")
try:
with urllib.request.urlopen(req, timeout=15) as res:
print({"status": res.status, "etag": res.headers.get("ETag"), "data": json.loads(res.read().decode("utf-8"))})
except urllib.error.HTTPError as err:
if err.code == 304:
print({"status": 304, "not_modified": True, "etag": err.headers.get("ETag")})
else:
raise200 JSON schema
sportnfl | nba | mlb | nhl required Response field.filtersobject required Response field.filters.weekinteger | null required Response field.filters.querystring required Response field.filters.bookstring required Response field.filters.teamstring required Response field.filters.positionstring required Response field.filters.marketstring required Response field.filters.sortboard | confidence required Response field.filters.expandedstring required Response field.filters.pageinteger required Response field.filters.marketPageinteger required Response field.boardobject required Response field.board.kindready | refreshing | empty required Response field.board.freshnessfresh | stale required Response field.board.emptyKindweek_unavailable | idle_slate | filtered_out | null required Response field.board.scheduleNoticestring | null required Response field.board.lastCapturedAtstring | null optional Response field.board.asOfstring | null required Response field.board.contextUnavailableboolean required Response field.board.weekUnavailableboolean required Response field.board.totalPlayersinteger required Response field.board.marketCountinteger required Response field.board.multiBookCountinteger required Response field.board.houseCountinteger required Response field.board.quoteRowsinteger required Response field.board.excludedStartedinteger required Response field.board.excludedUnknowninteger required Response field.board.booksarray required Response field.board.marketsarray required Response field.board.pageinteger required Response field.board.pagesinteger required Response field.board.playersarray required Response field.board.marketOptionsarray required Response field.board.marketOptions[].keystring required Response field.board.marketOptions[].labelstring required Response field.
200 sample JSON
{
"sport": null,
"filters": null,
"board": null
}HTTP status codes
- 200 { sport, filters, board }; board includes capture state, bounded players and the same public page fields. Empty boards remain explicit.
- 304 Unchanged public representation; no response body.
- 400 Unsupported or invalid board filters.
- 429 Per-IP rate limit exceeded (60 requests / 60 seconds).
- 503 The prebuilt prop source or requested week could not be read.
Streamable HTTP · Protocol 2025-11-25
Sharkai MCP Server (/api/mcp)
Connect Claude Desktop, Claude Code, Cursor, Windsurf, Codex, or Antigravity to https://sharksnip.com/api/mcp. Unauthenticated initialize, ping, tools/list, and 12 public onboarding tools return HTTP 200; paid tools/call operations require Authorization: Bearer ssk_live_… and an active subscription.
Live MCP tool catalog (84 tools)
| Tool | Family | Minimum Plan | Scope | Description |
|---|---|---|---|---|
| get_bets | snapshot | free | read | Return betting markets in a date window per sport. |
| get_event_context | snapshot | free | read | Event + markets + model results + linked news in one call. |
| get_news | snapshot | free | read | Headlines for NFL by default. Optional sport: nfl, nba, mlb, nhl, or all for all sports. Optional eventId filters to linked news. |
| explain_pick | snapshot | free | read | Explain one market using model edge, line movement, and news. |
| injury_report | snapshot | weekly | read | Current injury designations per sport (optional team filter). |
| weather_report | snapshot | weekly | read | Forecast for an outdoor event (wind / precip / temp). |
| pace_and_efficiency | snapshot | weekly | read | Rolling pace + offensive/defensive efficiency per team. |
| line_history | snapshot | weekly | read | Open→current line history for one market across books. |
| market_movement | snapshot | weekly | read | Top line movers in a recent time window. |
| consensus_pct | snapshot | weekly | read | Public bet % and handle % for one market (when available). |
| model_results | snapshot | weekly | read | Published model probabilities, fair odds, market price comparison, and confidence across markets. |
| team_recent_form | snapshot | weekly | read | Last-N games splits (ATS, totals, situational) per team. |
| ref_assignments | snapshot | weekly | read | Referee crew assignments + crew tendencies (penalties / pace). |
| top_edges | snapshot | free | read | Top model-vs-market edges right now (ranked by EV). |
| nfl_key_number_rates | snapshot | free | read | Deterministic NFL regular-season key-number margin frequencies (1999-2025, n = 6,967 completed games) plus spread proximity to 3 and 7 under Sharkai positive-home convention. |
| draft_slip | slip | free | read | Assemble a sportsbook or pickem slip from leg specs; checks correlation and operator schedules, returning correlation-aware Kelly stake and risk notes when independent or SGP-quoted. No execution. |
| kelly_size | slip | free | read | Kelly stake from win probability + American or decimal payout odds + bankroll fraction. |
| find_arb | slip | weekly | read | Cross-book arbitrage candidates above a net return threshold. |
| compare_books | slip | weekly | read | Best price per book for a given market. |
| sgp_check_correlation | slip | free | read | Audit same-game parlay leg pairs for opposing sides, duplicates, correlation groups, and joint win-chance bounds. |
| parlay_ev | slip | free | read | Expected value of a parlay from calibrated leg probabilities and posted odds, with bounded correlation adjustments when gameId/playerId overlap and refusing conflicting legs. |
| hedge_calc | slip | free | read | Hedge stake to equalize net return across outcomes at a current line. |
| clv_check | slip | free | read | Closing line value: bet odds vs market close. |
| no_vig_price | slip | free | read | Remove vig from a two-way or 2..8 outcome market given American odds (<= -100 or >= 100, never in (-100, 100)) via proportional, power, or Shin devigging; returns fair probabilities, fair prices, overround, hold, and Shin z. |
| devig_market | slip | free | read | Deterministic 2-to-12-way American vig removal (proportional, power, or Shin) accepting outcomes[] or americanOdds[] and returning fair win probabilities, fair odds, overround, and hold. |
| calculate_ev | slip | free | read | Deterministic unit expected value, dollar expected return, and break-even win probability from fair win probability and American or decimal odds. |
| kelly_stake | slip | free | read | Deterministic quarter-Kelly default stake calculator with $0.00 non-positive expectation floor, 5.0% bankroll cap on stakeDollars, and 2.5%/5.0% bankroll variance warnings. |
| parlay_vig_breakdown | slip | free | read | Deterministic 2-to-12-leg parlay vig breakdown computing per-leg fair probabilities, compounded overround, compounded hold, and independent ticket EV. |
| ev_calc | slip | free | read | Expected value from American or decimal book odds plus either a fair win probability or a two-way sharp market to devig; returns decimal odds, break-even probability, fair odds, win-probability delta, expected return, net return, EV percentage, and optional quarter/half Kelly stakes. |
| list_user_models | user-data | weekly | read | List the caller's own model_cards (calibration, status, target). |
| list_user_bet_slips | user-data | weekly | read | UNAVAILABLE: the bet queue has no backing store in production; this tool returns an explicit unavailable source, never rows. |
| list_user_settled | user-data | weekly | read | Caller's recent settled bets (user_bets table). |
| calibration_report | user-data | weekly | read | Caller's model calibration (predicted vs realized win rate by bucket). |
| my_clv | user-data | weekly | read | Caller's recent CLV across placed bets. |
| my_roi | user-data | weekly | read | Caller's ROI breakdown by sport / market / book. |
| my_streaks | user-data | weekly | read | Caller's current win/loss streaks per sport. |
| my_dashboard_summary | user-data | weekly | read | One-shot dashboard summary: models, settled record, ROI, streaks, and closing line value. |
| list_top_free_models | studio-read | weekly | read | Top public model_cards by recent ATS / Brier / ROI. |
| diff_blueprints | studio-read | weekly | read | Diff two ModelCards' recipes (slot-by-slot, brick id/version/params). |
| suggest_model_improvements | studio-read | pro | read | Given a user ModelCard, propose recipe tweaks (slot brick swaps, missing features) vs leaderboard gap. |
| propose_blueprint | studio-read | pro | read | Propose a recipe from scratch. Returns canonical slot shape {data, features, target, slice, architecture, staking, ensemble} pinning bricks by {id, version, params?}. |
| validate_blueprint | studio-read | pro | read | Dry-run check on a recipe: slot taxonomy correct, all brick ids exist in brick_registry, schedules-v1 in features, positive=home spread, no leakage slugs. |
| get_backtest_results | studio-read | pro | read | Backtest results for a ModelCard: Brier, ATS, ROI by week / season. |
| explain_receipt | studio-read | pro | read | Explain why an owned research receipt reads the way it does: its provenance bindings, terminal status and lineage. Does NOT return the evaluation population — inspect_research_run does, and records the look. |
| explain_gate_failure | studio-read | pro | read | The concrete criterion an owned research run failed, quoted from the executor receipt. A run that cleared its gate is reported as having no failure. |
| inspect_research_run | studio-read | pro | read | Inspect an owned research receipt, including failed and rejected experiments and their lineage. |
| compare_research_runs | studio-read | pro | read | Compare two owned completed experiments only when their verified evaluation context matches. Returns evidence, never an automatic winner. |
| save_research_result | studio-write | pro | models:write | Save a verified completed research result as a named Builder draft with trusted receipt references. Does not publish the model. |
| get_training_status | studio-read | pro | read | Status of a submitted training run (queued/training/backtesting/done/failed). |
| run_walk_forward | studio-read | pro | read | Start a cooperative Sharkai multi-season chronological season-by-season lift evaluation and return a pollable wf_<uuid> MCP task handle. |
| get_builder_state | studio-read | pro | read | Live snapshot of the caller's recipe draft for the /build right-rail Sharkai chat. Returns slug, sport, objective, slotsFilled[], lastTrainingStatus, lastBacktestSummary — same shape the client sends as `builderContext`. Use to refresh state mid-conversation after the user has trained, backtested, or edited slots in a different tab. |
| clone_blueprint | studio-read | pro | models:write | Fork a public ModelCard's recipe as the caller's draft (returns new ModelCardId in draft status). |
| submit_training_run | studio-write | pro | models:write | Queue a validated execution snapshot from an owned modelCardId or an inline recipe. Returns its provenance; queued does not mean evaluated. |
| publish_model | studio-write | pro | models:write | Promote a completed run to a published model (requires TF.js artifact in storage). |
| revoke_training_run | studio-write | pro | models:write | Cancel a queued or in-flight training run. |
| create_model | studio-write | pro | models:write | Create a DRAFT model_card in the caller's account (status "draft", appears at /build/<id>). Requires a key with the models:write scope. slots must be the model slot recipe: {data: SlotRef[], features: SlotRef[], target, slice, architecture, staking, ensemble} where each SlotRef is {id, version}. Nothing executes; the owner trains in the normal /build flow. |
| export_user_predictions | user-data | weekly | read | Export the caller's predictions for a model to ndjson in Supabase Storage. Returns signed URL the browser can hand to DuckDB-WASM for cold-history scans. Optional `season` filter; defaults to 'all'. |
| list_user_prediction_files | user-data | weekly | read | List the caller's previously-exported prediction ndjson files in Storage with signed URLs. |
| my_profile | profile | weekly | read | Caller’s profile (id, email, plan_tier, region, age verified). |
| my_entitlements | profile | weekly | read | Caller’s entitlement context: tier, active passes, MCP rate limit. |
| my_settings | profile | weekly | read | Caller’s settings: notification prefs, default sport, risk caps. |
| podcast_buzz | mentions | free | read | Media buzz leaderboard from podcast, video, and community discussion: who analysts are talking about, with mention counts, sentiment (bullish/bearish), trend direction, latest take, and anonymized crowd themes reported only for leaders linked to a resolved game kickoff and observed strictly before it (otherwise null). Subreddit discussions return anonymized topic themes and aggregate metrics only (zero verbatim Reddit quotes). |
| player_chatter | mentions | free | read | Recent media takes about one player: chronological takes with sentiment, source, anonymized themes, and prop implications (over/under leans). Subreddit discussions return anonymized topic themes and aggregate metrics only (zero verbatim Reddit quotes), filtered before game start when linked to a game. |
| training_coach | studio-read | pro | read | Coach a training run from its metrics: returns a keep/kill/tune verdict plus 1-2 concrete levers. Pure logic over the passed numbers (no DB). ATS breakeven is 52.4% (-110 vig); below that and below the leader median → likely kill. Example: "ATS 49% under the 52.4% breakeven after 6 folds and below the 53% leader median — KILL; consider a different target or add the market-line feature." |
| get_game_commentary | perspectives | free | read | Return banked Sharkai commentary or structured angle summary for a game, optionally scoped to any unified angle ID across Sharkai, Lab roster, and narrative registries. |
| get_news_reactions | perspectives | free | read | Return banked reactions from every Sharkai perspective for a news item. Answers from the bake; degrades to a typed unavailable result before the bake table lands (never a 500). |
| discover_graded_lenses | perspectives | free | read | Discover Sharkai and Lab angles across NFL, NBA, MLB, and NHL with graded season or trailing-300 records, role classifications, prop/game market scopes, and pregame crowd summaries. |
| get_crowd_divergence | perspectives | free | read | Return pregame crowd mood, injury anxiety, discussion velocity, anonymized topic themes, and market divergence strictly observed before game start for a sport and team, game, or player. |
| test_theory | theory | free | read | Grade a betting theory stated in free text. Tier-1 parse → slice AST → precompiled top-slice cache → a graded record (shrunk hit rate, sample size, trust band, caveat). Unknown terms return a structured did-you-mean chip set; never a naked raw record. Flag-gated. |
| run_theory | theory | free | read | Run a betting situation stated in plain English through the live Theory Tester DB query and return the shrunk ATS record (wins-losses-pushes, effective n, shrunk %) plus an "open in Theory Tester" link. Unknown situations return an honest refusal listing what the tool knows. Distinct from test_theory (precompiled slab): this one executes the live query against settled games. |
| get_event_odds | snapshot | weekly | read | Cache-first current odds for one NFL event: OUR own capture first, PropLine on a cache miss or stale read, written through so the next call is a hit. Every payload names its provenance (our_capture | vendor:propline). |
| get_line_history | snapshot | weekly | read | Cache-first line-movement history for one NFL event across our captured markets (moneyline/spread/total), falling through to PropLine odds/history on a stale read. PropLine coverage is observed shallow (~4 days as of 2026-08-30) -- see the provenance and coverage note in the response, never assume full-season depth. |
| get_event_results | snapshot | weekly | read | Cache-first final score for one NFL event. OUR own grading is authoritative once the game is final. A vendor:propline preliminary result may surface while the game is live and our own pipeline has not graded it yet -- ALWAYS check provenance; a vendor:propline result here is never our official graded outcome. |
| get_key_number_read | snapshot | free | read | Historical NFL margin-of-victory (key number) distribution, computed live from our own completed games. No vendor source exists for this analytic -- always our_capture. |
| get_public_track_record | snapshot | free | read | Return graded Sharkai house performance from cached public snapshots across window (30d|90d|365d|all), sport, and betType/class filters, with zero private model identifiers. |
| get_academy_topic | education | free | read | Return Sharkai Academy quantitative modeling guides (or list all Academy topics when topicId is omitted) with responsible-gambling guidance. |
| get_sharp_lesson | education | free | read | Return a Sharp School sharp-betting fundamentals lesson by slug (or list the full curriculum when slug is omitted) with responsible-gambling guidance. |
| get_fantasy_projections | fantasy | free | read | Read canonical fantasy player projections across NFL, NBA, MLB, and NHL, honoring the viewer equipped model on current-week NFL reads. |
| get_fantasy_rankings | fantasy | free | read | Read canonical fantasy positional or overall rankings across NFL, NBA, MLB, and NHL, honoring the viewer equipped model on current-week NFL reads. |
| fantasy_start_sit | fantasy | free | read | Compare 2 to 50 fantasy players for start/sit decisions across NFL, NBA, MLB, and NHL with canonical scoring and pairwise margin. |
| fantasy_trade_analyzer | fantasy | free | read | Evaluate a fantasy trade across NFL, NBA, MLB, and NHL: NFL multi-week queries return non-extrapolated weekly standing context; NBA, MLB, and NHL return graded rest-of-season deltas. |
| fantasy_waiver_finder | fantasy | free | read | Find fantasy waiver pickups: returns league-scoped available players and FAAB bids for an owned league across NFL, NBA, MLB, and NHL, or the public NFL waiver snapshot when leagueId is omitted. |
| list_fantasy_leagues | fantasy | free | read | List the authenticated caller's owned fantasy leagues across NFL, NBA, MLB, and NHL. |
| get_fantasy_roster | fantasy | free | read | Read teams, standings, and active week roster slots for one fantasy league owned by the authenticated caller. |
Upgrade for full session contract docs
Session contract request fields, sample payloads, and synthetic request validation are available with Research Pro. Each endpoint enforces its own access rules.
MCP
- POST
/api/mcpSharkai MCP JSON-RPC 2.0 Streamable HTTP endpoint. - GET
/.well-known/mcp.jsonMachine-readable Sharkai MCP discovery metadata and full live tool catalog
Models
- POST
/api/models/{modelId}/backtest-resultsPersist a backtest result row for a model you own. - POST
/api/models/validate-featuresPre-flight check that feature slugs exist and are active.
Account
- GET
/api/betsList the authenticated user’s logged bets. - POST
/api/betsLog a new bet for the authenticated user. - POST
/api/responsible-gambling/limitsSet the authenticated user’s spending limits.
Builder
- GET
/api/builder/calibrationCalibration buckets for a builder draft model. - GET
/api/builder/attributionFeature-importance attribution for a builder draft model. - GET
/api/builder/driftPopulation-stability (drift) metrics for a draft model. - POST
/api/builder/save-draftUpsert a builder blueprint draft.
Public Feeds
- GET
/api/v1/public/propsRead the anonymous props board by player name, with the page’s visibility and pagination. - GET
/api/v1/public/picksRead the public picks board with attribution. No key, no account. - GET
/api/v1/public/modelsList live public Shark Snip model cards. No key, no account. - GET
/api/v1/public/recordRead the prebuilt graded house W-L-P ledger. No key, no account. - GET
/api/v1/public/pagesGet a shareable link to the live picks page for a slate - POST
/api/v1/public/pagesGet a shareable link to the live picks page for a slate (JSON body) - GET
/api/v1/linesGet public picks with best, earliest-in-view, and per-book sportsbook prices
NFL Entities & Research
- GET
/api/v1/entities/nfl/playersList rostered fantasy players without a historical-feature-store cutoff. - GET
/api/v1/entities/nfl/players/{player}Read one player using a GSIS ID, canonical slug or unique roster name. - GET
/api/v1/entities/nfl/teamsList the existing NFL team registry and canonical page paths. - GET
/api/v1/entities/nfl/teams/{team}Read a team roster, stored projections, season schedule and cited buzz. - GET
/api/v1/entities/nfl/players/{player}/researchRead source-backed weekly outlook, matchup, usage, roster and availability context. - GET
/api/v1/entities/nfl/teams/{team}/researchRead source-backed weekly outlook, matchup, usage, roster and availability context.
OpenAPI 3.1 Schemas
- GET
/api/v1/openapi.jsonAPI OpenAPI: Master API contract, public reads, authentication and intent recipes. - GET
/api/v1/entities/openapi.jsonEntities API: NFL player search, roster, team and schedule reads. - GET
/api/v1/entities/research/openapi.jsonResearch API: Public source-backed player and team evidence packets.
Bearer v1 Endpoints
- POST
/api/v1/modelsCreate a draft model in your account - GET
/api/v1/modelsList your models (newest first, up to 50) - GET
/api/v1/models/{id}Get one of your models - GET
/api/v1/propsRead current NFL player-prop book lines and provenanced projections - GET
/api/v1/recordRead the graded-record receipt for the API key owner - GET
/api/v1/picksList visible picks from your equipped model set
