/v1/estimate
Slippage & market impact of a market order
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/slippage-api/v1/estimate" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/slippage-api/v1/estimate", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/slippage-api/v1/estimate");
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/slippage-api/v1/estimate",
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": null,
"side": "buy",
"filled": true,
"source": "Binance",
"symbol": "BTCUSDT",
"mid_price": 63354.695,
"requested": {
"notional": 250000,
"quantity": null
},
"top_price": 63354.7,
"base_filled": 3.94601498,
"worst_price": 63361.22,
"quote_filled": 250000,
"avg_fill_price": 63355.05606105,
"levels_consumed": 43,
"price_impact_pct": 0.0103,
"slippage_pct_vs_mid": 0.0006,
"slippage_pct_vs_top": 0.0006
},
"meta": {
"timestamp": "2026-06-12T01:41:16.511Z",
"request_id": "d39409ff-b861-4437-819c-dfcfd698bbf3"
},
"status": "ok",
"message": "Estimate retrieved successfully",
"success": true
}