81trust / 100

Market Perp

by FiatDock in Markets & finance

x402 APIPassing, checked 39 min ago

Hyperliquid perpetuals in one call: mark/oracle/mid price, 24h change, funding rate and its annualised APR, open interest in coins and USD, 24h volume, max leverage - plus the same coin's next funding on Binance and Bybit for cross-venue comparison. Name a coin (BTC, ETH, SOL, HYPE…) or send {} for the most-traded markets. Pay-per-call via x402.

POST https://fiatdock.com/v1/market/perp

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
44 ms typical, 44 ms slowest 5%
Last check
39 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://fiatdock.com/v1/market/perp" \
  -H "content-type: application/json" \
  -d '{"coin":"BTC"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ffiatdock.com%2Fv1%2Fmarket%2Fperp
const res = await pay("https://fiatdock.com/v1/market/perp", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"coin":"BTC"}),
});
console.log(await res.json());

Example input

{
  "coin": "BTC"
}

Example output

{
  "asOf": "2026-10-05T00:00:00.000Z",
  "coin": "BTC",
  "crossVenueFunding": [
    {
      "fundingAprPct": 6.5,
      "fundingRate": 0.00005937,
      "intervalHours": 8,
      "nextFundingTime": "2026-10-05T00:00:00.000Z",
      "venue": "Binance"
    },
    {
      "fundingAprPct": 10.95,
      "fundingRate": 0.0000125,
      "intervalHours": 1,
      "nextFundingTime": "2026-10-05T00:00:00.000Z",
      "venue": "Hyperliquid"
    }
  ],
  "markets": [
    {
      "change24hPct": 1.76,
      "coin": "BTC",
      "fundingAprPct": 10.95,
      "fundingRate": 0.0000125,
      "intervalHours": 1,
      "markPx": 86167,
      "maxLeverage": 40,
      "midPx": 86192.5,
      "openInterest": 37822.58736,
      "openInterestUsd": 3259051564,
      "oraclePx": 86186,
      "premium": 0,
      "prevDayPx": 84677,
      "volume24hUsd": 799529819
    }
  ],
  "note": "fundingRate is per funding interval (intervalHours), as a decimal; fundingAprPct annualises it, not compounded. Not financial advice.",
  "source": "Hyperliquid public info API (metaAndAssetCtxs, predictedFundings)",
  "venue": "Hyperliquid"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
39 min agoPassed40244 ms$0.001
4 h agoPassed40240 ms$0.001
9 h agoPassed402161 ms$0.001