Skip to main content
GET
/
api
/
v1
/
order
/
realtime
Get Open & Closed Orders
curl --request GET \
  --url https://api.ekiden.fi/api/v1/order/realtime \
  --header 'Authorization: Bearer <token>'
{
  "list": [
    {
      "avg_price": "<string>",
      "close_on_trigger": true,
      "created_time": "1672531200000",
      "cum_exec_fee": "<string>",
      "cum_exec_qty": "<string>",
      "cum_exec_value": "<string>",
      "last_price_on_created": "<string>",
      "leaves_qty": "<string>",
      "leaves_value": "<string>",
      "margin_mode": "Cross",
      "order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "order_status": "New",
      "order_type": "Limit",
      "post_only": true,
      "price": "<string>",
      "qty": "<string>",
      "reduce_only": true,
      "side": "Sell",
      "sub_account_address": "<string>",
      "symbol": "BTCUSDC",
      "time_in_force": "GTC",
      "updated_time": "1672531200000",
      "cancel_type": "<unknown>",
      "closed_pnl": "<string>",
      "create_type": "<unknown>",
      "expire_time": "1672531200000",
      "order_link_id": "<unknown>",
      "reject_reason": "<unknown>",
      "stop_order_type": "<unknown>",
      "tpsl": "<unknown>",
      "trigger": "<unknown>"
    }
  ],
  "next_page_cursor": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

sub_account_address
string
required
symbol
null | string

Symbol name

Example:

"BTCUSDC"

order_id
null | string<uuid>

Order ID

order_link_id
null | string

User customised order ID

open_only
boolean
  • true (default): query open status orders (New or PartiallyFilled).
  • false: query a maximum of recent 500 closed status orders (Cancelled, Rejected, Filled).
order_filter
null | any
limit
integer<int32> | null
Required range: x >= 0
cursor
string | null

Response

200 - application/json

Orders

Response for order list and order history requests.

list
object[]
required
next_page_cursor
string
required