Unified historical orderbook
curl --request GET \
--url https://api.probsights.com/v1/historical/orderbook \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.probsights.com/v1/historical/orderbook"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.probsights.com/v1/historical/orderbook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Historical
Unified historical orderbook
Kalshi and Polymarket orderbooks in one response shape.
GET
/
v1
/
historical
/
orderbook
Unified historical orderbook
curl --request GET \
--url https://api.probsights.com/v1/historical/orderbook \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.probsights.com/v1/historical/orderbook"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.probsights.com/v1/historical/orderbook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Unified historical orderbook for Kalshi and Polymarket. Supports interval and
unified formats depending on market type.
Request
https://api.probsights.com/v1/historical/orderbook
Query parameters
string
required
kalshi or polymarket.string
required
Venue-native market ID (Kalshi ticker or Polymarket condition / numeric id).
string
interval or unified. Defaults based on market type when omitted.string
Range start in Unix milliseconds.
string
Range end in Unix milliseconds.
string
default:"1m"
Bucket size for range queries:
1m or 5m.integer
default:"100"
Max rows per page (1–200).
Examples
Polymarket interval market
curl -H "X-API-Key: YOUR_API_KEY" \
"https://api.probsights.com/v1/historical/orderbook?exchange=polymarket&market_id=2834699&limit=5"
import requests
response = requests.get(
"https://api.probsights.com/v1/historical/orderbook",
headers={"X-API-Key": "YOUR_API_KEY"},
params={"exchange": "polymarket", "market_id": "2834699", "limit": 5},
)
Kalshi bracket market
curl -H "X-API-Key: YOUR_API_KEY" \
"https://api.probsights.com/v1/historical/orderbook?exchange=kalshi&market_id=KXBTC-26JUL1217-B73375&limit=5"
import requests
response = requests.get(
"https://api.probsights.com/v1/historical/orderbook",
headers={"X-API-Key": "YOUR_API_KEY"},
params={"exchange": "kalshi", "market_id": "KXBTC-26JUL1217-B73375", "limit": 5},
)