Naar de inhoud
GET /v1/trades

Recent public trades

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "count": 25,
        "trades": [
            {
                "side": "sell",
                "size": 7,
                "price": 65911.1,
                "trade_id": "47123564578",
                "timestamp": "1781522135905"
            },
            {
                "side": "buy",
                "size": 5,
                "price": 65894.7,
                "trade_id": "47123562840",
                "timestamp": "1781522134068"
            },
            {
                "side": "sell",
                "size": 22.7,
                "price": 65896,
                "trade_id": "47123562265",
                "timestamp": "1781522132903"
            },
            {
                "side": "sell",
                "size": 12,
                "price": 65898.5,
                "trade_id": "47123560990",
                "timestamp": "1781522130294"
            },
            {
                "side": "buy",
                "size": 14,
                "price": 65894.8,
                "trade_id": "47123560386",
                "timestamp": "1781522129069"
            },
            {
                "side": "sell",
                "size": 19.4,
                "price": 65894.7,
                "trade_id": "47123558750",
                "timestamp": "1781522122244"
            },
            {
                "side": "sell",
                "size": 0.7,
                "price": 65894.7,
                "trade_id": "47123558548",
                "timestamp": "1781522121545"
            },
            {
                "side": "sell",
                "size": 12,
                "price": 65894.8,
                "trade_id": "47123558546",
                "timestamp": "1781522121522"
            },
            {
                "side": "sell",
                "size": 0.9,
                "price": 65899.9,
                "trade_id": "47123557786",
                "timestamp": "1781522120445"
            },
            {
                "side": "sell",
                "size": 13,
                "price": 65917.2,
                "trade_id": "47123555817",
                "timestamp": "1781522119179"
            },
            {
                "side": "buy",
                "size": 1.3,
                "price": 65920.2,
                "trade_id": "47123554416",
                "timestamp": "1781522115456"
            },
            {
                "side": "buy",
                "size": 14,
                "price": 65922.3,
                "trade_id": "47123551875",
                "timestamp": "1781522112353"
            },
            {
                "side": "sell",
                "size": 1,
                "price": 65915.6,
                "trade_id": "47123550316",
                "timestamp": "1781522107886"
            },
            {
                "side": "buy",
                "size": 9,
                "price": 65909.9,
                "trade_id": "47123548640",
                "timestamp": "1781522102447"
        
…