v1
latestOpenAPI 3.0.12026-07-26171200932.8 KBGet Order Information and Position Details for Demo Account
Deprecated: This endpoint is no longer present in the current eToro Public API Swagger. Prefer the current replacement endpoints where available.
Retrieves comprehensive information about a specific order for opening a position, including the order status, execution details, and all positions that were opened from this order. This endpoint is essential for tracking order execution and identifying which positions were created as a result of a specific order request. The response includes detailed position information with PositionID values that can be used to query position-specific details.
Path parameters
The unique identifier of the order for opening a position. This is the OrderID that was returned when the order was initially created.
Headers
A unique request identifier.
API key for authentication.
User-specific authentication key.
Response
Successfully retrieved order information and associated position details.
Example response
{
"token": "550e8400-e29b-41d4-a716-446655440000",
"orderID": 123456789,
"CID": 987654321,
"referenceID": "00000000-0000-0000-0000-000000000000",
"statusID": 1,
"orderType": 1,
"openActionType": 1,
"instrumentID": 67890,
"amount": 1000,
"units": 10.5,
"requestOccurred": "2024-01-15T10:30:00Z",
"positions": [
{
"positionID": 9876543210,
"orderType": 1,
"occurred": "2024-01-15T10:30:15Z",
"rate": 1.2345,
"units": 10.5,
"conversionRate": 1,
"amount": 1000,
"isOpen": true
}
]
}