X

X402stock · Spot

by X402stock

GETBase

$0.02

per call · USD Coin on Base

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

Endpoint

GET https://x402stock.xyz/api/v1/spot

1

Calls / 30d

1

Unique payers / 30d

Aug 17

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402stock.xyz/api/v1/spot", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402stock.xyz/api/v1/spot" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

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

Payment details

Pay to0x3070fbb3803819fb5bdfe9286fdc6325a877fa85
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Market Data and the homepage with a featured placement.

Get featured →

More from X402stock & similar services