MM Flow

For quants & researchers

A clean public API across every venue we cover.

Twenty-plus endpoints, one consistent schema. Cross-venue funding and OI, historical time-series, options chain, on-chain valuation — all JSON, no auth for the read tier, two single-file SDKs (TS + Python) you can vendor.

Monday-morning workflow

  1. 1

    Skim the OpenAPI surface — every endpoint, every parameter, copy-paste curls.

    Live health check next to each endpoint. /docs/api

  2. 2

    Drop the TypeScript or Python SDK in — single file, zero deps.

    Mirror APIs across both languages; same response shapes. /docs/api/sdk

  3. 3

    Pull historical OI / funding for backtests via /history endpoints.

    Multi-venue, aligned to a common schema. /docs/api

  4. 4

    Fit a vol surface to the daily options skew snapshot.

    Deribit chain, normalized to delta + DTE. /options/skew

  5. 5

    Cross-reference setups vs realized outcomes from our cookbook.

    Notebook + bot recipes already labeled. /docs/api/cookbook

  6. 6

    Issue an API key for 3,000 req/min if you need headroom.

    Self-serve, per-key usage stats. /profile/api-keys

Pages built for you

Real code

Daily OI z-score regime classifier (Python SDK)

Python
from mmflow import client
import numpy as np

oi = client.perps.oi_history(coin="BTC", days=180)
series = np.array([x["oi"] for x in oi["points"]])
z = (series[-1] - series.mean()) / series.std()
regime = "compressed" if abs(z) < 0.5 else "stretched" if z > 1.5 else "extended"
print(f"BTC OI z={z:.2f} → {regime}")

Funding-arb signal (TypeScript SDK)

TypeScript
import { mmflow } from "@mmflow/sdk";

const f = await mmflow.perps.funding({ coin: "BTC" });
const spread = f.venues.hyperliquid.rate - f.venues.binance.rate;
// >5bp spread = arb candidate. Long the cheap side, short the rich side.
if (Math.abs(spread) > 0.0005) {
  console.log({ side: spread > 0 ? "short HL / long BN" : "long HL / short BN", bps: (spread * 10_000).toFixed(2) });
}

Read the API docs.

OpenAPI 3.1 surface · TS + Python SDKs · cookbook · status page.