Skip to main content
GET
/
api
/
v1
/
prices
Get Prices
curl --request GET \
  --url https://api.example.com/api/v1/prices
{
  "energy_trx": {},
  "energy_sun": {},
  "energy_usd": {},
  "energy_volume": 123,
  "bandwidth_trx": {},
  "bandwidth_sun": {},
  "bandwidth_usd": {},
  "bandwidth_volume": 123,
  "trx_usd_rate": "<string>",
  "burn_cost_trx": "<string>",
  "burn_cost_usd": "<string>",
  "savings_percent": "<string>"
}

Get Prices

Returns current market prices for energy and bandwidth. This endpoint is public — no authentication required.

Response

energy_trx
object
Energy price in TRX for 65,000 units, keyed by duration (1h)
energy_sun
object
Energy price in SUN per 1 unit, keyed by duration (1h)
energy_usd
object
Energy price in USD for 65,000 units, keyed by duration (1h)
energy_volume
number
Volume used for energy price calculation (65,000)
bandwidth_trx
object
Bandwidth price in TRX for 350 units, keyed by duration (1h)
bandwidth_sun
object
Bandwidth price in SUN per 1 unit, keyed by duration (1h)
bandwidth_usd
object
Bandwidth price in USD for 350 units, keyed by duration (1h)
bandwidth_volume
number
Volume used for bandwidth price calculation (350)
trx_usd_rate
string
Current TRX/USD exchange rate
burn_cost_trx
string
Cost of burning TRX for 65,000 energy (without rental)
burn_cost_usd
string
Same burn cost in USD
savings_percent
string
Percentage saved by renting vs burning

Example

curl https://api.tronrental.com/v1/prices
Response values below are examples. Actual prices update in real-time based on market conditions.
Response
{
  "energy_trx": {"1h": "2.32"},
  "energy_sun": {"1h": "35.68"},
  "energy_usd": {"1h": "0.69"},
  "energy_volume": 65000,
  "bandwidth_trx": {"1h": "0.14"},
  "bandwidth_sun": {"1h": "400.00"},
  "bandwidth_usd": {"1h": "0.04"},
  "bandwidth_volume": 350,
  "trx_usd_rate": "0.297",
  "burn_cost_trx": "6.5",
  "burn_cost_usd": "1.93",
  "savings_percent": "64.3",
  "note": "Energy price is for 65,000 units in TRX"
}