Skip to main content
GET
/
v1
/
trades
curl
curl "https://api.testnet.arcus.xyz/v1/trades?market=BTC-USD&limit=20"
{
  "trades": [
    {
      "marketId": 32767,
      "marketDisplayName": "<string>",
      "price": "<string>",
      "size": "<string>",
      "tradeId": "<string>",
      "timestamp": 123,
      "takerOrderId": "<string>",
      "takerAddress": "<string>",
      "makerOrderId": "<string>",
      "makerAddress": "<string>",
      "sequenceNumber": 123
    }
  ]
}

Query Parameters

market
string
required

Market identifier, e.g. "BTC-USD".

Example:

"BTC-USD"

limit
integer
default:1000

Maximum number of trades to return. Default and maximum are both 1000; requests with a value above the maximum are silently clamped. Pass an explicit smaller value when you want fewer rows.

Required range: 1 <= x <= 1000
from
integer<int64>

Start timestamp filter (epoch ms, inclusive).

Required range: x >= 0
to
integer<int64>

End timestamp filter (epoch ms, inclusive).

Required range: x >= 0

Response

List of trades, newest-first.

trades
object[]
required