Allsvenskan Odds API
The Odds API covers Allsvenskan odds for live and upcoming matches in a simple JSON API.
Not a developer? Current Allsvenskan 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
Allsvenskan odds are covered for live and upcoming matches.
Featured markets, including 1X2, handicap, over/under 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.
Allsvenskan scores are covered, with final scores available for matches completed up to 3 days ago.
Current odds data and scores are available on all usage plans, including the free usage plan.
Historical Allsvenskan odds data is available from Jun 2020 on paid usage plans. More information on historical odds data can be found here.
The API response includes deep links to bookmaker websites.
Querying Allsvenskan Odds
Query Featured Allsvenskan Markets
Featured markets (1X2, handicap and over/under) can be queried using the odds endpoint.
Parameters
To query current Allsvenskan odds for featured markets, the following parameters need to be provided:
- sport In this case
soccer_sweden_allsvenskan - regions Regions of bookmakers to return, for example
eu - markets For example,
h2hfor 1X2,spreadsfor handicap,totalsfor over/under - oddsFormat
decimaloramerican. This example usesdecimal - apiKey Get a free API key
See the documentation for more options
Example API Request
https://api.the-odds-api.com/v4/sports/soccer_sweden_allsvenskan/odds?regions=eu&markets=h2h,spreads,totals&oddsFormat=decimal&apiKey=YOUR_API_KEYExample API Response
The API will return live and upcoming Allsvenskan matches, including start times, home and away teams, and odds from bookmakers for the specified regions and markets.
json
[{
"id": "736288807186f504acead7d6ab80a12f",
"sport_key": "soccer_sweden_allsvenskan",
"sport_title": "Allsvenskan - Sweden",
"commence_time": "2026-10-23T17:00:00Z",
"home_team": "Västerås SK",
"away_team": "Halmstads BK",
"bookmakers": [
{
"key": "pinnacle",
"title": "Pinnacle",
"last_update": "2026-10-23T11:55:18Z",
"markets": [
{
"key": "h2h",
"last_update": "2026-10-23T11:55:18Z",
"outcomes": [
{"name": "Halmstads BK", "price": 4.67},
{"name": "Västerås SK", "price": 1.7},
{"name": "Draw", "price": 4.09}
]
},
{
"key": "spreads",
"last_update": "2026-10-23T11:55:18Z",
"outcomes": [
{"name": "Halmstads BK", "price": 1.96, "point": 0.75},
{"name": "Västerås SK", "price": 1.91, "point": -0.75}
]
},
{
"key": "totals",
"last_update": "2026-10-23T11:55:18Z",
"outcomes": [
{"name": "Over", "price": 1.9, "point": 2.75},
{"name": "Under", "price": 1.95, "point": 2.75}
]
}
]
},
...The usage cost of the API call in this example is
usage cost = [number of markets] x [number of regions] = 3 x 1 = 3 creditsSee the API documentation for details.
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.