$0.02
per call · USD Coin on Base
Live state of every perpetual-futures market in one call: per coin the mark and oracle price, hourly funding rate with annualized APR, premium, open interest, max leverage, previous-day price, and 24h USD and base volume. Native crypto-derivatives data — funding and open interest are perp-only, absent from any spot feed. Free on-chain DEX data (venue: Hyperliquid), no key. From x402stock
Endpoint
GET https://x402stock.vercel.app/api/v1/perps2
Calls / 30d
1
Unique payers / 30d
Aug 23
Last called
exact
Payment scheme
Call this service
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.vercel.app/api/v1/perps", {
method: "GET",
});
const data = await res.json();curl -X GET \
"https://x402stock.vercel.app/api/v1/perps" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"as_of": "2026-06-04T00:00:00.000Z",
"count": 2,
"market": "perp",
"perps": [
{
"coin": "BTC",
"day_volume_base": 106799.6,
"day_volume_usd": 6772680481.63,
"funding_apr_percent": 10.95,
"funding_rate_hourly": 0.0000125,
"mark_price": 63606,
"max_leverage": 40,
"mid_price": 63606.5,
"open_interest": 31304.105,
"oracle_price": 63629,
"premium": -0.0003457543,
"prev_day_price": 64583
}
],
"source": "x402stock",
"venue": "hyperliquid"
}Payment details
0x3070fbb3803819fb5bdfe9286fdc6325a877fa85USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Market Data and the homepage with a featured placement.
More from X402stock & similar services
X402stock · News
x402stock.xyz
Curated stock-market news with ticker tags, source, publisher, image, and timestamps. Pass `?ticker=AAPL` to filter. From x402stock, a pay-per-call market & economic data API for AI agents. No API key or account; pay in USDC via x402.
X402stock · Treasury Yields
x402stock.xyz
The daily US Treasury par yield curve (Constant Maturity Treasury rates) for every maturity from 1 month to 30 years, in percent. Defaults to the latest published day; pass `?limit=` for more recent days (max 250) and `?year=YYYY`. No ticker needed. Use for the risk-free rate, rate-sensitivity context, and yield-curve inversion in macro-aware analysis. From x402stock
X402stock · Inflation
x402stock.xyz
US consumer price inflation from the Bureau of Labor Statistics: the latest headline CPI-U and core (ex food and energy) index levels with year-over-year percent change, plus recent monthly history. No ticker needed. Use for macro-aware analysis without leaving for a separate data source. Sourced from US BLS. From x402stock, a market & economic data API (x402, USDC).