Get trade .

GET
Endpoint
/trades/{trade_id}
Description

Return an individual trade.

Response
{
    "result": "success",
    "status": 200,
    "data": {
        "id": 1212071730,
        "created_at": "2025-04-24T15:38:22Z",
        "updated_at": "2025-04-25T14:36:32Z",
        "state": "open",
        "account_id": 1241451,
        "ticket": 411112094,
        "type": "buy",
        "symbol": "EURUSD",
        "lots": 0.01,
        "open_time": "2025-04-24T17:38:22Z",
        "open_price": 1.13553,
        "stop_loss": 0,
        "take_profit": 0,
        "close_time": null,
        "close_price": 1.13706,
        "commission": 0,
        "swap": -0.07,
        "profit": 1.53,
        "comment": "",
        "magic": 1212071728,
        "digits": 5,
        "tick_value": 1,
        "tick_size": 1.0e-5,
        "alt_tick_value": 1,
        "profit_calc_mode": "forex"
    }
}

Attributes

Key|Value|Description| |---|---| magic|single integer|The magic number corresponds to the master's trade_id for this copied trade. If this is the master it will be 0|

Stay in the loop.

Sign up to our newsletter to keep up-to-date.