v1

latestOpenAPI 3.0.02026-07-2471143147.5 KB
Orders

Get order history

Get order history

get/v1/orders

Query parameters

market_idstring int64

Filter results by a market_id.

accountstring

Required. Account address (hex).

start_timestring uint64

Filter by minimum created_at UNIX timestamp (nanoseconds).

end_timestring uint64

Filter by maximum created_at UNIX timestamp (nanoseconds).

statusesstring[]

Filter results by order status.

  • ORDER_STATUS_NONE: Order doesn't exist or invalid
  • ORDER_STATUS_OPEN: Order is active on the orderbook
  • ORDER_STATUS_FILLED: Order has been completely filled
  • ORDER_STATUS_CANCELLED: Order has been cancelled
pageinteger

Page number (1-based, default: 1).

limitinteger

Limit on number of results. Max limit is 1000.

sorted_bystring

Sort the results using the given field. Supported values: created_at (sort by created_at asc), -created_at (sort by created_at desc). Default: -created_at.

order_idsstring[]

Filter by composite order IDs (hex 0x...). Max 100. When provided, only matching orders are returned.

Response

A successful response.

pageinteger

Current page number.

has_next_pageboolean

Whether there are more pages available.