/v1/contract
A symbol across every exchange
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/derivatives-api/v1/contract" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/derivatives-api/v1/contract", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/derivatives-api/v1/contract");
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/derivatives-api/v1/contract",
headers={"x-oanor-key": "oanor_test_..."}
)
Respuesta de ejemplo
Una respuesta real de este endpoint, capturada en la última comprobación de estado.
{
"data": {
"symbol": "BTCUSDT",
"contracts": [
{
"price": 62109.1,
"symbol": "BTCUSDT",
"exchange": "Binance (Futures)",
"basis_pct": 0.0715,
"underlying": "BTC",
"contract_type": "perpetual",
"last_traded_at": 1781099763,
"volume_24h_usd": 14118720422,
"funding_rate_pct": -0.00048,
"open_interest_usd": 6292310173,
"price_change_24h_pct": 0.053
},
{
"price": 61510.3,
"symbol": "BTC_USDT",
"exchange": "MEXC (Futures)",
"basis_pct": 0.0476,
"underlying": "BTC",
"contract_type": "perpetual",
"last_traded_at": 1781099916,
"volume_24h_usd": 6641994322,
"funding_rate_pct": -0.0004,
"open_interest_usd": 4206102915,
"price_change_24h_pct": -0.24
},
{
"price": 62128.8,
"symbol": "BTCUSDT",
"exchange": "Bybit (Futures)",
"basis_pct": 0.0298,
"underlying": "BTC",
"contract_type": "perpetual",
"last_traded_at": 1781099732,
"volume_24h_usd": 6444884745,
"funding_rate_pct": 0.00112,
"open_interest_usd": 3468464430,
"price_change_24h_pct": -0.224
},
{
"price": 62041,
"symbol": "BTC_USDT",
"exchange": "Gate (Futures)",
"basis_pct": 0.0809,
"underlying": "BTC",
"contract_type": "perpetual",
"last_traded_at": 1781099991,
"volume_24h_usd": 6219238004,
"funding_rate_pct": -0.002,
"open_interest_usd": 3408812374,
"price_change_24h_pct": -0.207
},
{
"price": 62012.83,
"symbol": "BTC-USDT",
"exchange": "WEEX (Futures)",
"basis_pct": -0.0058,
"underlying": "BTC",
"contract_type": "perpetual",
"last_traded_at": 1781098719,
"volume_24h_usd": 10796034071,
"funding_rate_pct": 0,
"open_interest_usd": 2995270285,
"price_change_24h_pct": -0.481
},
{
"price": 62067.25,
"symbol": "BTC/USDT",
"exchange": "CoinW (Futures)",
"basis_pct": -0.0592,
"underlying": "BTC",
"contract_type": "perpetual",
"last_traded_at": 1781100059,
"volume_24h_usd": 6245340533,
"funding_rate_pct": 0.0019,
"open_interest_usd": 27832131
…