{"info":{"_postman_id":"2931fa09-dfa1-4f14-af50-68e8c36b02ca","name":"Tron Energy API by TronZap.com","description":"Postman collection for [Tron energy rental](https://tronzap.com/) service by TronZap.com.\n\nFor more details, please visit the official [Tron Energy API Documentation](https://docs.tronzap.com/).\n\n## Obtaining API Credentials\n\nTo get started with the TronZap API, you'll need to obtain your API credentials from the dashboard:\n\n1. Log in to your [TronZap Dashboard](https://dash.tronzap.com/api)\n \n2. Navigate to the **API section**\n \n3. Copy your **API Token** and **API Secret**\n \n\n\n\n# Tron Energy FAQ\n\n## Why do I need TRX energy? How can I reduce USDT transfer fees?\n\nEnergy significantly reduces fees for USDT transfers (TRC-20 on the TRON blockchain).\n\nWithout energy, a typical USDT transfer costs around **13.40 TRX**. With energy, this fee drops to approximately **3.70 TRX**.\n\n## How is the USDT transfer fee calculated on TRON?\n\nThe TRON network first uses available energy in your account. If you don’t have enough energy, TRX tokens from your balance will be burned instead.\n\n- A standard USDT (TRC-20) transfer requires **65,000 energy**.\n \n- If the recipient has never held USDT or has an inactive account, the transfer will require **131,000 energy**.\n \n\nWe recommend purchasing **131,000 energy** to guarantee your USDT transactions complete smoothly and avoid additional blockchain fees.\n\nYou can use the [Estimate Tron Energy](https://docs.tronzap.com/api/estimate-energy.html) method from our API to estimate the amount of energy required for a USDT transaction.\n\n## What is TronZap?\n\n**TronZap** is a reliable platform for [renting TRX energy](https://tronzap.com/) on the TRON blockchain, ensuring fast and secure transactions.\n\n## What should I do if my energy doesn’t appear after payment?\n\nReach out directly to our support via Telegram [@tronzap_support_bot](https://t.me/tronzap_support_bot)\n\nAlthough we use powerful servers and a global CDN, blockchain delays - though extremely rare (about 1 in a million) - can occasionally occur.\n\n## Can I track my payments through a dashboard?\n\nYes! TronZap provides a personalized dashboard where you can monitor your energy purchases and transaction history.\n\nSimply register [Tron Energy Account](https://tronzap.com/) to access all your data and manage your energy rentals conveniently from one place.\n\n## Do you have Tron Energy SDK?\n\n#### Tron Energy PHP SDK\n\n``` bash\ncomposer require tron-energy-market/tronzap-sdk-php\n\n ```\n\n_GitHub Repository:_ \n[https://github.com/tron-energy-market/tronzap-sdk-php](https://github.com/tron-energy-market/tronzap-sdk-php)\n\n_Packagist:_[
https://packagist.org/packages/tron-energy-market/tronzap-sdk-php](https://packagist.org/packages/tron-energy-market/tronzap-sdk-php)\n\n#### Tron Energy Node.js SDK\n\n_GitHub Repository:_ \n[https://github.com/tron-energy-market/tronzap-sdk-nodejs](https://github.com/tron-energy-market/tronzap-sdk-nodejs)\n\n_Tron Energy npm Package:_ \n[https://www.npmjs.com/package/tronzap-sdk](https://www.npmjs.com/package/tronzap-sdk)\n\n``` bash\nnpm install tronzap-sdk\n// or\nyarn add tronzap-sdk\n// or\npnpm add tronzap-sdk\n\n ```\n\n#### Tron Energy Python SDK\n\n``` bash\npip install tronzap-sdk\n\n ```\n\n_GitHub Repository:_ \n[https://github.com/tron-energy-market/tronzap-sdk-python](https://github.com/tron-energy-market/tronzap-sdk-python)\n\n_Tron Energy PyPI Package:_ \n[https://pypi.org/project/tronzap-sdk/](https://pypi.org/project/tronzap-sdk/)","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"Authentication","item":[{"name":"Set Variables","event":[{"listen":"test","script":{"exec":["// Set your API token and secret","pm.collectionVariables.set(\"api_token\", \"YOUR_API_TOKEN\");","pm.collectionVariables.set(\"api_secret\", \"YOUR_API_SECRET\");","","// Set base URL","pm.collectionVariables.set(\"base_url\", \"https://api.tronzap.com\");"],"type":"text/javascript","id":"8419b8b0-3157-4ae9-a47f-dc4297a98048"}}],"id":"5b1b412c-d8c7-44ad-b38e-c4c92d68bcb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":""},"response":[]}],"id":"b5dcb240-2587-4501-9732-9430ef374d77","description":"Authentication setup for all API requests.\n\n## Obtaining API Credentials\n\nTo get started with the Tron Energy API, you'll need to obtain your API credentials from the dashboard:\n\n1. Log in to your [TronZap Dashboard](https://dash.tronzap.com/api)\n \n2. Navigate to the API section\n \n3. Copy your API token and secret\n \n\n"},{"name":"Services","item":[{"name":"Get Services","id":"08e221ca-2477-42d5-9216-a7f2b25c9bbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_token}}","type":"text"},{"key":"X-Signature","value":"{{signature}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{}"},"url":"{{base_url}}/v1/services","description":"Get list of available services and their prices"},"response":[]}],"id":"c71a69ed-dd90-451d-8396-0ebb7db510c3"},{"name":"User Account","item":[{"name":"Get Balance","id":"1fa2308f-2f12-4923-a7b6-52df910ec93b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_token}}","type":"text"},{"key":"X-Signature","value":"{{signature}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{}"},"url":"{{base_url}}/v1/balance","description":"Get current balance and account information"},"response":[]}],"id":"0b2b1c54-988f-43ca-9bbe-f0f804c40d13"},{"name":"Energy Calculation","item":[{"name":"Estimate Energy","id":"b12b89ea-cf24-4a69-ad27-a829de52a50b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_token}}","type":"text"},{"key":"X-Signature","value":"{{signature}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n \"from_address\": \"TRX_FROM_ADDRESS\",\n \"to_address\": \"TRX_TO_ADDRESS\",\n \"contract_address\": \"TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t\"\n}"},"url":"{{base_url}}/v1/estimate-energy","description":"Estimate energy amount needed to make a token transfer without creating a transaction"},"response":[]},{"name":"Calculate Energy Cost","id":"0db35d41-f6b0-4577-9a14-c358242b0f01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_token}}","type":"text"},{"key":"X-Signature","value":"{{signature}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n \"service\": \"energy\",\n \"params\": {\n \"address\": \"TRX_ADDRESS\",\n \"energy_amount\": 32000, // min. 32000\n \"duration\": 1 // in hours, possible values: 1 or 24\n }\n}"},"url":"{{base_url}}/v1/energy/calculate","description":"Calculate the cost of energy purchase without creating a transaction"},"response":[]}],"id":"6965792b-d865-4edd-8c39-002b979ff757"},{"name":"Transactions","item":[{"name":"Create: Buy Energy","id":"784af634-2917-4e46-bb06-1b3724190a72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_token}}","type":"text"},{"key":"X-Signature","value":"{{signature}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n \"service\": \"energy\",\n // \"external_id\": \"YOUR-TRANSACTION-ID\", // optional\n \"params\": {\n \"address\": \"TRX_ADDRESS\", // Tron address to delegate energy\n \"energy_amount\": 32000, // energy amount, min 32,000\n \"duration\": 1 // in hours, possible values: 1 or 24\n }\n}"},"url":"{{base_url}}/v1/transaction/new","description":"Create a new transaction for energy purchase"},"response":[]},{"name":"Create: Address Activation","id":"e5c81744-ba33-455f-b344-b776ea3b425b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_token}}","type":"text"},{"key":"X-Signature","value":"{{signature}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n \"service\": \"activate_address\",\n // \"external_id\": \"YOUR-TRANSACTION-ID\", // optional\n \"params\": {\n \"address\": \"TRX_ADDRESS\"\n }\n}"},"url":"{{base_url}}/v1/transaction/new","description":"Create a new transaction for address activation"},"response":[]},{"name":"Check Status","id":"f0b296fe-b34e-411e-af5e-b0e1934eb060","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_token}}","type":"text"},{"key":"X-Signature","value":"{{signature}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n \"id\": \"TRANSACTION_ID\" // optional\n // \"external_id\": \"YOUR-TRANSACTION-ID\", // optional\n}"},"url":"{{base_url}}/v1/transaction/check","description":"Check the status of a transaction.\n\n| Status | Description | Final |\n| --- | --- | --- |\n| new | Transaction has been created but processing has not started yet | No |\n| pending | Transaction is currently being processed | No |\n| success | Transaction completed successfully | Yes |\n| failed | Transaction failed | Yes |\n\nMore details: [Tron energy transaction status](https://docs.tronzap.com/api/transaction-statuses.html)"},"response":[]}],"id":"f75e9fdb-4a2d-438d-a406-02c8ce9d77c7"},{"name":"Direct Recharge","item":[{"name":"Get Direct Recharge Info","id":"3e3b0849-1edb-4c0f-a36f-ec3b3e9a4ba6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer {{api_token}}","type":"text"},{"key":"X-Signature","value":"{{signature}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{}"},"url":"{{base_url}}/v1/direct-recharge-info","description":"Get information about direct energy recharge service"},"response":[]}],"id":"b127f76f-b0d1-466f-848b-68c7a3e4d867"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["// Calculate signature for the request","const requestBody = pm.request.body.raw || '{}';","const apiSecret = pm.collectionVariables.get('api_secret');","const signature = CryptoJS.SHA256(requestBody + apiSecret).toString();","pm.collectionVariables.set('signature', signature);"],"id":"9fce7411-7944-4066-811e-bfd49a6cb7a0"}}],"variable":[{"key":"base_url","value":"https://api.tronzap.com","type":"string"},{"key":"api_token","value":"YOUR_API_TOKEN","type":"string"},{"key":"api_secret","value":"YOUR_API_SECRET","type":"string"},{"key":"signature","value":""}]}