Skip to main content

For developers

Build on the same routing engine that prices every TRONAgg surface. However you integrate, you get the live cheapest energy across the whole provider market, automatic fail-over, and refunds on unfillable orders.

The REST API

The TRONAgg API gives you programmatic access to the whole market over four endpoints:

EndpointMethodWhat it does
/accountGETBalance, deposit address, and wallet
/estimateGETA live price quote before you buy
/buyPOSTBuy energy for a receiver address
/order/{id}GETTrack order status and the delegation transaction

Authenticate with an API key in the X-API-Key header against https://tronagg.ai/api/v1. Start with the Quickstart, grab copy-paste code examples for Python and JavaScript, or read the authentication guide.

Prefer not to poll? Configure a webhook and TRONAgg pushes you a signed order.status_changed event the moment an order completes or fails.

Other surfaces

  • Energy-Free Node — a drop-in TRON node URL. Point your client or backend at it and every TRC20 transfer is supplied with energy in the background, with no changes to your signing flow. Ideal when you'd rather not touch your send logic at all.
  • Workspace — place and track orders by hand.
  • Telegram bot — buy and track from chat.

→ Jump into the API reference, or read How TRONAgg Works.