Skip to main content
Package: ironflow-sdk (0.6.0)
Requires: Python 3.10+, httpx
The SDK is deprecated (0.6.1, no longer maintained) and needs an API key for every data call. Use the REST API with requests or httpx (see the Quickstart), or the MCP server from an AI agent.

Installation

Setup

Python

Account & status

Python

Markets registry

Python
This endpoint reads the registry directly — no per-tier query window applies.

REST API

All list methods return a Page[T] dataclass with .data, .has_more, and .next():
Python

HIP-3 builder markets

Pass the full canonical symbol (<issuer>:<base>-PERP) as the market argument. Every response object carries market, issuer, and base_market — group by issuer to compare builders, by base_market to combine builds. Native HL perps return issuer="" and market == base_market.
Python
For cross-issuer queries (every builder’s GOLD-PERP in one call) use the base_market + omitted-issuer form via cURL — the typed REST methods take market as their first argument. See Sources & Markets for the full filter scheme.

HIP-4 outcome contracts

HIP-4 binary prediction markets (live since 2026-05-02) carry market_class="prediction". Display symbols read as {UNDERLYING}-{TARGET}-{EXPIRY}-{Yes|No} and complementary outcomes have prices summing to 1.0 (the implied probability).
Python
Perp-only endpoints (/v1/funding, /v1/open-interest, /v1/mark-prices) return 400 INVALID_MARKET_CLASS on prediction symbols — those concepts don’t apply to fully-collateralized binaries.

Pagination

Python

Vault Operations

Python

Cohorts

Python

Analytics

net-flows and funding-stats work on every tier; liquidation-levels and vault-leaderboard return a sample without a key and everything with any key (a free key works). order-flow is retired and answers 410.
Python

Error handling

Python

Type reference

All response types are dataclasses:
Python