Naar de inhoud
GET /v1/meta

Spec

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/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/slippage-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/slippage-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/slippage-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

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

{
    "data": {
        "note": "symbol is a Binance pair (BTCUSDT) or coin=BTC&quote=USDT. estimate size is notional (quote currency, e.g. notional=250000) or quantity (base coin, e.g. quantity=5). slippage_pct is signed so positive = costlier than the reference. Depth is read fresh per call (no cache); only the tradable-symbol list is cached hourly.",
        "source": "Binance public REST (api.binance.com/api/v3, live)",
        "service": "slippage-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/depth": "Order-book liquidity profile within ±0.1/0.25/0.5/1/2% of mid, with imbalance (symbol=BTCUSDT).",
            "GET /v1/symbols": "Tradable Binance pairs, optionally filtered by quote (quote=USDT).",
            "GET /v1/estimate": "Average fill price, slippage and market impact for a market order (symbol=BTCUSDT, side=buy, notional=250000)."
        },
        "description": "What a crypto trade actually costs once it eats into the order book, computed live from Binance's full depth feed (up to 5000 levels), no key, nothing stored. estimate walks the live book for a pair/side/size (quote or base) and returns the average fill price, slippage vs mid and vs top-of-book, price impact, levels consumed and whether the book holds enough liquidity. depth returns a liquidity profile: top bid/ask, mid, spread and cumulative bid/ask liquidity within ±0.1/0.25/0.5/1/2% of mid plus the imbalance. symbols lists tradable pairs. The execution-cost / market-impact analytics cut — distinct from the raw order-book feed, VWAP-on-candles and price/ticker APIs.",
        "trading_symbols": 1370,
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-12T01:41:17.196Z",
        "request_id": "5df5fa86-7502-4a49-ba9a-ed208e973b17"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}