Download
API Reference
Download
Download a single snapshot file by key — standard or raw, auto-detected.
GET
Download
Use
The downloaded
JSON mode example:
GET /download when you already have a snapshot key from Snapshots and want to fetch the file itself.
This endpoint does not require an Authorization header for open datasets. Bearer auth (or machine payment) is only required when the dataset access policy for the snapshot requires it.
The endpoint auto-detects whether the key refers to a standard hourly snapshot or a raw snapshot based on the key prefix (standard- vs raw-).
Endpoint
GET /download
Parameters
Snapshot key returned by
GET /snapshots, such as standard-hyperliquid-BTC-USD-2026-05-07-00 for standard files, or a raw snapshot key like raw-hyperliquid-BTC-USD-2026-05-07-000000 from a GET /snapshots?raw=true listing.Optional response mode. Use
url or json to receive JSON with a pre-signed URL instead of a 302 redirect.Access behavior
- Bearer auth is only required when the dataset access policy for the snapshot requires it.
- For restricted datasets, machine payment (x402 / MPP) is also accepted as an alternative to bearer auth.
mode=urlandmode=jsonboth return JSON withurlandexpires_in_seconds.
Key detection
The endpoint auto-detects the snapshot type by key prefix:| Key prefix | Type |
|---|---|
standard-… | Standard hourly snapshot |
raw-… | Raw snapshot (requires paid auth) |
Related schemas
Response fields
The endpoint typically responds with a
302 redirect to the downloadable snapshot file.Pre-signed download URL when you request
mode=url or mode=json.Lifetime of the pre-signed URL, typically 86400 (24 hours).
.jsonl.zst file contains standardized event records for standard keys, or venue-native payloads for raw keys. See Standardised formats for the event envelope inside standard files.
Example
Error behavior
400for a missing or invalidkey401when bearer auth is required by dataset policy402when the dataset requires payment and no auth or payment is provided403for forbidden key prefixes404when the snapshot file is not found
Next steps
- Read Snapshots if you need to list available files before downloading one.
- Read Standardised formats to understand the event envelope inside snapshot files.