SharpAPI
v0.3.0Live sports betting odds, +EV, arbitrage, middles and betting splits from SharpAPI.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_sports
List the sports SharpAPI covers, with live and upcoming event counts for each. Call this first to discover valid sport ids for the other tools.
list_sportsbooks
List the sportsbooks SharpAPI normalizes, with their ids. Use the returned ids for the `sportsbook` argument elsewhere. Which books a key can actually read depends on its plan: the free tier serves DraftKings and FanDuel only.
list_events
List events (games) with ids, start times and teams. Use this to find an event id before fetching odds for it.
| Parameter | Type | Description |
|---|---|---|
date | string | ISO date, e.g. "2026-09-08" |
league | string | League id, e.g. "mlb" |
limit | integer | |
live | boolean | Only live events |
sport | string | Sport id from list_sports, e.g. "baseball" |
get_odds
Get normalized odds across sportsbooks. Returns American and decimal prices plus implied probability, one row per book/market/selection, so prices are directly comparable between books. Results are paginated at 50 rows by default; pass the cursor from pagination.next_cursor to fetch the next page when pagination.has_more is true.
| Parameter | Type | Description |
|---|---|---|
cursor | string | Pagination cursor from a previous response (pagination.next_cursor). Pass this to fetch the next page of results when pagination.has_more is true. |
event | string | Event id from list_events |
league | string | |
limit | integer | |
live | boolean | Only live markets |
market | string | Market id from get_markets, e.g. "moneyline", "point_spread", "total_points" |
player_name | string | Filter to one player. Full name, case-insensitive exact match — "Travis Kelce" matches, "Kelce" does not. Only appears on player-prop markets. |
sport | string | Sport id from list_sports |
sportsbook | string | Restrict to one book id |
get_best_odds
Get the best available price per selection across all covered books. This is the line shopping view: one row per selection rather than one per book.
| Parameter | Type | Description |
|---|---|---|
event | string | |
league | string | |
limit | integer | |
market | string | |
sport | string |
get_arbitrage
Find cross-book arbitrage opportunities: sets of prices whose combined implied probability is under 100%, so backing every outcome locks a margin. Requires a Hobby plan or above.
| Parameter | Type | Description |
|---|---|---|
league | string | |
limit | integer | |
min_profit | number | Minimum profit percent, e.g. 1.5 |
sport | string |
get_ev
Find positive expected value (+EV) bets: prices that beat the fair probability implied by the wider market. Each opportunity carries a fair_probability field, which is the de-vigged number. Requires a Pro plan or above.
| Parameter | Type | Description |
|---|---|---|
league | string | |
limit | integer | |
min_ev | number | Minimum EV percent, e.g. 2 |
sport | string | |
sportsbook | string |
get_middles
Find middle opportunities: two prices on opposite sides with a gap where both bets can win. Sorted by quality unless told otherwise. Requires a Pro plan or above.
| Parameter | Type | Description |
|---|---|---|
league | string | |
limit | integer | |
market | string | Market id from get_markets, e.g. "point_spread" or "total_points" |
min_size | number | Minimum middle width in points |
sort | string | |
sport | string |
get_event_odds
Get the odds for one event across every covered sportsbook, in one call with no pagination. A busy event holds thousands of rows, so pass sportsbook to read one book: an answer over about 100 kB is cut to its first rows and carries a `truncated` note with the full row count. To read one market, or to page through every row, use get_odds with event, market and cursor. Use list_events to find event ids.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | Event id from list_events, e.g. "nfl_chiefs_ravens_2026-01-18_a4" |
sportsbook | string | Restrict to one book id from list_sportsbooks |
get_splits
Get public betting splits: the share of bets (bets_pct) and of money (handle_pct) on each side of an event's spread, total and moneyline, per source. sportsbook "consensus" is the deduplicated row most events carry. Results are paginated, 20 rows by default; when pagination.has_more is true, pass pagination.next_offset back as offset to fetch the next page. Requires a Pro plan or above.
| Parameter | Type | Description |
|---|---|---|
event_id | string | Event id from list_events. Comma-separate for several. |
league | string | League id, e.g. "nfl", "ncaaf", "nba", "ncaab". Comma-separate for several. |
limit | integer | Rows per page, default 20, max 200 |
market | string | Only events carrying this market: "spread", "total" or "moneyline". Comma-separate for several. |
offset | integer | pagination.next_offset from the previous page |
sport | string | Sport id from list_sports, e.g. "basketball". Comma-separate for several. |
sportsbook | string | Splits source: "consensus" or a book id from list_sportsbooks. Comma-separate for several. |
get_leagues
List leagues with their ids, sport and event counts. Pass sport to list one sport: without it the list covers every sport and runs to several hundred leagues. Use the returned ids for the `league` argument elsewhere.
| Parameter | Type | Description |
|---|---|---|
sport | string | Sport id from list_sports, e.g. "football". Comma-separate for several. |
get_markets
List the markets SharpAPI prices, with their ids (e.g. "moneyline", "point_spread", "player_points"), how many events carry each and which books price it. Pass league or sport to scope the list and its counts. Use the returned ids for the `market` argument elsewhere. Each row carries market_type_id; see get_market_types.
| Parameter | Type | Description |
|---|---|---|
league | string | League id, e.g. "nfl". Counts become league-local. |
sport | string | Sport id, or several comma-separated. Combined with league, a market must match both. |
get_market_types
List market types: the shape of a market's selections (e.g. moneyline: home/away, total: over/under), each with a stable numeric id. get_markets rows carry that id as market_type_id.
get_odds_delta
Get only the odds that changed since a timestamp, plus the odds removed since then: the incremental follow-up to a get_odds call, e.g. "which prices moved on tonight's NBA games in the last 5 minutes?". The API looks back 10 minutes at most. Results are paginated, 50 rows by default; when pagination.has_more is true, pass pagination.next_offset back as offset to fetch the next page. The list of removed odds is left out unless include_removed is true; removed_count says how many there were.
| Parameter | Type | Description |
|---|---|---|
since * | string | ISO 8601 timestamp, e.g. "2026-05-06T19:30:00Z". Only odds changed after it are returned. |
event_id | string | Event id from list_events |
include_removed | boolean | Also return the `removed` list: the odds taken down since the timestamp, up to 1,000 entries (about 150 kB). For keeping a local copy in step. |
league | string | |
limit | integer | Rows per page, default 50, max 500 |
live | boolean | Only live markets |
market | string | Market id from get_markets, e.g. "moneyline" |
market_segment | string | Contest slice, e.g. "full_game", "1st_half". Comma-separate for several. |
offset | integer | pagination.next_offset from the previous page |
sport | string | Sport id from list_sports |
sportsbook | string | Restrict to one book id |
compare_odds
Compare prices across sportsbooks for one event: one row per market, selection and line, listing each book's price side by side. Pass market to compare one market, e.g. "moneyline". An event carries thousands of rows across all its markets: an answer over about 100 kB is cut to its first rows and carries a `truncated` note with the full row count. Use list_events to find the event id.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | Event id from list_events |
market | string | Market id from get_markets, e.g. "moneyline" or "point_spread". Comma-separate for several. Matched whole against each row's market_type; when nothing matches, the answer lists the ids the event does… |
market_segment | string | Contest slice, e.g. "full_game", "1st_half". Comma-separate for several. |
get_closing_lines
Get the closing lines captured for an event: each book's last pre-match prices from the moment the event went live, with no-vig and fair closing probabilities. Use it for closing-line value (CLV): was a bet better or worse than the close? Pass sportsbook and market to read one book and one market: an answer over about 100 kB is cut to its first rows and carries a `truncated` note with the full row count. An event that has not started returns no books. Requires a Pro plan or above.
| Parameter | Type | Description |
|---|---|---|
event_id * | string | Event id from list_events |
market | string | Market id from get_markets, e.g. "moneyline". Comma-separate for several. Matched whole against each row's market_type; when nothing matches, the answer lists the ids the event does carry as available… |
sportsbook | string | Book id from list_sportsbooks. Comma-separate for several. |
get_futures
List futures: season-long markets such as championship, conference and division winners, MVP and other awards, and win totals. Each has an id, e.g. "nfl__super_bowl_winner", to pass to get_futures_odds or compare_futures_lines, and lists the books pricing it. Pass league or sport to scope the list. Requires an Enterprise plan.
| Parameter | Type | Description |
|---|---|---|
future_id | string | Future ids, comma-separated, to look up specific futures |
future_type | string | TEAM, PLAYER, or UNKNOWN (the selection is neither, e.g. a conference) |
league | string | League id, e.g. "nfl", "nba" |
sport | string | Sport id from list_sports, e.g. "football" |
get_futures_odds
Get odds on futures, grouped by future: one row per sportsbook, selection, side (selection_line: over/under on win totals, yes/no) and line. Pass future_id (from get_futures), or league for every future in it. One future can hold hundreds of rows, so narrow with team_id, selection or sportsbook, and ask for a few futures at a time with limit. is_main marks each book's main line on a ladder. Paginated by future, 50 per page by default; when pagination.has_more is true, pass pagination.next_offset back as offset. Requires an Enterprise plan.
| Parameter | Type | Description |
|---|---|---|
future_id | string | Future id from get_futures, e.g. "nba__championship_winner". Comma-separate for several. Required unless league is given. |
future_type | string | TEAM, PLAYER or UNKNOWN |
is_main | boolean | true: only each book's main line on a ladder (win totals); false: only the alternate lines |
league | string | Every future in a league, e.g. "nfl". Required unless future_id is given. |
limit | integer | Futures per page, default 50, max 200 |
offset | integer | pagination.next_offset from the previous page, counted in futures |
selection | string | Selection names, comma-separated, e.g. "Patrick Mahomes": only rows on those |
sport | string | Sport id from list_sports |
sportsbook | string | Book ids, comma-separated, e.g. "draftkings,fanduel" |
team_id | string | Team ids, comma-separated, e.g. "los_angeles_lakers": only rows on those teams |
compare_futures_lines
Compare one future across sportsbooks, to find the best price on a futures bet: for "best odds on Patrick Mahomes for MVP", pass future_id "nfl__mvp_winner" and selection "Patrick Mahomes". Same data as get_futures_odds, for one future. Requires an Enterprise plan.
| Parameter | Type | Description |
|---|---|---|
future_id * | string | The future to compare across books, an id from get_futures |
is_main | boolean | true: only each book's main line on a ladder |
selection | string | Selection names, comma-separated: only rows on those |
sportsbook | string | Book ids to compare, comma-separated |
team_id | string | Team ids, comma-separated: only rows on those teams |
find_low_hold
Find low-hold markets: the tightest lines across sportsbooks, where the combined margin of the best prices on each side (hold_percentage) is lowest. Requires a Pro plan or above.
| Parameter | Type | Description |
|---|---|---|
league | string | |
limit | integer | Rows per page, default 50, max 200 |
live | boolean | Only live markets |
sport | string | Sport id from list_sports |
get_account_info
Get the account behind the API key in use: its plan (tier), rate limit, streaming allowance and the features it unlocks. Use it to check what the key can call before a tool that needs a higher plan.