Automate energy delegation with our REST API. Simple auth, predictable responses.
Bearer token in Authorization header.
Authorization: Bearer tf_live_xxxxxxxxxxxxxxxxxx
Base URL:
https://api.tronify.info/v2
Sandbox: https://sandbox.tronify.info/v2 with tf_test_ keys.
{
"error": "invalid_address",
"message": "The target is not a valid TRON address",
"req": "fr_8d2a1b"
}| Code | Meaning |
|---|---|
| 400 | Bad request / validation |
| 401 | Auth failed |
| 404 | Resource not found |
| 429 | Rate limit exceeded |
| 500 | Internal server error |
| Tier | Requests/min |
|---|---|
| Standard | 60 |
| Enterprise | 500 |
GET/quote
| Param | Type | Req |
|---|---|---|
transactions | int (1–100) | Yes |
hours | int (1–96) | Yes |
{
"energy": 1303000,
"transactions": 20,
"hours": 1,
"price_trx": 30.00,
"price_usd": 7.20,
"ttl": 300
}POST/orders
| Field | Type | Req |
|---|---|---|
target | string (TRON addr) | Yes |
transactions | int | Yes |
hours | int | Yes |
ref | string (idempotency) | No |
{
"id": "fee_9c3d7a",
"status": "awaiting_payment",
"price_trx": 30.00,
"pay_address": "TQmVf...",
"expires_at": "2025-08-12T10:30:00Z"
}GET/orders/{id}
{
"id": "fee_9c3d7a",
"status": "delegated",
"energy": 1303000,
"target": "TJxK7...",
"started_at": "2025-08-12T10:01:05Z",
"ends_at": "2025-08-12T11:01:05Z"
}| Status | Meaning |
|---|---|
awaiting_payment | Waiting for TRX |
confirming | Payment seen |
delegated | Energy active |
completed | Period ended |
failed | Error, refunded |
GET/account
{
"balance_trx": 180.50,
"active_delegations": 3,
"lifetime_orders": 847
}POST to your URL. Signed with HMAC-SHA256 in X-Tronify-Sig.
{
"event": "delegation.active",
"order_id": "fee_9c3d7a",
"ts": "2025-08-12T10:01:05Z"
}Events: delegation.active, delegation.completed, delegation.failed.