Live state of every perpetual-futures market in one call: per coin the mark and oracle pri
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
20000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-14
updated
Provider
x402stock.xyz · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {},
"type": "http"
},
"output": {
"example": {
"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"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"properties": {},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"as_of": {
"type": "string"
},
"count": {
"type": "number"
},
"market": {
"const": "perp",
"type": "string"
},
"perps": {
"items": {
"additionalProperties": false,
"properties": {
"coin": {
"type": "string"
},
"day_volume_base": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"day_volume_usd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"funding_apr_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"funding_rate_hourly": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"mark_price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"max_leverage": {
"type": "number"
},
"mid_price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"open_interest": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"oracle_price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"premium": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"prev_day_price": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"coin",
"max_leverage",
"mark_price",
"oracle_price",
"mid_price",
"prev_day_price",
"funding_rate_hourly",
"funding_apr_percent",
"premium",
"open_interest",
"day_volume_usd",
"day_volume_base"
],
"type": "object"
},
"type": "array"
},
"source": {
"const": "x402stock",
"type": "string"
},
"venue": {
"type": "string"
}
},
"required": [
"source",
"as_of",
"venue",
"market",
"count",
"perps"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://x402stock.xyz/api/v1/perps" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402stock.xyz/api/v1/perps");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://x402stock.xyz/api/v1/perps")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/5284.json, and this resource appears in /discovery/resources and /discovery/search.