Aperiodic
MarketsLive
Pricing
Get Started

Raw data · Prime + Raw

Raw trades, quotes and derivatives data, next to the metrics built from it

For Binance, OKX and Hyperliquid perpetuals. Same API key, same symbols, one Parquet file per month of history and per day since August 2026. Metrics stay the fast path; raw is for when you need the ticks.
Get Prime + RawTry a free sample

Shown: the deepest drop of every perpetual on Binance, OKX and Hyperliquid, 20:50–22:00 UTC on 10 Oct 2025, one tile each, three blocks in that order, deepest first; IOTX at −94.8%, the deepest of the 847, is the one orange tile · built with ohlcv 1m

What’s included

Five raw datasets, counted separately from the 19 metric datasets. Every file starts with exchange_timestamp, local_timestamp, then the columns below; exchange and symbol come from the path. Hyperliquid's derivative feed carries no exchange time, so in its mark price, index price, and funding files exchange_timestamp is modelled, and an exchange_timestamp_kind column says so.

Trades

Every print, with the venue’s trade id and taker side.

tradesBinance USDⓈ-M · OKX · Hyperliquid

Every trade printed on the venue, with its trade id, taker side, price and size.

  • id
  • side
  • price
  • amount

Quotes

Every change at the top of the book.

quotesBinance USDⓈ-M · OKX · Hyperliquid

Top-of-book updates: best bid and best ask with their sizes, one row per change.

  • bid_price
  • bid_amount
  • ask_price
  • ask_amount

Derivatives

Mark price, index price and funding, one row per change.

mark_priceBinance USDⓈ-M · OKX · Hyperliquid

The venue’s mark price, one row each time it changes.

  • mark_price
index_priceBinance USDⓈ-M · OKX · Hyperliquid

The venue’s index price for the contract’s underlying, one row each time it changes.

  • index_price
funding_rateBinance USDⓈ-M · OKX · Hyperliquid

The current funding rate and the next funding time, one row each time either changes.

  • funding_rate
  • next_funding_timestamp
Full schema and per-symbol coverage in the raw catalog

Coverage

DatasetBinance USDⓈ-MOKXHyperliquid
tradesJan 2020Sep 2019Jan 2025
quotesJan 2020Sep 2019Jan 2025
mark_priceMar 2020Oct 2019Mar 2025
index_priceMar 2020Oct 2019Mar 2025
funding_rateJan 2020Sep 2019Feb 2025

First month across all symbols of a venue; the raw catalog and /api/v1/metadata/raw list every symbol with its own coverage. Perpetuals only. Prime + Raw reaches back 5 years; Institutional, to the first month shown.

How delivery works

Try it without an account

The shared key DEMO-KEY gets the 2025-06 trades file of the BTC perpetual on Binance and OKX, with no account and no API key of your own.

terminal
# Save the 2025-06 trades file in this folder — no account needed
file=binance-futures_trades_perpetual-BTC-USDT-USDT_2025-06.parquet
curl -fLG -H "X-API-KEY: DEMO-KEY" \
  "https://aperiodic.io/api/v1/data/raw/preview/trades" \
  -d exchange=binance-futures \
  -d symbol=perpetual-BTC-USDT:USDT \
  -d download=true \
  -o "$file" && echo "Saved to $PWD/$file"

The command for each venue is in the catalog’s preview data.

Ask the API

One request per dataset, symbol and date range (up to 366 days), with your usual X-API-KEY.

Get signed URLs

The response lists every Parquet file that overlaps the range, each with a download URL valid for one hour.

Read a folder

The Python client and the CLI download them into the same folder layout, skipping files you already have.

With your API key

Install the Python client, then load a range into a DataFrame or sync it to a folder.

pip install "aperiodic[polars]"
pypi ↗

Into a DataFrame

example.py
from datetime import date
import aperiodic as ap

df = ap.get_raw(
    api_key="YOUR_KEY",
    dataset="trades",
    exchange="binance-futures",
    symbol="perpetual-BTC-USDT:USDT",
    start_date=date(2025, 6, 1),
    end_date=date(2025, 6, 3),
)
print(df.head())

Sync a folder

example.py
from datetime import date
import aperiodic as ap

# Skips files already in ./raw, so running it again resumes
ap.download_raw(
    api_key="YOUR_KEY",
    dataset="trades",
    exchange="okx-perps",
    symbol="perpetual-BTC-USDT:USDT",
    start_date=date(2025, 1, 1),
    end_date=date(2025, 12, 31),
    output_dir="raw",
)

File layout

Monthly and daily files sit at different depths, so read a folder with a glob and filter on exchange_timestamp.

raw/trades/exchange=binance-futures/symbol=perpetual-BTC-USDT:USDT/
  year=2025/month=06/data.parquet            one file per month before 2026-08-01
  year=2026/month=08/day=10/data.parquet     one file per day from 2026-08-01
terminal
# DuckDB, from the folder that holds ./raw
duckdb -c "SELECT * FROM read_parquet('raw/trades/**/data.parquet')
  WHERE exchange_timestamp >= '2025-06-01' LIMIT 10"
example.py
from datetime import datetime, timezone
import polars as pl

df = (
    pl.scan_parquet("raw/trades/**/data.parquet")
    .filter(pl.col("exchange_timestamp") >= datetime(2025, 6, 1, tzinfo=timezone.utc))
    .collect()
)
print(df.head())

Timestamps, plainly

  • exchange_timestamp is the venue's own time for the event, exactly as it published it.
  • local_timestamp is when the event reached our capture machine.

Not included, yet

Raw L2 order books, liquidations, spot, dated futures and venues other than Binance, OKX and Hyperliquid. Our L2 metrics are on Prime and above.

Prime + Raw

$1,499 / month, billed yearly

$1,899 month to month, with a commercial licence. Institutional adds full history and real-time streaming.

  • Everything in Prime
  • Raw trades, top-of-book quotes, mark and index price and funding
  • Binance, OKX and Hyperliquid perpetuals
  • 5 years of history, updated daily
  • Parquet files through the API, the CLI and the Python client

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
  • Full Catalog
  • Live markets dashboard
  • Global Liquidity
  • Unusual activity
  • Order Flow
  • L1 — Top of Book
  • L2 — Order Book
  • Market Data
  • Derivatives
  • RWA
  • Raw Data
Developers
  • API Docs
  • Live WebSocket Feed
  • 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
  • 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

Shown: minute closes of 847 perpetuals, 20:30–22:30 UTC on 10 Oct 2025, IOTX in orange · built with ohlcv 1m