Live state of every perpetual-futures market in one call: per coin the mark and oracle…
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 — fund…
by x402stock.xyz · discovered, not yet claimed by its owner · updated 2026-10-09
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
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
Tags: bazaar
Call contract
- Method
- GET
- Input
- query parameters
- Output
- json
- Last paid call
- 2026-10-09
{}{
"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"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/39917.jsonfor the price and payment options. - Pay. Call
GET https://x402stock.xyz/api/v1/perps. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.02 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 5 calls · 4 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.02 | 0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85 | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"amountUsd": 0.02,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"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"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"as_of": "string",
"count": 0,
"market": "string",
"perps": [
{
"coin": "string",
"day_volume_base": null,
"day_volume_usd": null,
"funding_apr_percent": null,
"funding_rate_hourly": null,
"mark_price": null,
"max_leverage": 0,
"mid_price": null,
"open_interest": null,
"oracle_price": null,
"premium": null,
"prev_day_price": null
}
],
"source": "string",
"venue": "string"
},
"type": "string"
}Examples
curl "https://x402stock.xyz/api/v1/perps"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst 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
}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 headerDetails
- Provider
- x402stock.xyz
- Endpoint
- https://x402stock.xyz/api/v1/perps
- Machine-readable
/resources/39917.json