Skip to main content

Odds Rewind API Documentation

Requirement

You need an API key to use OddsBlaze. Get access at www.oddsblaze.com.

Description

This endpoint provides millisecond-accurate historical odds snapshots, enabling precise time-travel through past market states. Ideal for backtesting models, replaying line movement, and reconstructing market conditions at any exact timestamp.

API Endpoint

https://rewind.odds.oddsblaze.com/

Parameters

key (required)

Your OddsBlaze API key.

sportsbook (required)

The sportsbook id (e.g. draftkings).

league (required)

The league id (e.g. nfl).

timestamp (required)

The timestamp (e.g. 2025-11-29T21:56:31.942Z, 2025-11-29T21:56:31Z, 1764453391942, or 1764453391).

market

The market id or name (e.g. point-spread or Point Spread). Separate multiple markets with a comma (e.g. Moneyline,Point Spread,Total Points).

market_contains

The market name contains (e.g. Player or Half). Separate multiple markets with a comma (e.g. Player,Half,Quarter).

price

The price format: american (default), decimal, fractional, probability, malaysian, indonesian, or hong_kong.

event

The event id (e.g. b3d1e36e-81cb-5ba1-bb31-7fac32ccde86). Separate multiple events with a comma (e.g. b3d1e36e-81cb-5ba1-bb31-7fac32ccde86,6016f8f9-ab7e-5b6c-82a3-6ff8a5308170).

main

Include only main lines (true) or only alternate lines (false).

live

Include only live events (true) or only pre-match events (false).

Example URLs

DraftKings NFL odds at 2025-11-29T21:56:31.942Z:

https://rewind.odds.oddsblaze.com/?key=your_key&sportsbook=draftkings&league=nfl&timestamp=2025-11-29T21:56:31.942Z

DraftKings NBA odds at 2025-11-29T21:56:42.850Z, Moneyline and Point Spread markets, only pre-match events, decimal format:

https://rewind.odds.oddsblaze.com/?key=your_key&sportsbook=draftkings&league=nba&timestamp=2025-11-29T21:56:42.850Z&market=moneyline,point-spread&live=false&price=decimal

Example Response

{
"updated": "2025-11-29T21:56:31.942Z",
"snapshot": {
"previous": "2025-11-29T21:56:11.898Z",
"next": "2025-11-29T21:56:44.858Z"
},
"league": {
"id": "nfl",
"name": "NFL",
"sport": "Football"
},
"sportsbook": {
"id": "draftkings",
"name": "DraftKings"
},
"events": [
{
"id": "8b3c9dc4-17a5-5205-906e-83dead18549e",
"teams": {
"away": {
"id": "c98326ef-3c10-5521-b4b3-f781e322ee2c",
"name": "San Francisco 49ers",
"abbreviation": "SF"
},
"home": {
"id": "6a782cd7-c54e-5faf-975b-c24b2f55734b",
"name": "Cleveland Browns",
"abbreviation": "CLE"
}
},
"date": "2025-11-30T18:00:00.000Z",
"live": false,
"odds": [
{
"id": "DraftKings#8b3c9dc4-17a5-5205-906e-83dead18549e#Player Passing Yards#Shedeur Sanders Over 150.5#fa844344-bbac-52fd-b123-d67192205cf1",
"market": "Player Passing Yards",
"name": "Shedeur Sanders Over 150.5",
"price": "-113",
"main": true,
"selection": {
"name": "Shedeur Sanders",
"side": "Over",
"line": 150.5
},
"player": {
"id": "fa844344-bbac-52fd-b123-d67192205cf1",
"name": "Shedeur Sanders",
"position": "QB",
"number": null,
"team": {
"id": "6a782cd7-c54e-5faf-975b-c24b2f55734b",
"name": "Cleveland Browns",
"abbreviation": "CLE"
}
},
"updated": "2025-11-29T20:41:27.732Z"
},
{
"id": "DraftKings#8b3c9dc4-17a5-5205-906e-83dead18549e#Player Passing Yards#Shedeur Sanders Under 150.5#fa844344-bbac-52fd-b123-d67192205cf1",
"market": "Player Passing Yards",
"name": "Shedeur Sanders Under 150.5",
"price": "-111",
"main": true,
"selection": {
"name": "Shedeur Sanders",
"side": "Under",
"line": 150.5
},
"player": {
"id": "fa844344-bbac-52fd-b123-d67192205cf1",
"name": "Shedeur Sanders",
"position": "QB",
"number": null,
"team": {
"id": "6a782cd7-c54e-5faf-975b-c24b2f55734b",
"name": "Cleveland Browns",
"abbreviation": "CLE"
}
},
"updated": "2025-11-29T20:41:27.732Z"
}
]
}
]
}