Skip to main content
POST
/
api
/
v1
/
bandwidth
/
buy
Buy Bandwidth
curl --request POST \
  --url https://api.example.com/api/v1/bandwidth/buy \
  --header 'Content-Type: application/json' \
  --data '
{
  "address": "<string>",
  "bandwidth_amount": 123,
  "duration_hours": 123
}
'

Buy Bandwidth

Delegates bandwidth to the specified TRON address.

Request body

address
string
required
Target TRON address
bandwidth_amount
number
required
Amount of bandwidth (min 350, max 100,000)
duration_hours
number
required
Rental duration in hours

Response

Returns an order object with order_id, status, and price_trx.

Pricing

Bandwidth price: (volume / 1000) × 9.6 / 24 + 0.2 TRX The fixed fee of 0.2 TRX applies to all bandwidth orders.

Example

curl -X POST https://api.tronrental.com/v1/bandwidth/buy \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "address": "TTargetAddress...",
    "bandwidth_amount": 1000,
    "duration_hours": 24
  }'
Response
{
  "order_id": 5678,
  "address": "TTargetAddress...",
  "bandwidth_amount": 1000,
  "duration_hours": 24,
  "price_trx": "9.80",
  "status": "pending"
}