Get trade Run in API Explorer
Ask AI
Returns a single trade belonging to the authenticated API key owner.
Headers
-
Public API key issued from the Lumetrade API key management flow.
-
API secret paired with the public API key.
GET
/api/v1/trades/{transactionId}
curl \
--request GET 'https://api.staging.lumetrade.com/api/v1/trades/TID4J7K2N' \
--header "X-API-KEY: string" \
--header "X-API-SECRET: string"
Response examples (200)
{
"fromCurrency": "USDT",
"toCurrency": "ZAR",
"fromAmount": 100,
"toAmount": 1840,
"rate": 18.4,
"isRateInverted": false,
"isRfq": true,
"status": "COMPLETED",
"transactionId": "trd_4J7K2N",
"createdAt": "2026-05-11T10:15:30Z",
"completedAt": "2026-05-11T10:15:35",
"fills": [
{
"fromCurrency": "USDT",
"fromCurrencyAmount": 100,
"toCurrency": "ZAR",
"toCurrencyAmount": 1840,
"status": "COMPLETED",
"transactionId": "fil_2N8K4Q",
"modifiedAt": "2026-05-11T10:15:35Z",
"createdAt": "2026-05-11T10:15:30Z"
}
]
}
Response examples (404)
{
"httpStatus": 404,
"errors": [],
"timestamp": "2026-01-01T00:00:00Z",
"code": 404,
"message": "Resource was not found for the authenticated API key owner",
"requestId": "req_01HY0000000000000000000000"
}
Response examples (403)
{
"httpStatus": 403,
"errors": [],
"timestamp": "2026-01-01T00:00:00Z",
"code": 403,
"message": "Authenticated API key is not allowed to perform this action",
"requestId": "req_01HY0000000000000000000000"
}
Response examples (429)
{
"error": "rate_limit_exceeded",
"message": "API rate limit exceeded"
}
Response examples (401)
{
"httpStatus": 401,
"errors": [],
"timestamp": "2026-01-01T00:00:00Z",
"code": 401,
"message": "API key authentication failed",
"requestId": "req_01HY0000000000000000000000"
}
Response examples (400)
{
"httpStatus": 400,
"errors": [],
"timestamp": "2026-01-01T00:00:00Z",
"code": 400,
"message": "Request validation failed",
"requestId": "req_01HY0000000000000000000000"
}
Response examples (500)
{
"httpStatus": 500,
"errors": [],
"timestamp": "2026-01-01T00:00:00Z",
"code": 500,
"message": "Unexpected server error",
"requestId": "req_01HY0000000000000000000000"
}