Get an order
const url = 'https://trongas.ai/api/v1/orders/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {'X-Api-Key': '<X-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://trongas.ai/api/v1/orders/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'X-Api-Key: <X-Api-Key>'Fetch one of your orders by id. 404 if it does not exist or belongs to someone else.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”Resource id (UUID).
Responses
Section titled “ Responses ”OK
object
object
Examplegenerated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "resource": "example", "targetAddress": "example", "volume": 1, "duration": "example", "priceTrx": "example", "activationTrx": "example", "totalTrx": "example", "status": "example", "txId": "example", "createdAt": "2026-04-15T12:00:00Z"}object
Examplegenerated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "resource": "example", "targetAddress": "example", "volume": 1, "duration": "example", "priceTrx": "example", "activationTrx": "example", "totalTrx": "example", "status": "example", "txId": "example", "createdAt": "2026-04-15T12:00:00Z"}Not Found
object
Machine-readable error code, e.g. wallet.insufficient_balance. Branch on this, not on title. Always present: validation_failed for request validation (400, with per-field errors), unauthorized for 401, domain codes otherwise.
object
Machine-readable error code, e.g. wallet.insufficient_balance. Branch on this, not on title. Always present: validation_failed for request validation (400, with per-field errors), unauthorized for 401, domain codes otherwise.
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "code": "example"}object
Machine-readable error code, e.g. wallet.insufficient_balance. Branch on this, not on title. Always present: validation_failed for request validation (400, with per-field errors), unauthorized for 401, domain codes otherwise.
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "code": "example"}