# Hyperliquid Asset Class Flow API

> Hyperliquid Asset Class Flow API is a paid API for AI agents from whaletape.xyz, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Returns net notional flow per asset class (e.g. equities vs crypto) over 1h, 4h, and 24h windows, with a one-line rotation summary

## Facts

- Endpoint: GET https://whaletape.xyz/flows/classes
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hyperliquid-asset-class-flow-api-2e0e7f67
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9Fx7M6tkdks8xAmYnMId2

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 hyperliquid-asset-class-flow-api-2e0e7f67
```

Example prompt: Is money rotating out of equities into crypto right now? Give me the net notional flow breakdown by asset class over the last 1h, 4h, and 24h on Hyperliquid, and summarize the rotation in one line.

## When to prefer this

Choose this endpoint when you need a macro-level, cross-asset-class view of where capital is flowing — specifically whether money is rotating between equities and crypto — rather than per-market or per-coin flow data. It is ideal for regime detection, morning briefings, or macro trading signals where a one-line rotation summary is needed quickly.

## Known failure modes

- Payment not attached or insufficient — 402 response requiring x402 payment
- No data available for the requested time window — empty or null flow fields
- Rate limiting if called too frequently in a short period
- Stale data if Hyperliquid feed is delayed — flows may reflect outdated snapshots

## How this service works

Is money rotating out of equities into crypto? Net notional flow per asset class over 1h/4h/24h, with the rotation stated in one line

## Output

A JSON object containing net notional flow figures broken down by asset class over 1-hour, 4-hour, and 24-hour windows, along with a single plain-English summary sentence describing the current rotation direction (e.g. 'Capital is rotating out of equities into crypto over the last 4h').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "capital rotation across asset classes; educational heuristic",
  "updated_at": "2026-08-23T01:39:43Z",
  "class_flows": {
   "4h": {
    "classes": {
     "crypto": {
      "flow_usd": 9000000,
      "inflow_count": 120,
      "outflow_count": 80
     }
    },
    "rotation": "money leaving equity and entering crypto"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hyperliquid-asset-class-flow-api-2e0e7f67/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from whaletape.xyz](https://www.zero.xyz/host/whaletape.xyz/llms.txt)
