Skip to main content

Get Estimate

GET 

/estimate

Get a real-time price estimate for the best available provider. TronAgg compares prices across all integrated providers and returns the cheapest option for your requested energy amount and duration.

Parameters:

  • resource_amount — amount of energy to purchase (in energy units, not TRX)
  • resource_type — currently supports ENERGY (default)
  • duration — rental duration (e.g., 1h, 3h, 1d, 3d, 7d, 14d, 30d)

The response includes provider details, unit price in SUN, total cost, duration info, and the provider's min/max amount limits. Use this to preview costs before committing to a purchase.

Request

Responses

Successful Response