Aperiodic
Metrics
MarketsLive
DocsPricing
Get Started
/

Get started

  • Overview
  • History over REST
  • Live over WebSocket

Datasets

Each with its history over REST and its live channel

Reference

  • MetadataREST
  • Raw dataREST
    • Raw data files
    • Raw data preview
    • Raw datasets and coverage

Download the spec

OpenAPIRESTAsyncAPIWS
Raw data
Reference

Raw data

The raw data behind the metrics, as files per symbol and day. It is history only: there is no live feed of raw data. Coverage and fields per dataset are in the raw data catalog.

Raw data files

GET/api/v1/data/raw/{dataset}

Presigned download URLs for one raw dataset, one symbol and a date range. URLs are valid for one hour; request them again when they expire.

exchange_timestamp is the venue's own time. local_timestamp is when the event reached our capture machine.

Access: Prime + Raw and Institutional. Other plans get 403 with code: "raw_not_in_plan".

Datasets:

  • trades: Every trade printed on the venue, with its trade id, taker side, price and size. Venues: binance-futures, okx-perps, hyperliquid-perps. Columns: exchange_timestamp (timestamp), local_timestamp (timestamp), id (string), side (string), price (float64), amount (float64).
  • quotes: Top-of-book updates: best bid and best ask with their sizes, one row per change. Venues: binance-futures, okx-perps, hyperliquid-perps. Columns: exchange_timestamp (timestamp), local_timestamp (timestamp), bid_price (float64), bid_amount (float64), ask_price (float64), ask_amount (float64).
  • mark_price: The venue’s mark price, one row each time it changes. Venues: binance-futures, okx-perps, hyperliquid-perps. Columns: exchange_timestamp (timestamp), local_timestamp (timestamp), mark_price (float64).
  • index_price: The venue’s index price for the contract’s underlying, one row each time it changes. Venues: binance-futures, okx-perps, hyperliquid-perps. Columns: exchange_timestamp (timestamp), local_timestamp (timestamp), index_price (float64).
  • funding_rate: The current funding rate and the next funding time, one row each time either changes. Venues: binance-futures, okx-perps, hyperliquid-perps. Columns: exchange_timestamp (timestamp), local_timestamp (timestamp), funding_rate (float64), next_funding_timestamp (timestamp, nullable).

Parameters

ParameterValuesMeaning
datasetpath · requiredtradesquotesmark_priceindex_pricefunding_rateRaw dataset. Every dataset is served for every venue. Hyperliquid’s derivative feed carries no exchange time, so in its `mark_price`, `index_price`, and `funding_rate` files `exchange_timestamp` is modelled and an `exchange_timestamp_kind` column (`modelled`) follows it.
exchangequery · requiredbinance-futuresokx-perpshyperliquid-perpsSource exchange.
symbolquery · requiredstringTrading pair symbol in the format of Atlas' universal symbology: https://github.com/aperiodic-io/atlas
start_datequery · requireddateFirst day of the range (YYYY-MM-DD, exchange-time UTC, inclusive). Prime + Raw and Institutional reach back to the first day we hold.
end_datequery · requireddateLast day of the range (YYYY-MM-DD, inclusive). At most 366 days after start_date.

Responses

200 response
{
  "dataset": "trades",
  "exchange": "binance-futures",
  "symbol": "perpetual-BTC-USDT:USDT",
  "schema_version": 1,
  "expires_in": 3600,
  "files": [
    {
      "period": "2025-06",
      "url": "https://<account>.r2.cloudflarestorage.com/aperiodic-raw-trades/v1/trades/exchange=binance-futures/symbol=perpetual-BTC-USDT:USDT/year=2025/month=06/data.parquet?X-Amz-Expires=3600&...",
      "size": 361893330
    }
  ],
  "missing_periods": []
}
StatusMeaning
200Download URLs for every file whose period overlaps the range: one file per calendar month before 2026-08-01, one per day from then on. Monthly files are whole months, so filter on `exchange_timestamp` after reading.
400Bad request - missing or invalid parameters
401Unauthorized - missing or invalid API key
403Forbidden - the plan does not include raw data, or the range is longer than 366 days
404Unknown raw dataset
500Server error - the files could not be listed or signed

Try it

Suggestions shown — any valid value accepted
Suggestions shown — any valid value accepted
Suggestions shown — any valid value accepted
Authentication
An API key is required to send requests.Sign up
GET/api/v1/data/raw/trades?exchange=binance-futures
Response will appear here

Raw data preview

GET/api/v1/data/raw/preview/{dataset}

The 2025-06 monthly trades file of the BTC perpetual on Binance and OKX (binance-futures: perpetual-BTC-USDT:USDT, okx-perps: perpetual-BTC-USDT:USDT), for any API key including DEMO-KEY. Only trades has a preview. Same response as /data/raw/{dataset}.

Parameters

ParameterValuesMeaning
datasetpath · requiredtradesRaw dataset. Only `trades` has a preview.
exchangequery · requiredbinance-futuresokx-perpsSource exchange.
symbolquery · requiredstringTrading pair symbol in the format of Atlas' universal symbology: https://github.com/aperiodic-io/atlas
downloadquerybooleanRedirect to the preview file itself instead of listing it, so `curl -fL -o NAME` saves the Parquet in one request.

Responses

200 response
{
  "dataset": "trades",
  "exchange": "binance-futures",
  "symbol": "perpetual-BTC-USDT:USDT",
  "schema_version": 1,
  "expires_in": 3600,
  "files": [
    {
      "period": "2025-06",
      "url": "https://<account>.r2.cloudflarestorage.com/aperiodic-raw-trades/v1/trades/exchange=binance-futures/symbol=perpetual-BTC-USDT:USDT/year=2025/month=06/data.parquet?X-Amz-Expires=3600&...",
      "size": 361893330
    }
  ],
  "missing_periods": []
}
StatusMeaning
200Download URLs for every file whose period overlaps the range: one file per calendar month before 2026-08-01, one per day from then on. Monthly files are whole months, so filter on `exchange_timestamp` after reading.
302With `download=true`: a redirect to the signed URL of the preview file (valid one hour).
400Bad request - not a preview series; the body lists the available ones
401Unauthorized - missing or invalid API key
404A dataset with no preview, or an unknown one
500Server error - the files could not be listed or signed

Try it

Suggestions shown — any valid value accepted
Authentication
An API key is required to send requests.Sign up
GET/api/v1/data/raw/preview/trades?exchange=binance-futures&download=false
Response will appear here

Raw datasets and coverage

GET/api/v1/metadata/raw

The raw datasets with their columns, a per-venue summary, and the full coverage: first and last day and day count for every symbol. No API key needed. Cached for one hour.

Parameters

No parameters.

Responses

StatusMeaning
200Raw datasets and coverage
500Server error - coverage could not be read

Try it

Authentication
An API key is required to send requests.Sign up
GET/api/v1/metadata/raw
Response will appear here
PreviousMetadata
Aperiodic

Built from hundreds of terabytes of raw data and distilled into point-in-time metrics you can pull as parquet files. Plus the raw trades, quotes and derivatives data behind them.

Use Cases
  • Improve your backtest
  • Find new alpha
  • Execute smarter
Indices
  • All indices
  • Aperiodic Cost Index
  • Aperiodic Depth Index
  • Aperiodic Impact Index
Metrics
  • Metrics library
  • Data Catalog
  • Live markets dashboard
  • Global Liquidity
  • Unusual activity
  • Order Flow
  • L1 & L2
  • Derivatives
  • RWA
  • Raw Data
Developers
  • API Docs
  • MCP Server
  • Notebooks
  • For AI Agents
  • Atlas Security Master
  • Pre-flight
  • Changelog
  • Roadmap
  • llms.txt
Learn
  • Replays
  • Microstructure Guide
  • Architecture
  • Research Blog
  • FAQ
Compare
  • All vendors
  • vs. Tardis
  • vs. CoinGlass
  • vs. Kaiko
  • vs. Amberdata
Company
  • Team
  • Pricing
  • Contact
  • Book a call
  • Terms of Service
  • Privacy Policy
  • Licensing
  • SLA

© Copyright 2026 Aperiodic. All Rights Reserved.

Aperiodic Limited · Registered in Ireland · Company No. 815273 ·
136 Capel Street, Dublin D01 T2C9, Ireland