---
title: "List channel-submitted orders"
method: GET
path: "/api/v1/orders"
tags: ["Trading Orders"]
---

# List channel-submitted orders

`GET /api/v1/orders`

## Request

- Base URL: `https://rwa-api.anchored.finance/rwa/trading`
- URL: `https://rwa-api.anchored.finance/rwa/trading/api/v1/orders`
- Auth: one of:
  - API key in header `x-api-key`
  - API key in header `x-api-nonce`
  - API key in header `x-api-ts`
  - API key in header `x-api-sign`
  - API key in header `x-api-chain-id`
  - API key in header `x-api-p`
- TypeScript: <https://skmtc.dev/synfutures/apis/anchored-trading-partner-api/docs/api/v1/orders/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `page` integer
- `limit` integer

## Response `200`

OK

- BaseResponseTableDataTradingOrderDetailRespDto: Base Response
  - `code` integer: if not 200, it means error
  - `errMsg` string: if code not 200,this is error message
  - `data` TableDataTradingOrderDetailRespDto
    - `total` integer: total number of records
    - `rows` TradingOrderDetailRespDto[]: list of records
      - `status` 'Init' | 'Pending' | 'New' | 'Partial filled' | 'Filled' | 'Canceled' | 'Expired' | 'Rejected' | 'Failed': Broker order mapped status
      - `deferred` boolean: Whether this is a deferred-sell (sell-before-holding, debt-creating) order
      - `brokerFailedReason` string: Broker order failed reason
      - `mapping` TradingChannelOrderTx
        - `id` integer
        - `chainId` 1 | 143 | 8453 | 42161 | 4663 | 56 | 11155111 | 10143 | 84532 | 421614 | 46630
        - `productType` 'FUND' | 'Common' | 'MondayTrade' | 'Anchored' | 'Synfutures'
        - `operationType` 'trade' | 'deposit' | 'withdraw' | 'stock_deposit' | 'stock_withdraw' | 'deferred_sell' | 'deferred_repay'
        - `orderId` string
        - `txHash` string
        - `status` 'init' | 'pending' | 'failed' | 'new' | 'partially_filled' | 'filled' | 'done_for_day' | 'canceled' | 'expired' | 'replaced' | 'pending_cancel' | 'pending_replace' | 'accepted' | 'pending_new' | 'accepted_for_bidding' | 'stopped' | 'rejected' | 'suspended' | 'calculated'
        - `createAt` string, date-time
        - `updateAt` string, date-time
      - `openOrder` AccountOpenOrderRespDto
        - `id` string: id
        - `chainId` 1 | 143 | 8453 | 42161 | 4663 | 56 | 11155111 | 10143 | 84532 | 421614 | 46630: chainId
        - `productType` 'FUND' | 'Common' | 'MondayTrade' | 'Anchored' | 'Synfutures': product type
        - `orderId` string: on chain order id
        - `userAddress` string: user address
        - `side` 'Buy' | 'Sell'
        - `type` 'Limit' | 'Market'
        - `tif` 'DAY' | 'GTC' | 'OPG' | 'IOC' | 'FOK' | 'GTX' | 'GTD' | 'CLS'
        - `symbol` string
        - `notional` string: notional
        - `quantity` string: quantity
        - `pay` string: pay
        - `price` string: price
        - `placeTxHash` string: transaction hash
        - `placeTxTime` integer: transaction time
        - `cancelTxHash` string: transaction hash
        - `cancelTxTime` integer: transaction time
        - `status` 'placing' | 'canceling': status
      - `historyOrder` AccountHisOrderRespDto
        - `id` string: id
        - `chainId` 1 | 143 | 8453 | 42161 | 4663 | 56 | 11155111 | 10143 | 84532 | 421614 | 46630: chainId
        - `productType` 'FUND' | 'Common' | 'MondayTrade' | 'Anchored' | 'Synfutures': product type
        - `orderId` string: on chain order id
        - `userAddress` string: user address
        - `side` 'Buy' | 'Sell'
        - `type` 'Limit' | 'Market'
        - `tif` 'DAY' | 'GTC' | 'OPG' | 'IOC' | 'FOK' | 'GTX' | 'GTD' | 'CLS'
        - `symbol` string
        - `notional` string: notional
        - `quantity` string: quantity
        - `pay` string: pay
        - `price` string: price
        - `placeTxHash` string: transaction hash
        - `placeTxTime` integer: transaction time
        - `cancelTxHash` string: transaction hash
        - `cancelTxTime` integer: transaction time
        - `settleTxHash` string: transaction hash
        - `settleTxTime` integer: transaction time
        - `settlePay` string: settle pay
        - `settleReceive` string: settle receive
        - `settlePrice` string: settle price
        - `mintFee` string: mint fee
        - `protocolFee` string: protocol fee
        - `status` 'Init' | 'Pending' | 'New' | 'Partial filled' | 'Filled' | 'Canceled' | 'Expired' | 'Rejected' | 'Failed': status
  - `uuid` string: every request has a uuid
  - `t` integer: server time

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/synfutures/apis/anchored-trading-partner-api.md) - [All operations](https://skmtc.dev/synfutures/apis/anchored-trading-partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/synfutures/apis/anchored-trading-partner-api/revisions/8df20ab57300?raw)
