Skip to content
TRONSAVE

TRON Energy API for developers

Rent TRON energy and bandwidth from your own code to cut USDT (TRC-20) fees in your wallet, exchange, payment flow or bot. A JSON REST API, official SDKs in five languages, and an MCP server for AI agents.

What you can automate

  • Buy energy and bandwidth for any address, paid from a prefunded account (API key) or with a transaction you sign yourself.
  • Extend orders before a delegation expires, so a busy address never falls back to burning TRX.
  • Fast Charge: rent energy for many addresses in one flow and get unused energy refunded.
  • Activate addresses: check up to 100 addresses at once and activate new ones for 1.5 TRX each.
  • MCP server: let AI agents such as Claude or Cursor check prices and buy energy through the same API.

Make your first call

  1. Connect your wallet on the market page, open Account Info and copy your API key and deposit address.
  2. Deposit TRX to your deposit address (minimum 10 TRX).
  3. Estimate the cost, then create an order with your API key in the apikey header.
  4. Track the order until the energy is delegated, usually within seconds.
curl -X POST https://api.tronsave.io/v2/buy-resource \
  -H "apikey: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "receiver": "YOUR_TRON_RECEIVER_ADDRESS",
    "resourceType": "ENERGY",
    "resourceAmount": 65000,
    "durationSec": 900,
    "unitPrice": "MEDIUM"
  }'

Mainnet API: api.tronsave.io. Nile testnet API: api-dev.tronsave.io. Endpoint paths are the same on both.

Official SDKs

TypeScript / JavaScriptnpm install tronsave-sdk
Pythonpip install tronsave
Rustcargo add tronsave
PHPcomposer require tronsave/sdk
Javaio.tronsave:sdk (Maven / Gradle)

Documentation

Looking for the previous interface?Go to old version