Skip to main content

1. Get your API key

Sign up and create an API key at tronrental.com/dashboard/api.

2. Check prices

curl https://api.tronrental.com/v1/prices
{
  "energy_trx": { "1h": "1.79", "1d": "..." },
  "energy_sun": { "1h": "27.54", "1d": "..." },
  "energy_volume": 65000,
  "bandwidth_trx": { "1h": "1.54", "1d": "..." },
  "bandwidth_volume": 350,
  "trx_usd_rate": "0.234",
  "burn_cost_trx": "6.5",
  "savings_percent": "72.5"
}

3. Deposit TRX

Check your deposit address:
curl https://api.tronrental.com/v1/account/deposit \
  -H "X-API-Key: your_api_key"
Send TRX or USDT to the returned deposit_address. Deposits are credited automatically.

4. Buy energy

curl -X POST https://api.tronrental.com/v1/energy/buy \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "address": "TRecipientAddress...",
    "energy_amount": 65000,
    "duration_hours": 1
  }'
{
  "order_id": 1234,
  "address": "TRecipientAddress...",
  "energy_amount": 65000,
  "duration_hours": 1,
  "price_trx": "2.75",
  "status": "pending"
}
The energy will be delegated to the target address within seconds.

5. Verify

Check your order status:
curl https://api.tronrental.com/v1/orders \
  -H "X-API-Key: your_api_key"
65,000 energy is enough for one USDT transfer to an address that already holds USDT. For first-time USDT recipients, use 131,000 energy.

Code examples

import requests

API_KEY = "your_api_key"
BASE = "https://api.tronrental.com/v1"
headers = {"X-API-Key": API_KEY}

# Buy energy
resp = requests.post(f"{BASE}/energy/buy", headers=headers, json={
    "address": "TRecipientAddress...",
    "energy_amount": 65000,
    "duration_hours": 1,
})
print(resp.json())