# Ironflow Open Interest Changes

> Ironflow Open Interest Changes is a paid API for AI agents from api.ironflow.sh, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-19).

Returns Hyperliquid perpetual and HIP-3 markets ranked by change in open interest over a chosen time window, in USD or percent, with start/end OI values and mark price.

## Facts

- Endpoint: GET https://api.ironflow.sh/x402/v1/open-interest/changes?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ironflow-open-interest-changes-b687ce42
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eahLNuhae_rY-hyn1QGjc

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ironflow-open-interest-changes-b687ce42
```

Example prompt: Show me the top 20 Hyperliquid perp markets ranked by USD open interest change over the last 4 hours, only include markets with at least $500,000 in current OI.

## When to prefer this

Use this endpoint when you need to identify which Hyperliquid perpetual or HIP-3 markets are experiencing the most significant shifts in open interest over a defined lookback window. It is the right choice for momentum screening, positioning flow analysis, and derivatives market surveillance across both native perps and HIP-3 assets. Prefer it over raw trade or funding endpoints when the goal is to rank or compare markets by aggregate positioning change rather than individual fill data or funding costs.

## Known failure modes

- INVALID_PARAMETER: a query param (e.g. window, sort) has an unsupported value — fix the enum value
- HISTORY_OUT_OF_RANGE: requested window extends beyond available data — use a shorter window
- QUERY_WINDOW_EXCEEDED: rate or quota limit on window queries — reduce request frequency
- RATE_LIMIT_EXCEEDED: too many calls in a short period — back off and retry
- NOT_FOUND: specified HIP-3 deployer does not exist — verify the dex parameter
- INTERNAL_ERROR: server-side failure — retry after a short delay

## How this service works

Hyperliquid open interest movers: markets ranked by the change in open interest over 1h, 4h, 24h or 7d, in USD or percent, with start and end open interest and the mark price. Use it to find where positioning is building or unwinding across crypto perps and HIP-3 markets.

## Output

An ordered array of markets, each containing the market symbol, optional HIP-3 deployer, mark price, open interest at the start and end of the window (in base asset units), current OI in USD, change in USD, and change in percent — plus metadata indicating the sort method and total count of markets returned.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "dex": {
       "type": "string",
       "description": "Only one HIP-3 deployer, e.g. xyz"
      },
      "sort": {
       "enum": [
        "usd",
        "pct"
       ],
       "type": "string",
       "description": "Rank by USD change or percent change (default usd)"
      },
      "limit": {
       "type": "string",
       "description": "Markets, 1 to 200"
      },
      "window": {
       "enum": [
        "1h",
        "4h",
        "24h",
        "7d"
       ],
       "type": "string",
       "description": "Window (default 24h)"
      },
      "min_oi_usd": {
       "type": "string",
       "description": "Skip markets with less open interest than this, USD"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "dex": {
          "type": "string",
          "description": "HIP-3 deployer, absent for native perps"
         },
         "mark": {
          "type": "number",
          "description": "Mark price"
         },
         "market": {
          "type": "string",
          "description": "Market symbol, e.g. BTC-PERP, HYPE/USDC, xyz:NVDA-PERP"
         },
         "oi_end": {
          "type": "number",
          "description": "Open interest now, base asset"
         },
         "oi_start": {
          "type": "number",
          "description": "Open interest at the start, base asset"
         },
         "change_pct": {
          "type": "number",
          "description": "Change in percent"
         },
         "change_usd": {
          "type": "number",
          "description": "Change in USD"
         },
         "oi_end_usd": {
          "type": "number",
          "description": "Open interest now, USD"
         }
        },
        "description": "A market"
       },
       "descript
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ironflow-open-interest-changes-b687ce42/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.ironflow.sh](https://www.zero.xyz/host/api.ironflow.sh/llms.txt)
