Naar de inhoud
GET /v1/estimate

Slippage & market impact of a market order

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/slippage-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "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
}