API Reference
Welcome to the TronZap API reference. This documentation provides details on all available endpoints, their expected request and response formats, and examples of how to interact with the API.
Base URL
All API endpoints are relative to the base URL:
https://api.tronzap.com
Available Endpoints
Services
- POST /v1/services - Get list of available services and their prices
User Account
- POST /v1/balance - Get current balance and account information
Estimate Energy Amount
- POST /v1/estimate-energy - Estimate the amount of energy needed to make a USDT transfer.
Energy Calculation
- POST /v1/calculate - Calculate the cost of energy purchase without creating a transaction
Transactions
- POST /v1/transaction/new - Create a new transaction for energy purchase or address activation
- POST /v1/transaction/check - Check the status of a transaction
Direct Recharge
- POST /v1/direct-recharge-info - Get information about direct energy recharge service
Additional Resources
- Authentication - Learn how to authenticate with the TronZap API
- Transaction Statuses - List of possible transaction statuses and their meanings
- Error Codes - Common error codes and their descriptions