ASD Platform
Odds & Markets API

Odds & Markets API

Odds & Markets API

Live odds, markets, futures and same-game parlay pricing for alternative sports, built for sportsbooks and trading desks.

The Odds & Markets API is the ALT Sports Data pricing feed. It gives sportsbooks, betting platforms and trading desks the events, markets and prices for alternative sports: surfing, racing, combat sports, bull riding, jai alai, table tennis, lacrosse, curling and more. One key returns event schedules, live and pre-event odds, settlement state, season futures and same-game parlay (SGP) pricing.

StatusLive
Base URLhttps://api.altsportsdata.com/api/v1/public
AuthenticationX-API-Key header
FormatJSON over HTTPS
Operations19 (14 event reads, 1 SGP pricing call, 2 futures reads, 1 sports catalog, 1 heat scores)

Get a key

Keys are issued by the ALT Sports Data account team. Send every request with the key in the X-API-Key header. Header names are case-insensitive, so X-API-KEY (the name used in the OpenAPI spec) works the same way. The spec declares no other scheme, so do not send the key as a Bearer token.

A missing or invalid key returns 403 with the standard error body. No rate-limit headers have been observed on responses.

Which leagues and events your key returns depends on the coverage booked for your account. Your ALT Sports Data account team sets up that coverage.

What you can call

GroupEndpointsUse it to
DiscoveryGET /sportsList every sport and competition, with the supportedMarkets and supportedFutureMarkets for each.
EventsGET /events, GET /events/{eventId}, GET /events/{eventId}/participants, GET /events/{eventId}/heats/{heatId}Find events by date, status and competition, then load rounds, heats, teams, participants and heat scores.
League-specific eventsGET /events/gsoc/{eventId}, /events/mltt/{eventId}, /events/nll/{eventId}, /events/3ice/{eventId}, /events/3ice/bracket/{tourYearId}, /events/jaialai/{id}Team-sport detail shapes for Grand Slam of Curling, Major League Table Tennis, National Lacrosse League, 3ICE and jai alai.
League-specific oddsGET /events/gsoc/{id}/odds, /events/mltt/{id}/odds, /events/nll/{id}/odds, /events/jaialai/{id}/oddsMoney line, spread and total markets for those team sports.
Markets by oddTypeGET /events/{eventId}/{oddType}Athlete and field markets: event winner, heat winner, head to head, podiums, exactas, over/under, props and more.
FuturesGET /futures, GET /futures/{sportType}/tour/{tourId}/odds/{futureType}Season and tour outrights such as winner, top 3 and make cut.
SGPPOST /events/{eventId}/sgpPrice a same-game parlay from a set of selection IDs.

All paths above are relative to the base URL.

First call

List the sports and competitions your key can see.

curl -s https://api.altsportsdata.com/api/v1/public/sports \
  -H "X-API-Key: $ALTSPORTSDATA_API_KEY"
import os
import httpx

resp = httpx.get(
    "https://api.altsportsdata.com/api/v1/public/sports",
    headers={"X-API-Key": os.environ["ALTSPORTSDATA_API_KEY"]},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.altsportsdata.com/api/v1/public/sports", {
  headers: { "X-API-Key": process.env.ALTSPORTSDATA_API_KEY! },
});
if (!resp.ok) throw new Error(`HTTP ${resp.status}`);
console.log(await resp.json());

Each item in the sports listing carries these fields:

FieldExampleMeaning
sportKeysurfingStable key for the parent sport.
sportNameSurfingDisplay name of the parent sport.
numericSportId1174117206190029Numeric ID of the parent sport.
competitionKeywslKey for the competition or league. This is the value the competition filter on /events takes.
competitionNameWorld Surf LeagueDisplay name of the competition.
numericCompetitionId8234567890123Numeric ID of the competition.
supportedMarkets["eventWinner", "heatWinner"]The oddType values you can request for this competition.
supportedFutureMarkets["winner", "top3"]The futureType values you can request for this competition.

Read supportedMarkets before you request a market. When an event has no odds for the oddType you ask for, the markets endpoint answers 404 ("Event/Odds not found").

Response envelope

The OpenAPI spec documents the payload itself (for example, an array of sports). In practice the payload can arrive wrapped in an object with status, message and data, with the rows in data. Read data when it is present and fall back to the body otherwise.

Errors

Error responses use one shape, ServerErrorResponse, with statusCode, message, timestamp, metadata and stack (a data field has also been observed). The status codes you should handle are:

CodeWhen
403Missing or invalid X-API-Key.
400Bad input. On the league odds routes, the event ID belongs to a different sport than the route serves. On participants, participants are not available for that event.
404Event, heat, odds or future not found.
422SGP only: the selections do not exist or cannot be combined.

Odds notation

The API returns decimal odds with margin (for example 1.344). American and fractional prices are conversions you make yourself (see Markets and money lines). The ALT Sports Data MCP server converts for you and defaults to American (ODDS_FORMAT), so a number quoted by an agent and a number from the API can look different for the same market.

Polling for changes

The Odds & Markets API is REST only. Poll the endpoints and use updatedAt to detect changes. Ask your ALT Sports Data account team about push delivery.

Odds through the Platform API

If you already hold a Platform API key, the Platform API offers a basic pass-through to this feed at /v1/odds/*: sports, events, event detail, markets by oddType and futures, with a fixed set of forwarded filters. It does not cover SGP pricing or the league-specific routes. For full market depth use this API directly.

Odds IDs are not Sport Data IDs

Event, athlete and team IDs in the Odds & Markets API come from the odds feed. They do not match the IDs in the Sport Data (warehouse) API, so you cannot join the two on ID. Match on names, dates and competition instead, or ask the account team for a mapping.

Next steps

On this page