Create a key on the API keys page and send it in the X-API-Key header with every request. Keys carry the permissions of the account's plan. A key is shown once when created; we store only a hash of it. Revoke a key at any time and requests made with it fail immediately.
X-API-Key: md_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
https://api.vannaflow.com| Method and path | Description | Key |
|---|---|---|
| GET /v1/datasets | Datasets, field dictionaries and your plan's access. | Yes |
| GET /v1/tickers | Product universe by asset class. | No |
| GET /v1/catalog | Sessions available per dataset and underlying. | No |
| GET /v1/sample/{dataset} | 25 rows from the earliest stored session. | No |
| GET /v1/{dataset}/{ticker} | Rows for one underlying over a date range. | Yes |
| GET /account/usage | Requests and rows used in the last 30 days. | Yes |
Dataset identifiers:
| Identifier | Product | Frequency |
|---|---|---|
| equity_bars | Equity Bars | 1 minute |
| options_eod | Options End-of-Day Summary | Daily, per expiration |
| exposure_levels | Dealer Exposure Levels | 1 minute |
| exposure_profile | Exposure Profile by Strike | 5 minutes |
| options_chain | Option Chain Quotes | 1 minute |
| signals | Research Signals | 1 minute |
| Parameter | Type | Description |
|---|---|---|
| start | date | First session, YYYY-MM-DD. Defaults to the start of your history window. |
| end | date | Last session, inclusive. Defaults to the latest session available. |
| fields | string | Comma-separated column list. Unknown names return 400. |
| scope | string | Exposure datasets: 0dte, 1dte or all. |
| expiration | date | Option datasets: a single expiration. |
| option_type | string | Chain: C or P. |
| strike_min, strike_max | number | Chain and profile: strike range. |
| signal | string | Signals: one signal name. |
| format | string | json (default), csv or parquet, subject to plan. |
| limit | integer | Rows per response. JSON defaults to 10,000, at most 50,000. CSV and Parquet return every matching row unless a limit is set, at most 5,000,000. |
| offset | integer | Rows to skip, for paging. |
JSON responses have the form below. Timestamps are ISO 8601 in US Eastern time with the offset included. Whilemeta.next_offset is not null, request the next page with offset set to it. CSV and Parquet responses carry the same facts in the X-Total-Rows, X-Returned-Rows andX-Range-Clamped headers. Without a limit a file holds every matching row or the request is refused, never cut short. With one, X-Next-Offset says where the next file starts.
{
"success": true,
"data": [
{ "ts": "2026-08-26T10:15:00-0400", "spot": 181.42, "net_gex_oi": 3.12e9, "zero_gamma": 178.9, ... }
],
"meta": {
"dataset": "exposure_levels", "ticker": "NVDA",
"start": "2026-07-27", "end": "2026-08-26",
"range_clamped": true, "access": "full", "sessions": 22,
"total": 23400, "limit": 10000, "offset": 0, "next_offset": 10000
}
}| Plan | Requests per minute | Rows per day | History | Formats |
|---|---|---|---|---|
| Plus | 60 | 2,000,000 | 90 days | JSON, CSV |
| Pro | 300 | 20,000,000 | 90 days | JSON, CSV, PARQUET |
| Max | 1,000 | 100,000,000 | 730 days | JSON, CSV, PARQUET |
Row allowances reset at 00:00 UTC. Start dates before the history window are moved forward to it.
Errors return {"success": false, "error": "..."} with one of these status codes.
| Status | Meaning |
|---|---|
| 400 | A parameter is malformed, or a field or filter is not valid for the dataset. |
| 401 | No API key was sent, or the key has been revoked. |
| 402 | The account has no active subscription. |
| 403 | The dataset or format is not included in your plan, or the date range is entirely outside your history window. |
| 404 | Unknown dataset or ticker. |
| 409 | The data was updated while a CSV or Parquet file was being read. Repeat the request. |
| 413 | A CSV or Parquet request without a limit matches more rows than one file can hold. Narrow the date range, or page with limit and offset. |
| 429 | Request rate or daily row allowance exceeded, or a CSV or Parquet request without a limit needs more rows than remain today. The rate window is one minute; the row allowance resets at 00:00 UTC. |
curl -H "X-API-Key: $MD_API_KEY" \ "https://api.vannaflow.com/v1/exposure_levels/SPY?start=2026-09-01&end=2026-09-30&scope=0dte&fields=ts,spot,net_gex_oi,zero_gamma,call_wall,put_wall"
import os
import requests
import pandas as pd
BASE = "https://api.vannaflow.com"
session = requests.Session()
session.headers["X-API-Key"] = os.environ["MD_API_KEY"]
def fetch(dataset, ticker, **params):
rows, offset = [], 0
while True:
r = session.get(f"{BASE}/v1/{dataset}/{ticker}", params={**params, "offset": offset, "limit": 50000})
r.raise_for_status()
body = r.json()
rows.extend(body["data"])
offset = body["meta"]["next_offset"]
if offset is None:
return pd.DataFrame(rows)
levels = fetch("exposure_levels", "SPY", start="2026-09-01", end="2026-09-30", scope="all")
levels["ts"] = pd.to_datetime(levels["ts"])import io
r = session.get(f"{BASE}/v1/options_chain/NVDA", params={"start": "2026-08-26", "end": "2026-08-26", "format": "parquet"})
r.raise_for_status()
chain = pd.read_parquet(io.BytesIO(r.content))