Skip to main content
POST
/
api
/
v1
/
energy
/
buy
Buy Energy
curl --request POST \
  --url https://api.example.com/api/v1/energy/buy \
  --header 'Content-Type: application/json' \
  --data '
{
  "address": "<string>",
  "energy_amount": 123,
  "duration_hours": 123
}
'
{
  "order_id": 123,
  "address": "<string>",
  "energy_amount": 123,
  "duration_hours": 123,
  "price_trx": "<string>",
  "status": "<string>"
}

Buy Energy

Delegates energy to the specified TRON address. The cost is deducted from your account balance.

Request body

address
string
required
Target TRON address (T… format, 34 characters)
energy_amount
number
required
Amount of energy to delegate (min 32,000, max 5,000,000)
duration_hours
number
required
Rental duration in hours (1 or 24)

Response

order_id
number
Unique order identifier
address
string
Target address
energy_amount
number
Energy delegated
duration_hours
number
Rental duration
price_trx
string
Total cost in TRX
status
string
Order status: pending, filled, failed

Example

curl -X POST https://api.tronrental.com/v1/energy/buy \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "address": "TYourRecipientAddress1234567890abc",
    "energy_amount": 65000,
    "duration_hours": 1
  }'
Response
{
  "order_id": 12345,
  "address": "TYourRecipientAddress1234567890abc",
  "energy_amount": 65000,
  "duration_hours": 1,
  "price_trx": "2.75",
  "status": "pending"
}
65,000 energy covers one USDT transfer to an address that already holds USDT. Use 131,000 for first-time USDT recipients (new storage slot creation).