/v1/meta
Spec
Pruébalo en vivo
10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.
Funciona. Consigue una clave API y úsala en tu proyecto.
Obtener una clave APIFragmentos de código
curl "https://api.oanor.com/maxpain-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/maxpain-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/maxpain-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/maxpain-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"note": "currency is BTC, ETH, SOL or XRP. expiry is a Deribit code (e.g. 26JUN26) from /v1/expiries; omit it to use the nearest expiry carrying open interest. Open interest is in contracts. Read fresh per call, nothing cached.",
"source": "Deribit public API (deribit.com/api/v2/public, live)",
"service": "maxpain-api",
"endpoints": {
"GET /v1/oi": "Open-interest-by-strike distribution for an expiry (currency=BTC, expiry=26JUN26).",
"GET /v1/meta": "This document.",
"GET /v1/maxpain": "Max-pain strike, spot gap and put/call OI for a currency+expiry (currency=BTC, expiry=26JUN26).",
"GET /v1/expiries": "Listed expiries with aggregate OI, contracts and notional (currency=BTC)."
},
"currencies": [
"BTC",
"ETH",
"SOL",
"XRP"
],
"description": "Crypto options max pain and open-interest positioning, computed live from Deribit's public option book (no key, nothing stored). Max pain is the strike at which the most option open interest expires worthless — price often gravitates toward it into a large expiry. maxpain returns the max-pain strike, spot, the spot-vs-max-pain gap and call/put OI with the put/call ratio for a currency+expiry. oi returns the full open-interest-by-strike distribution (the magnets and walls). expiries lists every listed expiry with aggregate OI, contracts and notional. The aggregate options-positioning analytics cut — distinct from the raw per-contract option chain, equity options and crypto-volatility APIs.",
"upstream_status": "ok",
"btc_option_contracts": 984
},
"meta": {
"timestamp": "2026-06-12T01:41:15.083Z",
"request_id": "04d35807-3b18-4ec6-b22c-ccc5a17cfae8"
},
"status": "ok",
"message": "Meta",
"success": true
}