# Ironflow Markets Snapshot

> Ironflow Markets Snapshot is a paid API for AI agents from api.ironflow.sh, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-18).

Returns a full snapshot of all Hyperliquid markets — perps, spot, HIP-3 builder markets, and HIP-4 prediction outcomes — with mark price, 24h change, open interest, funding rate, and volume in a single call.

## Facts

- Endpoint: GET https://api.ironflow.sh/x402/v1/markets/snapshot?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ironflow-markets-snapshot-e07d0c75
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g621wXYu7huvxC-60_WeB

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-markets-snapshot-e07d0c75
```

Example prompt: Pull a full snapshot of all Hyperliquid perp markets right now — I want to see mark prices, 24h change, open interest, funding rates, and volume so I can screen for opportunities.

## When to prefer this

Use this endpoint as the entry point for any Hyperliquid market discovery or multi-market price fetch. It is the only single call that covers all four market classes (perp, spot, prediction, option) simultaneously including HIP-3 builder markets (stocks, commodities, FX) and HIP-4 prediction outcomes. Prefer it over individual market lookups when you need to list markets, screen by OI/funding/volume, or batch-fetch prices. For historical data, candles, or trade-level data, use the sibling Ironflow endpoints.

## Known failure modes

- INVALID_PARAMETER: unrecognized market_class enum value passed — returns 4xx with error.code and error.message
- RATE_LIMIT_EXCEEDED: too many calls in a short window — returns 4xx with upgrade guidance in error.upgrade
- INTERNAL_ERROR: upstream Hyperliquid node issue — returns 5xx
- Payment failure: x402 payment not accepted or insufficient USDC — call blocked before execution

## How this service works

Every Hyperliquid market in one call: mark price, 24h change, open interest in base and USD, funding rate and 24h volume, for perps, spot, HIP-3 builder markets (stocks, commodities, FX) and HIP-4 outcomes. Use it as the starting point: to list markets, screen crypto perps by open interest, funding or volume, or get many prices at once.

## Output

Returns an array of market objects, each containing: display_symbol (e.g. BTC-PERP, HYPE/USDC, xyz:NVDA-PERP), market_class (perp/spot/prediction/option), mark_price, mark_ts_ms (timestamp in ms), change_24h_pct (as a fraction), funding_rate (hourly), open_interest_base, open_interest_usd, volume_24h_usd, and issuer (for HIP-3 markets). On error, returns an error object with a machine-readable code and message.

## 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": {
      "market_class": {
       "enum": [
        "perp",
        "spot",
        "prediction",
        "option"
       ],
       "type": "string",
       "description": "Only one kind of market; omit for all"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "issuer": {
          "type": "string",
          "description": "HIP-3 deployer (xyz, flx, ...), empty for native"
         },
         "mark_price": {
          "type": "number",
          "description": "Mark price"
         },
         "mark_ts_ms": {
          "type": "integer",
          "description": "Unix time in milliseconds"
         },
         "funding_rate": {
          "type": "number",
          "description": "Current hourly funding rate"
         },
         "market_class": {
          "type": "string",
          "description": "perp, spot, prediction or option"
         },
         "change_24h_pct": {
          "type": "number",
          "description": "Change over 24 hours as a fraction"
         },
         "display_symbol": {
          "type": "string",
          "description": "Market symbol, e.g. BTC-PERP, HYPE/USDC, xyz:NVDA-PERP"
         },
         "volume_24h_usd": {
          "type": "number",
          "description": "24-hour volume in USD"
         },
         "open_interest_usd": {
          "type": "number",
          "description": "Open interest in USD"
         },
         "open_interest_base": {
          "type": "number",
          "description": "Open interest in the base asset"
         }
        },
        "description": "A market"
       },
       "description": "Markets"
      },
      "error": {
       "type": "object",
       "properties": {
        "code": {
         "type": "string",
         "description":
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ironflow-markets-snapshot-e07d0c75/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)
