Perp basis for any Hyperliquid perp
Perp basis for any Hyperliquid perp: its mark price against Hyperliquid's oracle price (the validators' weighted median of spot venues), as a premium or discount in %, with a contango or backwardation read and the funding context. Use when you need to answer: Is this perp trading above or below spot?
Answeringour last check, 2026-11-27
7 of 7checks answered this week
293 msmedian answer time
$0.005listed price per call
$0.005price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://x402.ochinimus.app/api/basis
| Category | Market data |
|---|---|
| Provider host | x402.ochinimus.app |
| Networks | eip155:10, eip155:137, eip155:143, eip155:42161, eip155:43114, eip155:5042, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | batch-settlement, exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-27 | valid payment request | 402 | $0.005 | 290 ms |
| 2026-11-26 | valid payment request | 402 | $0.005 | 285 ms |
| 2026-11-25 | valid payment request | 402 | $0.005 | 306 ms |
| 2026-11-24 | valid payment request | 402 | $0.005 | 294 ms |
| 2026-11-23 | valid payment request | 402 | $0.005 | 295 ms |
| 2026-11-22 | valid payment request | 402 | $0.005 | 285 ms |
| 2026-11-21 | valid payment request | 402 | $0.005 | 293 ms |
| 2026-11-20 | valid payment request | 402 | $0.005 | 286 ms |
| 2026-11-19 | valid payment request | 402 | $0.005 | 288 ms |
| 2026-11-18 | valid payment request | 402 | $0.005 | 296 ms |
| 2026-11-17 | valid payment request | 402 | $0.005 | 299 ms |
| 2026-11-16 | valid payment request | 402 | $0.005 | 296 ms |
| 2026-11-15 | valid payment request | 402 | $0.005 | 293 ms |
| 2026-11-14 | valid payment request | 402 | $0.005 | 298 ms |
| 2026-11-13 | valid payment request | 402 | $0.005 | 293 ms |
| 2026-11-12 | valid payment request | 402 | $0.005 | 292 ms |
| 2026-11-11 | valid payment request | 402 | $0.005 | 289 ms |
| 2026-11-10 | valid payment request | 402 | $0.005 | 295 ms |
| 2026-11-09 | valid payment request | 402 | $0.005 | 294 ms |
| 2026-11-08 | valid payment request | 402 | $0.005 | 291 ms |
| 2026-11-07 | valid payment request | 402 | $0.005 | 779 ms |
| 2026-11-06 | valid payment request | 402 | $0.005 | 292 ms |
| 2026-11-05 | valid payment request | 402 | $0.005 | 289 ms |
| 2026-11-04 | valid payment request | 402 | $0.005 | 302 ms |
| 2026-11-03 | valid payment request | 402 | $0.005 | 296 ms |
| 2026-11-02 | valid payment request | 402 | $0.005 | 330 ms |
| 2026-11-01 | valid payment request | 402 | $0.005 | 320 ms |
| 2026-10-31 | valid payment request | 402 | $0.005 | 348 ms |
| 2026-10-29 | valid payment request | 402 | $0.005 | 351 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"symbol": "SOLUSDT"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"symbol": {
"description": "USDT perp symbol e.g. SOLUSDT, BTCUSDT (default SOLUSDT)",
"type": "string"
}
},
"required": [],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"data": {
"properties": {
"basis_against": {
"type": "string"
},
"basis_pct": {
"type": "number"
},
"coin": {
"type": "string"
},
"funding_interval_hours": {
"type": "number"
},
"funding_rate_8h": {
"type": "number"
},
"funding_rate_raw": {
"type": "number"
},
"mark_price": {
"type": "number"
},
"oracle_price": {
"type": "number"
},
"source": {
"type": "string"
},
"state": {
"type": "string"
},
"symbol": {
"type": "string"
}
},
"type": "object"
},
"paid": {
"type": "boolean"
},
"tool": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}