Leveraged forex
Get a position
One position as it stands right now.
curl --request GET \
--url "https://reirex.com/api/v1/margin/positions/LP-7K2M4QX3P9" \
--header "GX-API-KEY: $GX_API_KEY" \
--header "GX-API-TIMESTAMP: $TIMESTAMP" \
--header "GX-API-SIGN: $SIGNATURE"200 OKapplication/json
{
"reference": "LP-7K2M4QX3P9",
"symbol": "EURUSD",
"side": "long",
"units": "10000.00",
"leverage": 20,
"entryPrice": "1.17447",
"margin": "500.00",
"stopLoss": "1.16500",
"takeProfit": "1.18500",
"status": "open",
"closePrice": null,
"pnl": null,
"result": null,
"financing": "0.00",
"fees": "10.00",
"closeReason": null,
"openedAt": "2026-10-14T16:14:15.412Z",
"closedAt": null,
"live": {
"price": "1.17441",
"pnl": "-0.51",
"marginLevel": "0.9990",
"liquidationPrice": "1.14530",
"notional": "10000.00",
"financingPerNight": "0.83"
},
"currency": "EUR"
}Path parameters
referencestringrequiredThe position's reference, such as
LP-7K2M4QX3P9.
Response
referencestringThe position's reference, such as
LP-7K2M4QX3P9.symbolstringThe currency pair.
sidestringlongorshort.unitsstringIts size, in the pair's first currency.
leverageintegerThe leverage it was opened with.
entryPricestringThe price it opened at.
marginstringThe euro held for it.
stopLossstring | nullIts stop-loss, if one is set.
takeProfitstring | nullIts take-profit, if one is set.
statusstringopen,closed, orliquidatedwhen it was closed out.closePricestring | nullThe price it closed at;
nullwhile open.pnlstring | nullIts result less financing, in euro;
nullwhile open.resultstring | nullIts price result alone, in euro;
nullwhile open.financingstringThe overnight financing it has paid, in euro.
feesstringThe fees it has paid, in euro.
closeReasonstring | nullWhy it closed:
owner,stop_loss,take_profit,liquidationorstaff;nullwhile open.openedAtstringWhen it opened.
closedAtstring | nullWhen it closed;
nullwhile open.liveobject | nullWhere an open position stands now;
nullonce it has ended.currencystringThe currency of the euro figures: always
EUR.

