# Hyperliquid Mid Prices

> Hyperliquid Mid Prices is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-26).

Returns current mid prices for all or selected Hyperliquid perpetual futures (200+ coins) as a coin-to-price map

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/hyperliquid/prices?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-hyperliquid-mid-prices-5c55208f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AubQ6aQY0xqLQt4XDKRqk

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 agent-data-tools-revmesh2074-workers-dev-hyperliquid-mid-prices-5c55208f
```

Example prompt: What are the current mid prices for BTC, ETH, and SOL on Hyperliquid perpetuals?

## When to prefer this

Use this endpoint when you need a fast, cheap ($0.01) snapshot of mid prices for many Hyperliquid perpetual coins in a single call. Prefer it over exchange REST APIs when you don't want to manage auth or rate limits. For funding rates, open interest, or order book depth, use the companion hyperliquid_market endpoint instead. Not suitable for CEX prices, spot prices outside Hyperliquid perps, or historical price data.

## Known failure modes

- Unknown coin symbol returns empty or missing entry in prices map
- Network timeout or Hyperliquid API downtime returns an error
- Malformed coins query string (e.g. extra spaces) may cause symbols to go unrecognized
- Rate limiting or payment failure returns 402 or 429 status

## How this service works

All crypto prices, Hyperliquid. Current mid prices of every Hyperliquid perpetual in one call (BTC, ETH, SOL, HYPE and about 200 more), as a coin-to-price map, or only the coins you name. Read live from Hyperliquid's public API. Use for a quick price snapshot of many coins at once, portfolio marks or a price ticker; for funding and open interest use hyperliquid_market.

## Output

A JSON object containing a timestamp, the number of coins returned, and a 'prices' map of coin symbol to current mid price (e.g. {"BTC": 67432.5, "ETH": 3512.1}), plus a 'source' field indicating the data origin (Hyperliquid public API).

## 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",
     "required": [],
     "properties": {
      "coins": {
       "type": "string",
       "examples": [
        "BTC,ETH,SOL"
       ],
       "description": "Optional comma-separated symbols such as BTC,ETH,SOL (default: every perpetual)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "time": {
       "type": "string"
      },
      "count": {
       "type": "number"
      },
      "prices": {
       "type": "object",
       "properties": {
        "BTC": {
         "type": "number"
        },
        "ETH": {
         "type": "number"
        },
        "SOL": {
         "type": "number"
        }
       }
      },
      "source": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "time": "2026-10-23T13:24:02.893Z",
  "count": 3,
  "prices": {
   "BTC": 81870.5,
   "ETH": 3920.15,
   "SOL": 187.42
  },
  "source": "Hyperliquid public info API"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-hyperliquid-mid-prices-5c55208f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
