Get close order information and closed position details
Rate limit: 60 requests per 60 seconds. This is a shared quota — the same budget is consumed by a group of related endpoints, so calling any of them reduces what is left for the others (you cannot call each at the full rate independently). Endpoints sharing this quota:
GET /api/v1/trading/info/real/orders/{orderId}GET /api/v2/trading/info/orders:lookup
Retrieves information about a close order, including its execution status and the positions that were closed as a result of the request. Use this to track the outcome of a position-closing order and identify which positions were affected.
Authorizations
API key of the application. Only valid together with the x-user-key header — the pair is an alternative to OAuth bearer authentication, never sent alongside it. The pair is granted the same permissions the operation's OAuth scopes describe.
Demo credential for trying the API from these docs: lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663
User-specific authentication key. Only valid together with the x-api-key header — the pair is an alternative to OAuth bearer authentication, never sent alongside it.
Demo credential for trying the API from these docs: eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_
Headers
A unique request identifier.
"46e56d40-0db6-4298-9094-5858bd517bc6"
Path Parameters
The unique identifier of the order.
Response
Close order information retrieved successfully.
Close-order information returned by Admin TAPI, including execution status and the positions affected by the close order.
Unique identifier of the close order.
Customer account identifier associated with the close order.
Current internal status identifier of the close order.
Internal order-type identifier.
Internal operation-type identifier.
Identifier of the asset currency.
Identifier of the account currency.
Identifier of the instrument associated with the close order.
UTC timestamp at which the close-order request occurred.
Total proceeds calculated across the positions affected by the close order.
External operation-type identifier; zero when no external operation is associated.
Correlation token assigned to the request.
External reference identifier associated with the close order, when available.
Internal close-action type, when available.
Error code produced while processing the close order, when applicable.
Error message produced while processing the close order, when applicable.
Data associated with the external operation, when available.
Positions affected by the close order.