Skip to Content

Sports

Get a list of all available sports with their leagues and event counts.

EndpointsPermalink for this section

GET /api/v1/sports

Requires an API key. Available on all tiers (Free included). Unauthenticated requests return 401.

Query ParametersPermalink for this section

ParameterTypeDefaultDescription
sportsbookstringallRestrict counts and league lists to one or more books (comma-separated), e.g. sportsbook=draftkings

List All SportsPermalink for this section

Example RequestsPermalink for this section

curl -X GET "https://api.sharpapi.io/api/v1/sports" \ -H "X-API-Key: YOUR_API_KEY"

ResponsePermalink for this section

Real response, truncated to four sports (the full response currently returns ~28). Sports are ordered by event_count descending, and league arrays can be large — soccer alone carries 300+ league slugs:

{ "data": [ { "id": "tennis", "name": "Tennis", "numerical_id": 28, "event_count": 1677, "live_count": 133, "leagues": ["atp", "atp_challenger", "itf_men", "itf_women", "utr", "wta"] }, { "id": "boxing", "name": "Boxing", "numerical_id": 5, "event_count": 197, "live_count": 0, "leagues": ["boxing_matches"] }, { "id": "mma", "name": "MMA", "numerical_id": 17, "event_count": 144, "live_count": 0, "leagues": ["ufc"] }, { "id": "horse_racing", "name": "Horse_racing", "event_count": 53, "live_count": 0, "leagues": ["horse", "horses_daily"] } ], "updated_at": "2026-07-02T18:17:55.590257979Z" }

Note horse_racing has no numerical_id — the field is omitted for sports that haven’t been mapped in the atlas yet.

Sport Object SchemaPermalink for this section

FieldTypeDescription
idstringSport identifier (lowercase, use in API filters)
numerical_idintegerStable integer key for the sport (frozen, never reused; omitted when unmapped). New (May 2026) — additive, optional. See Entity reference IDs.
namestringHuman-readable sport name
leaguesstring[]League IDs within this sport
event_countintegerTotal events currently available with odds
live_countintegerEvents currently live/in-play

New (May 2026): numerical_idPermalink for this section

numerical_id is a frozen, dense-from-1 integer assigned per sport in the SharpAPI atlas. Use it as a compact storage key when you don’t need the human-readable slug.

  • Frozen: never reused or remapped once assigned.
  • Optional: omitted for sports that haven’t been mapped yet — the slug id is always present.
  • Domain-scoped: unique across sports only; pair with the entity domain to disambiguate.

See Entity reference IDs for the full semantics, plus the matching sport_ref block emitted on every odds row and opportunity leg.

Available SportsPermalink for this section

The sport IDs currently returned by the live endpoint (the list is dynamic — see the callout below):

IDDisplay NamePopular Leagues
basketballBasketballNBA, NCAAB, WNBA
footballFootballNFL, NCAAF
hockeyHockeyNHL
baseballBaseballMLB
soccerSoccerPremier League, La Liga, Serie A, Bundesliga, MLS
tennisTennisATP, WTA, Challenger, ITF
mmaMMAUFC
golfGolfPGA
boxingBoxing
cricketCricket
rugby_unionRugby Union
rugby_leagueRugby League
aussie_rulesAussie RulesAFL
lacrosseLacrossePLL
motorsportsMotorsportsF1, NASCAR
dartsDartsPDC
snookerSnooker
table_tennisTable Tennis
volleyballVolleyball
handballHandball
water_poloWater Polo
horse_racingHorse Racing
cyclingCycling
olympicsOlympics
politicsPolitics
entertainmentEntertainment
esportsEsportsLoL, CS2, Dota 2

The event_count and live_count values are dynamic and change based on current schedules. The sport list itself is derived from events currently carrying odds — a fully off-season sport (e.g. curling in summer) drops out of the response entirely rather than showing 0 events. Don’t hard-code this table; fetch the endpoint.

Using Sports in FiltersPermalink for this section

Use the sport id as a filter parameter on other endpoints:

# Get odds for basketball only curl "https://api.sharpapi.io/api/v1/odds?sport=basketball" \ -H "X-API-Key: YOUR_API_KEY" # Get events for multiple sports curl "https://api.sharpapi.io/api/v1/events?sport=basketball,football" \ -H "X-API-Key: YOUR_API_KEY"
Last updated on