# x402stock Hyperliquid Spot Prices

> x402stock Hyperliquid Spot Prices is a paid API for AI agents from x402stock.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns live on-chain spot prices, volume, supply, and market cap for every token traded on the Hyperliquid DEX, quoted in USDC and sorted by 24h volume.

## Facts

- Endpoint: GET https://x402stock.xyz/api/v1/spot
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-hyperliquid-spot-prices-eb61edaa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UwEVe097bCkSVsAjRD04K

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 x402stock-hyperliquid-spot-prices-eb61edaa
```

Example prompt: Pull the latest Hyperliquid spot market prices for all tokens — I want to see mark price, mid price, 24h USD volume, and market cap for everything trading on-chain there right now, sorted by volume.

## When to prefer this

Use this endpoint when you need live spot prices specifically from the Hyperliquid DEX for its native tokens (HYPE, PURR, etc.) quoted in USDC. Prefer this over /api/v1/crypto for Hyperliquid-native tokens and over /api/v1/perps when you need spot prices rather than perpetual futures data (funding rates, open interest).

## Known failure modes

- Payment not received or invalid x402 payment header — returns 402 Payment Required
- Hyperliquid DEX data temporarily unavailable — may return 503 or stale data
- No query parameters supported beyond standard GET — malformed requests return 400
- Rate limiting if called too frequently without payment

## How this service works

Live on-chain spot prices for every token on the Hyperliquid DEX (HYPE, PURR, and hundreds more), quoted in USDC: mid/mark price, previous-day price, 24h USD and base volume, circulating and total supply, and market cap — sorted by 24h volume. Spot, not derivatives: for funding/open interest use /api/v1/perps; for major-coin fiat prices use /api/v1/crypto. From x402stock

## Output

Returns a JSON object containing a timestamp, venue name ('Hyperliquid'), market type ('spot'), and an array of token pairs each with: pair name, token IDs, base/quote tokens, canonical flag, mark price, mid price, previous day price, 24h USD volume, 24h base volume, circulating supply, total supply, and market cap in USDC. Results are sorted by 24h USD volume descending.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {}
 }
}
```

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "as_of": "2026-06-04T00:00:00.000Z",
  "count": 1,
  "pairs": [
   {
    "id": "@107",
    "pair": "HYPE/USDC",
    "canonical": false,
    "mid_price": 64.45,
    "base_token": "HYPE",
    "mark_price": 64.436,
    "quote_token": "USDC",
    "total_supply": 1000000000,
    "day_volume_usd": 3446893.64,
    "market_cap_usd": 21515620000,
    "prev_day_price": 61.519,
    "day_volume_base": 53570,
    "circulating_supply": 333928438
   }
  ],
  "venue": "hyperliquid",
  "market": "spot",
  "source": "x402stock"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-hyperliquid-spot-prices-eb61edaa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402stock.xyz](https://www.zero.xyz/host/x402stock.xyz/llms.txt)
