BetsAPI (Unofficial)

v0.2.2
io.github.pipeworx-io/betsapi Checked 4 days ago Published 19 days ago

Unofficial BetsAPI MCP — wraps BetsAPI (betsapi.com) sports events + odds.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

betsapi_inplay

Live in-play sport matches happening right now, with running score and match clock. Pass a sport_id (1=Soccer, 18=Basketball, 13=Tennis, 16=Baseball, 17=Ice Hockey, 12=American Football, 91=Volleyball, 78=Handball, 3=Cricket, 14=Snooker, 92=Table Tennis, 15=Darts, 9=Boxing/MMA). Example: betsapi_inplay({ sport_id: "1", _apiKey: "your-key" })

ParameterTypeDescription
_apiKey *stringBetsAPI key (get one at betsapi.com, from ~$10/mo)
sport_id *stringBetsAPI sport id. Common: 1=Soccer, 18=Basketball, 13=Tennis, 16=Baseball, 17=Ice Hockey, 12=American Football, 91=Volleyball, 78=Handball, 3=Cricket, 14=Snooker, 92=Table Tennis, 15=Darts, 9=Boxing/M…

betsapi_upcoming

Upcoming (scheduled) sport events for a sport, optionally for a given day. Pass a sport_id (1=Soccer, 18=Basketball, 13=Tennis, 16=Baseball, 17=Ice Hockey, 12=American Football, 91=Volleyball, 78=Handball, 3=Cricket, 14=Snooker, 92=Table Tennis, 15=Darts, 9=Boxing/MMA) and optionally day=YYYYMMDD. Example: betsapi_upcoming({ sport_id: "1", day: "20260704", _apiKey: "your-key" })

ParameterTypeDescription
_apiKey *stringBetsAPI key (get one at betsapi.com, from ~$10/mo)
sport_id *stringBetsAPI sport id. Common: 1=Soccer, 18=Basketball, 13=Tennis, 16=Baseball, 17=Ice Hockey, 12=American Football, 91=Volleyball, 78=Handball, 3=Cricket, 14=Snooker, 92=Table Tennis, 15=Darts, 9=Boxing/M…
daystringOptional day filter in YYYYMMDD format, e.g. "20260704"

betsapi_event_odds

Bookmaker odds for a single event across markets (moneyline, spreads, totals). Odds are deeply nested by market, so the full structure is returned under `raw`. Get an event_id from betsapi_inplay or betsapi_upcoming first. Example: betsapi_event_odds({ event_id: "12345678", _apiKey: "your-key" })

ParameterTypeDescription
_apiKey *stringBetsAPI key (get one at betsapi.com, from ~$10/mo)
event_id *stringBetsAPI event id, from betsapi_inplay / betsapi_upcoming results