Skip to content
GET /v1/trades

Recent fills for a market

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/dydx-api

It works. Grab an API key and use it in your project.

Get an API key

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

Example response

A real response from this endpoint, captured by the latest 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
…