Moonbase Docs

List all active orders

Get all of your active orders. In-memory lookup.

Returns orders that are currently active (open, pending, partially filled). Does not include completed, canceled, or rejected orders.

Requires authentication.

GET
/api/v1/orders/active
NOVA-KEY<token>

In: header

NOVA-SECRET<token>

In: header

Query Parameters

product_id?string

Filter results by a product id

client_order_id?string

Filter results by a client order id (case-insensitive)

Response Body

application/json

application/json

curl -X GET "https://api.moonbase.vn/api/v1/orders/active"
{
  "orders": [
    {
      "order_id": "string",
      "client_order_id": "string",
      "user_id": "string",
      "status": "SUBMITTED",
      "done_reason": "string",
      "product_id": "string",
      "side": "BUY",
      "type": "LIMIT",
      "time_in_force": "GTC",
      "post_only": "false",
      "stp": "CANCEL_TAKER",
      "limit_price": "string",
      "base_size": "string",
      "quote_size": "string",
      "exact_quote_size": "string",
      "average_fill_price": "string",
      "filled_base_size": "string",
      "filled_quote_size": "string",
      "maker_fee_rate": "string",
      "taker_fee_rate": "string",
      "fee_asset_id": "string",
      "created_at": "string",
      "updated_at": "string",
      "cancel_requested_at": "string",
      "expired_at": "string",
      "scheduled_at": "string",
      "trades": [
        {
          "id": "string",
          "price": "string",
          "size": "string",
          "liquidity_indicator": "MAKER",
          "time": "string",
          "fee_asset": "string",
          "fee_amount": "string"
        }
      ]
    }
  ]
}
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string",
      "property1": null,
      "property2": null
    }
  ]
}