---
title: "Create a sell or buy order"
method: POST
path: "/users/{user_id}/orders"
---

# Create a sell or buy order

`POST /users/{user_id}/orders`

Create a sell or buy order for the authenticated user or a subaccount tethered to authenticated user.

## Path parameters

- `user_id` string, required

## Request body

- object
  - `market` 'btcngn' | 'usdtngn' | 'ethngn' | 'xautngn' | 'usdcngn' | 'trxngn' | 'dashngn' | 'ltcngn' | 'xrpngn' | 'solngn' | 'qdxngn' | 'btcusdt' | 'ethusdt' | 'xautusdt' | 'trxusdt' | 'usdcusdt' | 'bnbusdt' | 'dogeusdt' | 'usatusdt' | 'ltcusdt' | 'linkusdt' | 'polusdt' | 'xrpusdt' | 'dotusdt' | 'aaveusdt' | 'dashusdt' | 'shibusdt' | 'xlmusdt' | 'cakeusdt' | 'adausdt' | 'bchusdt' | 'slpusdt' | 'flokiusdt' | 'solusdt' | 'cfxusdt' | 'pepeusdt' | 'bonkusdt' | 'algousdt' | 'wifusdt' | 'tonusdt' | 'rndrusdt' | 'xyousdt' | 'hypeusdt' | 'fartcoinusdt' | 'cngnngn' | 'suiusdt' | 'usdtghs' | 'lskusdt' | 'axcnhusdt' | 'axcnhngn' | 'usdtcngn' | 'qdxusdt' | 'usdtxaf' | 'usdtxof' | 'usdtzar' | 'usdtkes' | 'axsusdt' | 'filusdt' | 'babydogeusdt' | 'oneusdt' | 'xtzusdt' | 'sushiusdt' | 'zilusdt' | 'manausdt' | 'sandusdt' | 'apeusdt' | 'enjusdt' | 'lrcusdt' | 'wldusdt' | 'memeusdt' | 'ordiusdt' | 'ensusdt' | 'arbusdt' | 'myrousdt' | 'magatrumpusdt' | 'jupusdt' | 'blurusdt' | 'coqusdt' | 'fetusdt' | 'aiusdt' | 'bobusdt' | 'bomeusdt' | 'stxusdt' | 'mogusdt' | 'injusdt' | 'mntusdt' | 'beamusdt' | 'mewusdt' | 'gnousdt' | 'wavesusdt' | 'trumpusdt' | 'pnutusdt' | 'ethghs' | 'etcusdt' | 'ethbtc' | 'ltcbtc' | 'bchbtc' | 'cngnusdt' | 'watsonusdt' | 'wlfiusdt' | 'usdtusd' | 'btcghs' | 'nochillusdt' | 'katausdt' | 'slerfusdt' | 'nosusdt' | 'nearusdt' | 'strkusdt' | 'zkusdt' | 'susdt' — Required. Market in which the order to be placed in. Allowed values: qdxusdt, btcusdt, btcngn, ethngn, qdxngn, xrpngn, dashngn, ltcngn, usdtngn, btcghs, usdtghs, trxngn, dogeusdt, bnbusdt, maticusdt, safemoonusdt, aaveusdt, shibusdt, dotusdt, linkusdt, cakeusdt, xlmusdt, xrpusdt, ltcusdt, ethusdt, trxusdt, axsusdt, wsgusdt, afenusdt, blsusdt, dashusdt.
  - `side` 'buy' | 'sell' — Required. Allowed values: buy, sell.
  - `ord_type` 'limit' | 'market' — Optional: Allowed values: limit and market, defaults to limit if left empty.
  - `price` string — Required if ord_type is limit. It should be left blank for market ord_type.
  - `volume` string — Required.

## Response `200`

200

- object
  - `status` string
  - `message` string
  - `data` object
    - `id` string
    - `reference` unknown
    - `market` object
      - `id` string
      - `base_unit` string
      - `quote_unit` string
    - `side` string
    - `price` object
      - `unit` string
      - `amount` string
    - `volume` object
      - `unit` string
      - `amount` string
    - `status` string
    - `user` object
      - `id` string
      - `sn` string
      - `email` string
      - `reference` unknown
      - `first_name` string
      - `last_name` string
      - `display_name` string
      - `created_at` string
      - `updated_at` string
    - `trades` object[]
    - `order_type` string
    - `avg_price` object
      - `unit` string
      - `amount` string
    - `origin_volume` object
      - `unit` string
      - `amount` string
    - `executed_volume` object
      - `unit` string
      - `amount` string
    - `trades_count` string
    - `created_at` string
    - `updated_at` string
    - `done_at` unknown

## Other responses

- `400` — 400

---

[API](https://skmtc.net/quidax/apis/api-3-0.md) · [All operations](https://skmtc.net/quidax/apis/api-3-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quidax/api-3-0/versions/75e2867b5dc0/schema)
