API Documentation

Integrate Tronify into your applications with our RESTful API

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:

Account Type
Requests/Minute
Requests/Hour
Standard
100
5,000
Business
500
25,000
Enterprise
Custom
Custom

Rate limit information is included in response headers:

X-RateLimit-Limit: 100X-RateLimit-Remaining: 95 X-RateLimit-Reset: 1638360000

API Endpoints

POST /v1/energy/rent

Rent energy for a specific TRON address. Energy will be delegated within 10 seconds.

GET /v1/balance

Check your account balance and available credits.

GET /v1/transactions

Retrieve transaction history with optional filtering by date range and status.

GET /v1/energy/status

Check energy delegation status for a specific address.

GET /v1/pricing

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
Response Time
< 24 hours
Contact Support