curl --request POST \
--url https://api.easierprop.com/api/accounts/{id}/orders \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"symbol": "EURUSD",
"side": "buy",
"type": "market",
"volume": 0.01,
"price": 123,
"sl": 123,
"tp": 123,
"deviation": 123,
"comment": "<string>"
}
'{
"ok": true,
"data": {
"ticket": 12345678,
"symbol": "EURUSD",
"orderType": "Buy",
"lots": 0.01,
"openPrice": 1.08542,
"stopLoss": 0,
"takeProfit": 0,
"profit": 3.2,
"swap": 0,
"commission": -0.07,
"comment": "",
"openTime": "2026-04-01T12:00:00",
"closePrice": 0,
"closeTime": "",
"dealType": "Buy",
"digits": 5,
"contractSize": 100000,
"volume": 0.01,
"state": "Filled",
"fillPolicy": "FillOrKill",
"expirationType": "GTC",
"expertId": 0,
"dealInternalIn": 0,
"dealInternalOut": 0,
"orderInternal": 0,
"partialCloseDeals": [
{}
],
"partialFillDeals": [
{}
],
"placedType": "ByClient",
"profitRate": 1,
"requestId": 0,
"stopLimitPrice": 0,
"fee": 0,
"closeComment": "",
"closeLots": 0,
"closeVolume": 0,
"openTimestampUTC": 1711972800,
"closeTimestampUTC": 0,
"expirationTime": ""
}
}Send a new order to the broker. Supports market, limit, stop, and stop-limit orders.
Side + Type mapping:
buy + market = Buysell + market = Sellbuy + limit = BuyLimitsell + limit = SellLimitbuy + stop = BuyStopsell + stop = SellStopbuy + stop_limit = BuyStopLimitsell + stop_limit = SellStopLimitcurl --request POST \
--url https://api.easierprop.com/api/accounts/{id}/orders \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"symbol": "EURUSD",
"side": "buy",
"type": "market",
"volume": 0.01,
"price": 123,
"sl": 123,
"tp": 123,
"deviation": 123,
"comment": "<string>"
}
'{
"ok": true,
"data": {
"ticket": 12345678,
"symbol": "EURUSD",
"orderType": "Buy",
"lots": 0.01,
"openPrice": 1.08542,
"stopLoss": 0,
"takeProfit": 0,
"profit": 3.2,
"swap": 0,
"commission": -0.07,
"comment": "",
"openTime": "2026-04-01T12:00:00",
"closePrice": 0,
"closeTime": "",
"dealType": "Buy",
"digits": 5,
"contractSize": 100000,
"volume": 0.01,
"state": "Filled",
"fillPolicy": "FillOrKill",
"expirationType": "GTC",
"expertId": 0,
"dealInternalIn": 0,
"dealInternalOut": 0,
"orderInternal": 0,
"partialCloseDeals": [
{}
],
"partialFillDeals": [
{}
],
"placedType": "ByClient",
"profitRate": 1,
"requestId": 0,
"stopLimitPrice": 0,
"fee": 0,
"closeComment": "",
"closeLots": 0,
"closeVolume": 0,
"openTimestampUTC": 1711972800,
"closeTimestampUTC": 0,
"expirationTime": ""
}
}Client API key (prefixed with sk_)
Account ID
Trading instrument
"EURUSD"
buy, sell "buy"
market, limit, stop, stop_limit "market"
Lot size
0.01
Required for limit/stop orders
Stop loss price
Take profit price
Max slippage in points
Order comment visible in MT5