# AHL Odds API
The Odds API covers AHL (American Hockey League) odds for live and upcoming games in a simple JSON API.
Not a developer? Current AHL odds can also be accessed in Excel or Google Sheets. For website owners, the odds widget brings bookmaker odds into websites with a simple HTML tag.
# Features
AHL odds are covered for live and upcoming games.
Featured markets, including moneyline, spreads, totals are covered for several bookmakers. See the full list of bookmakers.
Odds are refreshed at regular intervals. More information on update intervals can be found here.
Current odds data are available on all usage plans, including the free usage plan.
Historical AHL odds data is available from Feb 2025 on paid usage plans. More information on historical odds data can be found here.
The API response includes deep links to bookmaker websites.
# Querying AHL Odds
# Query Featured AHL Markets
Featured markets (moneyline, spreads and totals) can be queried using the odds endpoint.
Parameters
To query current AHL odds for featured markets, the following parameters need to be provided:
- sport In this case
icehockey_ahl
- regions Regions of bookmakers to return, for example
us
- markets For example,
h2h
for moneyline,spreads
andtotals
- apiKey Get a free API key
See the documentation for more options
Example API Request
https://api.the-odds-api.com/v4/sports/icehockey_ahl/odds?regions=us&markets=h2h,spreads,totals&oddsFormat=american&apiKey=YOUR_API_KEY
Example API Response
The API will return live and upcoming AHL games, including start times, home and away teams, and odds from bookmakers for the specified regions and markets.
[{
"id": "b8118236a243dc0fbcc08254162185af",
"sport_key": "icehockey_ahl",
"sport_title": "AHL",
"commence_time": "2025-02-20T00:00:00Z",
"home_team": "Utica Comets",
"away_team": "Belleville Senators",
"bookmakers": [{
"key": "betrivers",
"title": "BetRivers",
"last_update": "2025-02-19T12:19:38Z",
"markets": [
{
"key": "h2h",
"last_update": "2025-02-19T12:19:38Z",
"outcomes": [
{"name": "Belleville Senators", "price": -120},
{"name": "Utica Comets", "price": -117}
]
},
{
"key": "spreads",
"last_update": "2025-02-19T12:19:38Z",
"outcomes": [
{"name": "Belleville Senators", "price": 220, "point": -1.5},
{"name": "Utica Comets", "price": -335, "point": 1.5}
]
},
{
"key": "totals",
"last_update": "2025-02-19T12:19:38Z",
"outcomes": [
{"name": "Over", "price": -105, "point": 5.5},
{"name": "Under", "price": -132, "point": 5.5}
]
}]
},
...
The usage cost of the API call in this example is
usage cost = [number of markets] x [number of regions] = 3 x 1 = 3 credits
See the API documentation for details.
For ice hockey, the h2h
market currently displays the market that is featured on each bookmaker's website (the market shown on a bookmaker's main events page). EU bookmakers typically feature regular time odds (includes draw), whilst US bookmakers typically feature the overtime odds (excludes draw).
# Other Sports
See the full list of sports covered by The Odds API.
# Stay Updated
Follow us on X.com or Bluesky to stay updated on new sports, bookmakers, markets and features.