/v1/trades
Recent fills for a market
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/dydx-api/v1/trades" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dydx-api/v1/trades", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dydx-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/dydx-api/v1/trades",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"count": 20,
"source": "dYdX",
"ticker": "BTC-USD",
"trades": [
{
"side": "BUY",
"size": 0.3,
"time": "2026-06-10T22:57:52.892Z",
"type": "LIMIT",
"price": 61427
},
{
"side": "BUY",
"size": 0.0809,
"time": "2026-06-10T22:57:48.407Z",
"type": "LIMIT",
"price": 61421
},
{
"side": "BUY",
"size": 0.0622,
"time": "2026-06-10T22:57:47.906Z",
"type": "LIMIT",
"price": 61421
},
{
"side": "BUY",
"size": 0.0947,
"time": "2026-06-10T22:57:47.906Z",
"type": "LIMIT",
"price": 61421
},
{
"side": "BUY",
"size": 0.0622,
"time": "2026-06-10T22:57:47.393Z",
"type": "LIMIT",
"price": 61421
},
{
"side": "BUY",
"size": 0.0585,
"time": "2026-06-10T22:57:37.179Z",
"type": "LIMIT",
"price": 61403
},
{
"side": "BUY",
"size": 0.1148,
"time": "2026-06-10T22:57:37.179Z",
"type": "LIMIT",
"price": 61403
},
{
"side": "BUY",
"size": 0.0755,
"time": "2026-06-10T22:57:37.179Z",
"type": "LIMIT",
"price": 61403
},
{
"side": "BUY",
"size": 0.0512,
"time": "2026-06-10T22:57:36.048Z",
"type": "LIMIT",
"price": 61403
},
{
"side": "BUY",
"size": 0.025,
"time": "2026-06-10T22:57:16.616Z",
"type": "LIMIT",
"price": 61421
},
{
"side": "BUY",
"size": 0.3,
"time": "2026-06-10T22:57:16.616Z",
"type": "LIMIT",
"price": 61420
},
{
"side": "BUY",
"size": 0.0636,
"time": "2026-06-10T22:57:16.616Z",
"type": "LIMIT",
"price": 61407
},
{
"side": "BUY",
"size": 0.0318,
"time": "2026-06-10T22:57:16.616Z",
"type": "LIMIT",
"price": 61407
},
{
"side": "BUY",
"size": 0.0318,
"time": "2026-06-10T22:57:16.616Z",
"type": "LIMIT",
"price": 6140
…