Resolved Markets logoResolved Markets logo
GET/api/snapshot

Get Snapshot At Timestamp

Query a historical orderbook snapshot at a specific point in time.

Query Parameters

formatstringdefault:json
Response encoding. csv and tsv return the row array as a flat file instead of a JSON envelope — the envelope moves to X-* response headers and nulls render as \N. REQUIRES SCALE OR ENTERPRISE (json is available on every tier). Works with includebook=true — the bids/asks ladders come through as compact JSON inside their cell, complete and parseable (pandas: df["bids"].apply(json.loads)).
timestampstringrequired
Required. YYYY-MM-DD HH:MM:SS.mmm
marketIdstring
Filter by conditionId
cryptostring
Cryptocurrency filter
timeframestring
Filter by timeframe. NOT just crypto cadences — it is a per-category discriminator: crypto 5m/15m/1h/4h/1d plus hit-price, sports game, economics rates, social weekly, weather daily-high/daily-low/event/seasonal, equities annual/monthly/daily/event/earnings/quarterly/valuation/comparison/leaderboard.
includebookbooleandefault:false
Include full bid/ask arrays. Off by default for size.

Response

200401403404500

Successful Response

Code Snippet
curl -X GET "https://api.resolvedmarkets.com/api/snapshot" \
  -H "X-API-Key: YOUR_API_KEY"
200
{
  "market_id": "0x...",
  "crypto": "BTC",
  "crypto_price": 67420.50,
  "up": {
    "best_bid": 0.52,
    "best_ask": 0.53,
    "bids": [...],
    "asks": [...]
  },
  "down": {...}
}
Get Snapshot At Timestamp — API Docs | Resolved Markets