Get odds and available sportsbook deep links
Available for: Free API, Concierge API, Enterprise API.
Get the odds snapshot for a league and market type, including events, markets, primary and alternate lines, sportsbook prices, and optional deep links within your API coverage. Use repeated betTypeId parameters to limit the returned bet types, and retain the returned market-line IDs for follow-up operations available to your API tier. Deep-link generation is available through Free API and Enterprise API.
Free API covers its supported sportsbooks and delayed REST data. Concierge API covers NFL, NBA, MLB, NHL, and WNBA. Enterprise API follows the data scope selected for your integration.
Free odds are delayed by at least 15 seconds. Check success and messages even on HTTP 200. Free odds responses can include generic Gambly deep links; Free partners must append their utm_campaign before publishing them. Discover sportsbook IDs with the market sources endpoint rather than maintaining a static ID list.
Path Parameters
- Type: stringleaguerequired
League identifier (e.g., mlb, nfl, cbb, nba, nhl, etc.)
- Type: "straight" or "futures" or "props"enummarket
Type requiredType of market to return (straight, futures, props)
Query Parameters
- Type: array of integerFormat: int64bet
Type Id Query Param for Bet Type Id(s) to include (e.g. ?betTypeId=74&betTypeId=75&betTypeId=76)
- Type: stringapi
-version
Headers
- Type: stringX
- A P I - Version
Responses
- 403
This request is outside the key's API tier or data scope.
- application/json
- application/json
curl 'https://data.unabated.com/market/{league}/straight/odds' \
--header 'X-Api-Key: YOUR_SECRET_TOKEN'
{
"data": {
"odds": {
"nba": {
"leagueId": 3,
"periodTypes": {
"game": {
"periodTypeId": 1,
"pregame": {
"eid940356:bt72:bst0:pt1:pregame": {
"eventId": 940356,
"isLive": false,
"eventStart": "2025-06-05T16:30:00Z",
"eventEnd": "2025-06-05T19:30:00Z",
"statusId": 1,
"betTypeId": 71,
"betSubType": "",
"gameClock": "00:00",
"overtimeNumber": 0,
"eventName": "Thunder Oklahoma City OKC @ Pacers Indiana IND",
"playerPosition": "",
"tournamentName": "",
"eventTeams": {
"0": {
"teamId": 75,
"rotationNumber": 501,
"sideIndex": 0,
"score": 0
},
"1": {
"teamId": 84,
"rotationNumber": 502,
"sideIndex": 0,
"score": 0
}
},
"sides": {
"si0:tid75": {
"sideIndex": 0,
"sideName": "",
"teamId": 75,
"personId": null,
"marketSourceLines": {
"91": {
"marketId": 43907422,
"marketLineId": 3181318560,
"marketSourceId": 91,
"points": 230.5,
"price": -110,
"sourcePrice": -110,
"sourceFormat": 1,
"statusId": 1,
"sequenceNumber": 1749141120194,
"edge": -0.0642,
"bestAltPrice": -110,
"bestAltPoints": 230.5,
"bestAltEdge": -0.0842,
"disabled": false,
"marketLineKey": "",
"modifiedOn": "2025-06-05T16:32:07.592989Z",
"alternateLines": [
{
"marketId": 43907422,
"marketLineId": 3181318560,
"marketSourceId": 91,
"alternateNumber": 1,
"points": 231.5,
"price": -120,
"sourcePrice": -120,
"statusId": 1,
"sequenceNumber": 1749141120194,
"edge": -0.0842,
"modifiedOn": "2025-06-05T16:32:07.592989Z"
},
{
"marketId": 43907422,
"marketLineId": 3181318560,
"marketSourceId": 91,
"alternateNumber": 1,
"points": 229.5,
"price": -100,
"sourcePrice": -100,
"sourceFormat": 1,
"statusId": 1,
"sequenceNumber": 1749141120194,
"edge": -0.042,
"modifiedOn": "2025-06-05T16:32:07.592989Z"
}
]
}
}
}
}
}
}
}
}
}
},
"lastUpdated": 1734567890
},
"success": true,
"messages": [
"string"
],
"pagination": {
"nextCursor": null,
"previousCursor": null
}
}