Trading
Place an order
Buy or sell any instrument at your price or at the market. The answer comes back in milliseconds with the order's state.
curl --request POST \
--url "https://reirex.com/api/v1/orders" \
--header "GX-API-KEY: $GX_API_KEY" \
--header "GX-API-TIMESTAMP: $TIMESTAMP" \
--header "GX-API-SIGN: $SIGNATURE" \
--header "Content-Type: application/json" \
--data '{"pair":"BTC-EUR","side":"buy","type":"limit","amount":"0.05","price":"70000","clientOrderId":"my-order-0001"}'201 Createdapplication/json
{
"orderId": "01JA8K3Q7W2N5X4Y6Z8B0C1D2E",
"clientOrderId": "my-order-0001",
"pair": "BTC-EUR",
"side": "buy",
"type": "limit",
"price": "70000.00",
"amount": "0.05000000",
"filled": "0.00000000",
"averagePrice": null,
"status": "open",
"timeInForce": "gtc",
"fee": "0.00",
"feeCurrency": "EUR",
"createdAt": "2026-10-14T16:14:15.412Z",
"updatedAt": "2026-10-14T16:14:15.412Z"
}A limit order rests in the book until it fills, you cancel it or its time in force runs out. A market order fills at once against the best prices in the book. Every order is worth at least €10.
timeInForce | The order |
|---|---|
gtc | rests until it fills or you cancel it |
ioc | fills what it can at once; the rest is cancelled |
fok | fills completely at once, or not at all |
Fees are 0.10 % for takers and 0.08 % for makers, and fall as your tier rises. A postOnly order never takes liquidity, so it always pays the maker fee.
Bodyapplication/json
pairstringrequiredThe instrument and the currency you pay with, such as
BTC-EUR.sidestringrequiredbuyorsell.One of
buyselltypestringrequiredlimitrests at your price,marketfills at once.One of
limitmarketamountstringrequiredHow much of the instrument, as a decimal string.
pricestringYour price, as a decimal string. Required for
limitorders, left out formarketones.timeInForcestringDefault: gtcHow long the order stays in the book; see the table above.
One of
gtciocfokpostOnlybooleanDefault: falseIf
true, the order is cancelled rather than take liquidity.clientOrderIdstringYour own id, up to 36 characters. Retry with the same id and the order is never placed twice.
Response
orderIdstringOur id for the order.
clientOrderIdstring | nullYour id for it, if you gave one.
pairstringThe pair it trades.
sidestringbuyorsell.typestringlimitormarket.pricestring | nullThe limit price;
nullfor market orders.amountstringThe amount ordered.
filledstringHow much has filled so far.
averagePricestring | nullThe average price of what has filled;
nullbefore the first fill.statusstringopen,partially_filled,filled,cancelledorrejected.timeInForcestringgtc,iocorfok.feestringThe fees paid so far.
feeCurrencystringThe currency the fees are paid in.
createdAtstringWhen the order was placed.
updatedAtstringWhen it last changed.

