Get Started in 3 Steps
1
Register account & get API key
2
Read documentation & test endpoints
3
Integrate & start saving
Getting Started
Our RESTful API allows you to programmatically rent energy, check balances, and monitor transactions. Perfect for automated systems and high-volume operations.
Base URL: https://api.tronify.rent/v1
Protocol: HTTPS only (TLS 1.2+)
Response Format: JSON
Authentication
All API requests require authentication using API keys. You can generate API keys from your dashboard after registration.
Include your API key in the Authorization header of every request:
Authorization: Bearer YOUR_API_KEYContent-Type: application/json
đ API Key Security
Important: Keep your API keys secure. Never share them publicly or commit them to version control. API keys provide full access to your account. Regenerate immediately if compromised.
Rate Limits
To ensure fair usage and system stability, we implement rate limits based on your account tier:
Rate limit information is included in response headers:
X-RateLimit-Limit: 100X-RateLimit-Remaining: 95
X-RateLimit-Reset: 1638360000
API Endpoints
Rent energy for a specific TRON address. Energy will be delegated within 10 seconds.
Check your account balance and available credits.
Retrieve transaction history with optional filtering by date range and status.
Check energy delegation status for a specific address.
Get current energy pricing and available packages.
Example Request
Here's a complete example of renting energy using cURL:
curl -X POST https://api.tronify.rent/v1/energy/rent \-H âAuthorization: Bearer YOUR_API_KEYâ
-H âContent-Type: application/jsonâ
-d â{
âaddressâ: âTYourTronAddressHereâ,
âamountâ: 100000,
âdurationâ: â1hâ
}â
Example Response:
{âsuccessâ: true,
âtransaction_idâ: âtxn_abc123xyzâ,
âenergy_amountâ: 100000,
âaddressâ: âTYourTronAddressHereâ,
âstatusâ: âdelegatedâ,
âexpires_atâ: â2024-12-10T15:30:00Zâ
}
API Features
âĄ
Fast Response
Average API response time under 200ms. Energy delegation completed in under 10 seconds.
đ
Secure
TLS 1.2+ encryption, API key authentication, and IP whitelisting available.
đ
Analytics
Real-time usage tracking, cost analysis, and detailed transaction history.
đ
Webhooks
Receive real-time notifications for delegation events and balance alerts.
đ
Documentation
Comprehensive docs with code examples in multiple languages.
đ
Global CDN
Low latency worldwide with distributed API endpoints.
Webhooks
Set up webhooks to receive real-time notifications about events in your account:
- energy.delegated - Energy successfully delegated to address
- balance.low - Account balance below threshold
- transaction.completed - Transaction processing completed
- transaction.failed - Transaction failed (with error details)
- api.error - API errors and warnings
Webhook endpoints must respond with HTTP 200 within 5 seconds. Failed deliveries will be retried up to 3 times with exponential backoff.
Error Handling
The API uses standard HTTP status codes:
- 200 OK - Request successful
- 400 Bad Request - Invalid request parameters
- 401 Unauthorized - Invalid or missing API key
- 403 Forbidden - Insufficient permissions
- 429 Too Many Requests - Rate limit exceeded
- 500 Internal Server Error - Server error (contact support)
Error Response Format:
{âsuccessâ: false,
âerrorâ: {
âcodeâ: âinvalid_addressâ,
âmessageâ: âInvalid TRON address formatâ,
âdetailsâ: âAddress must start with âTâ and be 34 charactersâ
}
}
â ď¸ Important API Usage Disclaimer
Service Availability: While we maintain 99.9% uptime, the API is provided "as is" without guarantees. We reserve the right to modify, suspend, or discontinue the API with reasonable notice.
Rate Limits: Exceeding rate limits may result in temporary API key suspension. Contact our enterprise team for higher limits.
Data Usage: API usage data is collected for service improvement and billing purposes. See our Privacy Policy for details.
Compliance: You are responsible for ensuring your API usage complies with all applicable laws and regulations in your jurisdiction.
Need Help with Integration?
Our technical support team is available 24/7 to assist with API integration.
Technical Support
api@tronify.rent
Phone Support
+1 (407) 438-7621