Axes Docs

Get Trades

List trades for the authenticated account

GET
/data/trades

Query Parameters

id?string

Filter by trade identifier.

taker?string

Return trades where the taker address matches this value.

maker?string

Return trades where the counterparty maker address matches this value.

market?string

Filter by condition (market) identifier.

before?string

Unix timestamp; include trades strictly before this instant.

after?string

Unix timestamp; include trades strictly after this instant.

next_cursor?string

Base64-encoded offset for pagination. Use MA== to start; LTE= means no more pages.

Response Body

application/json

application/json

curl -X GET "https://clob.axes.co/data/trades"
{
  "data": [
    {
      "id": "string",
      "taker_order_id": "string",
      "market": "string",
      "asset_id": "string",
      "side": "string",
      "size": "string",
      "fee_rate_bps": "string",
      "price": "string",
      "status": "string",
      "match_time": "2019-08-24T14:15:22Z",
      "last_update": "2019-08-24T14:15:22Z",
      "outcome": "string",
      "maker_address": "string",
      "owner": "string",
      "transaction_hash": "string",
      "bucket_index": 0,
      "maker_orders": [
        {
          "order_id": "string",
          "maker_address": "string",
          "owner": "string",
          "matched_amount": "string",
          "fee_rate_bps": "string",
          "price": "string",
          "asset_id": "string",
          "outcome": "string",
          "side": "string"
        }
      ],
      "type": "TAKER"
    }
  ],
  "next_cursor": "string",
  "limit": 0,
  "count": 0
}
{
  "error": "string"
}