> For the complete documentation index, see [llms.txt](https://resolvedmarkets.com/llms.txt). Every docs page is also served as Markdown: append `.md` to its URL or send `Accept: text/markdown`.

# Get Snapshot At Timestamp

### GET /api/snapshot — Get Snapshot At Timestamp

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

**Query parameters**

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `format` | string | no | 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)). |
| `timestamp` | string | yes | — | Required. YYYY-MM-DD HH:MM:SS.mmm |
| `marketId` | string | no | — | Filter by conditionId |
| `crypto` | string | no | — | Cryptocurrency filter |
| `timeframe` | string | no | — | 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. |
| `includebook` | boolean | no | false | Include full bid/ask arrays. Off by default for size. |

**Example response**

```json
{
  "market_id": "0x...",
  "crypto": "BTC",
  "crypto_price": 67420.50,
  "up": {
    "best_bid": 0.52,
    "best_ask": 0.53,
    "bids": [...],
    "asks": [...]
  },
  "down": {...}
}
```
