agentsvc.io

services / hyperliquid

financeoperational · 722 ms

Hyperliquid Perps Data

Hyperliquid perpetual futures market data: mark and oracle price, 24h change, hourly funding rate and funding APR, open interest (coins and USD), 24h volume, max leverage. Pass coins (e.g. ['BTC','ETH','SOL']) or omit them to get the top markets by open interest. Params: coins (optional, max 50), limit (1 to 50, default 10, used without coins).

Run free trial ↗3 free calls per day with the example input. Paid: $0.002 USDC, no limit.

Call it

import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agentsvc.io/api/v1/proxy/hyperliquid", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({"coins":["BTC","ETH","SOL"]}),
});
const { data, payment } = await res.json();  // payment.transaction = on-chain receipt

Input

FieldTypeDescription
coinsarrayCoin tickers as listed on Hyperliquid, e.g. BTC, ETH, SOL, HYPE
limitinteger = 10

Output

FieldTypeDescription
sourcestring
countinteger
marketsarray
not_foundarray
fetched_atstring

Example response (data)

{
  "source": "Hyperliquid perpetuals",
  "count": 1,
  "markets": [
    {
      "coin": "BTC",
      "mark_price": 86327,
      "oracle_price": 86341,
      "change_24h_pct": 0.15,
      "funding_rate_hourly": 0.0000125,
      "funding_apr_pct": 10.95,
      "open_interest": 40362.51,
      "open_interest_usd": 3484374252,
      "volume_24h_usd": 1925978629,
      "premium": -0.00015,
      "max_leverage": 40,
      "delisted": false
    }
  ],
  "not_found": [],
  "fetched_at": "2026-10-06T12:00:00.000Z"
}