get https://api.sportsstack.io/api/v1/market_odds
Retrieve betting markets with outcomes and odds data using optimized performance structure.
Response Structure
Returns markets with full outcomes and odds data using the optimized structure:
{
"market_id": "5c4e8fe4-5bc9-49e1-aa84-aaa975900703",
"market_name": "Moneyline",
"market_status": "active",
"market_type": "moneyline",
"market_updated_at": "2024-01-15T20:30:00Z",
"outcomes": [
{
"outcome_id": "abc123",
"outcome_name": "Team A",
"outcome_selection": "Team A",
"outcome_line": null,
"outcome_status": "ACTIVE",
"odds": [
{
"odds_id": "def456",
"odds_price": -110,
"odds_price_type": "american",
"odds_sportsbook": "draftkings",
"odds_is_main": true,
"odds_aggregator": "sportradar"
}
]
}
]
}
Migration from Deprecated Endpoint
Old: GET /api/v1/markets?include_outcomes_and_odds=true
New: GET /api/v1/market_odds
The new endpoint provides the same data with better performance and cleaner API design.
Callback