Interwetten APIinterwetten.com ↗
Access basketball betting odds, matches, and market details from Interwetten across 50+ leagues including NBA, NCAA, and Euroleague via a simple REST API.
What is the Interwetten API?
The Interwetten Basketball API covers 3 endpoints that expose betting leagues, match odds, and detailed market data from interwetten.com. The get_leagues endpoint returns all available basketball competitions with their IDs and names, while get_matches delivers match-level odds across 50+ leagues including NBA, NCAA, and Euroleague, and get_match_details returns the full breakdown of markets and outcomes for any specific match.
No input parameters required.
curl -X GET 'https://api.parse.bot/scraper/768fbfc0-bd0b-49fd-a844-e5a55489374a/get_leagues' \ -H 'X-API-Key: $PARSE_API_KEY'
Typed, relational, agent-ready
A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.
- Fully typed · autocompletes
- Objects link to objects
- Typed errors & pagination
Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:
uv add parse-sdk uv run parse init uv run parse add --marketplace interwetten-com-api
uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.
from parse_apis.interwetten_basketball_betting_api import Interwetten, League, Event, EventDetail, MarketGroup, Market, Outcome
client = Interwetten()
# List all available basketball leagues
for league in client.leagues.list():
print(league.league_id, league.name, league.url)
# Get matches filtered to a specific league
for event in client.events.list(league_ids="15103"):
print(event.event_id, event.home_team, event.away_team, event.is_live, event.date)
# Drill into full market details for this event
detail = event.details.get()
print(detail.total_markets, detail.total_outcomes)
for group in detail.market_groups:
print(group.group_name, group.total_markets)
for market in group.markets:
print(market.market_name, market.locked)
for outcome in market.outcomes:
print(outcome.name, outcome.odds, outcome.locked)
Retrieves all basketball leagues currently offered on Interwetten with their IDs, names, and URLs. The list reflects whatever competitions have active or upcoming events. No parameters needed — returns the full catalog in one call.
No input parameters required.
{
"type": "object",
"fields": {
"sport": "string, always 'Basketball'",
"leagues": "array of league objects with league_id, name, and url",
"total_leagues": "integer count of leagues returned"
},
"sample": {
"data": {
"sport": "Basketball",
"leagues": [
{
"url": "https://www.interwetten.com/en/sportsbook/l/15103/nba",
"name": "NBA",
"league_id": "15103"
},
{
"url": "https://www.interwetten.com/en/sportsbook/l/412221/bnxt-league",
"name": "BNXT League",
"league_id": "412221"
}
],
"total_leagues": 32
},
"status": "success"
}
}About the Interwetten API
Leagues and Match Discovery
The get_leagues endpoint takes no inputs and returns the complete list of basketball competitions currently offered on Interwetten, including each league's league_id, name, and url. The total_leagues field gives an integer count of what's currently available. Those league_id values feed directly into get_matches, which accepts a comma-separated league_ids parameter — omit it to retrieve matches from all basketball leagues at once, or pass specific IDs like 15103 (NBA) or 405226 (Euroleague) to narrow the results.
Match Odds Structure
get_matches returns an events array where each entry includes event_id, home_team, away_team, date, game_time, is_live status, the league name, and a market object covering Match and Handicap lines. The total_available_markets field on each event signals how many markets exist for that match beyond what the list view exposes — useful for deciding which events to query further.
Full Market Detail
get_match_details accepts a required event_id (from get_matches) and an optional slug for the match URL. The response organizes betting markets into market_groups, each with a group_name, total_markets, and a markets array. Groups span Main bets, Handicap, Over/Under, Quarter bets, Halftime, Team Points, Player Specials, and Special bets. Top-level fields total_markets, total_outcomes, and total_market_groups give aggregate counts across the entire event, making it straightforward to compare market depth across matches.
The Interwetten API is a managed, monitored endpoint for interwetten.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when interwetten.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.
This isn't an official interwetten.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.
Will this API break when the source site changes?+
Is this an official API from the source site?+
Can I fix or extend this API myself if I need a new endpoint or field?+
What happens if I call an endpoint that has an issue?+
- Aggregate NBA and Euroleague opening odds from Interwetten into a multi-book odds comparison tool
- Monitor
is_liveflags andgame_timefields to track which basketball matches are currently in-play - Build a quarter-by-quarter betting tracker using Quarter bets market groups from
get_match_details - Filter
get_matchesby specificleague_idsto build a conference-level odds feed for NCAA basketball - Compare
total_available_marketscounts across events to identify which matches have the deepest market coverage - Extract Over/Under lines from match detail responses to feed a historical totals database
- Track Player Specials markets for NBA games to monitor prop bet availability and pricing
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 100 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does Interwetten offer an official developer API?+
What does `get_matches` return, and how do I filter it to a specific league?+
get_matches returns events across all basketball leagues. Pass a comma-separated list of league IDs in the league_ids parameter — for example, 15103 for NBA only or 15103,405226 for NBA and Euroleague together. Each event includes home_team, away_team, date, game_time, is_live, and a market object with Match and Handicap odds.Does the API cover sports other than basketball, such as football or tennis?+
sport field in get_leagues always returns Basketball. You can fork this API on Parse and revise it to add endpoints targeting other sports offered on Interwetten.Are historical match results or closing odds available?+
What market types does `get_match_details` expose, and are cash-out or live odds included?+
get_match_details returns market groups including Main bets, Handicap, Over/Under, Quarter bets, Halftime, Team Points, Player Specials, and Special bets for a given event_id. The is_live flag in get_matches identifies in-play events, but dedicated live-odds streaming or cash-out market data are not part of the current response structure. You can fork the API on Parse and revise it to target live-specific markets.