Hyperliquid perpetual market data for AI agents — returns mark price, oracle price, fundin
Hyperliquid perpetual market data for AI agents — returns mark price, oracle price, funding, open interest, and best bid/ask for any listed perpetual asset.
10000 (raw units)
price
16
calls / 30d
4
unique payers
2026-09-09
updated
Provider
hyperliquid-x402.rajdeep-dutta-in.workers.dev · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:84532",
"payTo": "0x33d3456E7c00a9C6f7aeAdE9E9d8bb0dd6aB7824",
"asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"asset": "BTC"
},
"type": "http"
},
"output": {
"example": {
"asset": "BTC",
"best_ask": "50002.0",
"best_bid": "49998.0",
"funding": "0.0000125",
"mark_price": "50000.0",
"open_interest": "15000.0",
"oracle_price": "50100.0",
"timestamp": 1700000000000
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"asset": {
"description": "Perpetual asset symbol (e.g. BTC, ETH, SOL)",
"type": "string"
}
},
"required": [
"asset"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://hyperliquid-x402.rajdeep-dutta-in.workers.dev/market" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://hyperliquid-x402.rajdeep-dutta-in.workers.dev/market");
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://hyperliquid-x402.rajdeep-dutta-in.workers.dev/market")
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/8227.json, and this resource appears in /discovery/resources and /discovery/search.