API Documentation
Full REST API with Bearer token authentication, webhooks, and WebSocket real-time updates.
Base URL
All API requests should be made to this base URL. HTTPS is required.
https://api.tronrental.com/v1
Authentication
Use Bearer token in the Authorization header. Obtain a token via login or use an API key directly.
Authorization: Bearer YOUR_TOKEN_OR_API_KEY
Quick Example
Get current energy prices (no authentication required):
curl https://api.tronrental.com/v1/energy/prices
Endpoints
POST/v1/auth/register
POST/v1/auth/login
POST/v1/auth/api-keys
GET/v1/account/balance
GET/v1/energy/prices
POST/v1/energy/estimate
POST/v1/energy/buy
POST/v1/bandwidth/buy
GET/v1/orders
GET/v1/orders/:id
GET/v1/account/deposit
GET/v1/account/deposits
GET/v1/account/2fa/status
PATCH/v1/account/alerts
Get Your API Key
Create an account and generate an API key in your dashboard to start making authenticated requests.
Go to Dashboard