---
title: "Place easy buy/sell order"
method: POST
path: "/easybuy"
tags: ["Trading"]
---

# Place easy buy/sell order

`POST /easybuy`

Executes an easy buy or sell against the live orderbook.

Requires the **trade** permission on the API key.

**Buy** - set `side` to `buy` and provide `amount` as the quote currency
to spend (e.g. ZAR or USDT). The coin quantity is derived automatically.

**Sell** - set `side` to `sell` and provide `amount` as the coin quantity
to sell. The quote proceeds are calculated automatically.

`client_order_id` acts as an idempotency key: submitting the same value
twice returns the original result without placing a second order.

## Request body

- EasyBuyRequest
  - `side` 'buy' | 'sell', required
  - `ticker` string, required — Coin symbol.
  - `amount` string, required — For buy orders: the quote currency amount to spend. For sell orders: the coin quantity to sell.
  - `client_order_id` string — Optional idempotency key.

## Response `200`

Easy buy/sell order filled successfully.

- EasyBuyResult
  - `ok` boolean, required
  - `result` object, required
    - `status` string, required
    - `filled_qty` string, required
    - `filled_quote_qty` string, required
    - `avg_price` string, required
    - `fee_pct` string, required
    - `fee_amount` string, required
    - `net_amount` string, required

## Other responses

- `400` — Missing or invalid request fields.
- `401` — Missing or invalid authentication headers.
- `403` — API key does not have the trade permission.
- `422` — Order rejected by the easy buy/sell service (e.g. insufficient balance).
- `429` — Rate limit exceeded.
- `503` — Easy buy/sell service not available.

---

[API](https://skmtc.dev/altcointrader/apis/altcointrader-api.md) · [All operations](https://skmtc.dev/altcointrader/apis/altcointrader-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/altcointrader/altcointrader-api/revisions/fcbbd5bcd699/schema)
