Document
With this system, you can rent energy on the TRON network.
Getting Started
First, you will need api_key These API keys located in your account. You are required it when
you want to use API key for interact with service.
Also you required to restrict API access to your own secure IP addresses. If you do not know your server's
IP address, you can run this command on your server.
curl 'https://energy.coinservice.io/api/'
Info
GET https://energy.coinservice.io/api/info
Request:
curl --request GET --url https://energy.coinservice.io/api/infoResponse:
{
"success": true,
"time": 1768599831,
"date": "2026-01-16T21:43:51+0000",
"price_sun": {
"3600": "0.000032"
},
"available_energy": 10000000,
"status": 200
}
Active Address
POST https://energy.coinservice.io/api/active-address
| Name | Type | Mandatory | Description |
| address | string | yes |
curl --request POST
--url https://energy.coinservice.io/api/active-address
--header 'Content-Type: application/json'
--header 'api_key: 32ec632d01b08cd698acee074d4f1c62'
--data '{"address": "TB6F5HTWR4yAJ1UcLNQ3aYLxSCxY12bnWn"}'
Response:
{
"result": "a1-1000002-43aeb880e5",
"item": {
"id": 1,
"trackid": "a1-1000002-43aeb880e5",
"address": "TB6F5HTWR4yAJ1UcLNQ3aYLxSCxY12bnWn",
"cost": "1.1000000000",
"date": "2026-01-17",
"time": 1768600780,
"txid": null,
"status": "waiting",
"agent": "API"
},
"success": true,
"status": 200
}
Period List
POST https://energy.coinservice.io/api/periodlist
| Name | Type | Mandatory | Description |
| amount | integer | no | The amount of energy you want to rent. default is 32000 |
curl --request POST
--url https://energy.coinservice.io/api/periodlist
--header 'Content-Type: application/json'
--header 'api_key: 32ec632d01b08cd698acee074d4f1c62'
--data '{"amount": "130300"}'
Response:
{
"amount": 130300,
"costList": {
"3600": "1 hour ยป 4.1696 TRX"
},
"rateList": {
"3600": "0.000032"
},
"success": true,
"status": 200
}
Resource
POST https://energy.coinservice.io/api/resource
| address | string | yes | Tron Address |
curl --request POST
--url https://energy.coinservice.io/api/resource
--header 'Content-Type: application/json'
--header 'api_key: 32ec632d01b08cd698acee074d4f1c62'
--data '{"address": "TB6F5HTWR4yAJ1UcLNQ3aYLxSCxY12bnWn"}'
Response:
{
"energy": 5497487,
"bandwidth": 10856,
"total_bandwidth": 11456,
"success": true,
"status": 200
}
Rent Energy
POST https://energy.coinservice.io/api/rent-energy
| Name | Type | Mandatory | Description |
| amount | integer | yes | The amount of energy you want to rent |
| address | integer | yes | Address |
| period | integer | yes | Period by seconds |
curl --request POST
--url https://energy.coinservice.io/api/rent-energy
--header 'Content-Type: application/json'
--header 'api_key: 32ec632d01b08cd698acee074d4f1c62' \
--data '{
"address": "TB6F5HTWR4yAJ1UcLNQ3aYLxSCxY12bnWn",
"amount": 65000,
"period": 3600
}'
Response:
{
"result": "66-1-7912d4f025",
"item": {
"id": 66,
"trackid": "66-1-7912d4f025",
"address": "TB6F5HTWR4yAJ1UcLNQ3aYLxSCxY12bnWn",
"resource": "ENERGY",
"amount": "65000.0000000000",
"period": 3600,
"price": "0.000032",
"cost": "2.06",
"date": "2025-01-01",
"time": 1694498554,
"assign_time": 0,
"txid": null,
"status": "waiting"
},
"success": true,
"status": 200
}
RentList
POST https://energy.coinservice.io/api/rent-list
| Name | Type | Mandatory | Description |
| trackid | string | no | |
| amount | integer | no | |
| period | integer | no | |
| txid | string | no | |
| status | string | no | waiting , success , failed |
| resource | string | no | ENERGY , BANDWIDTH |
| address | string | no | |
| page | integer | yes | |
| limit | integer | yes | min 1 , max 100 |
curl --request POST
--url https://energy.coinservice.io/api/rent-list
--header 'Content-Type: application/json'
--header 'api_key: 32ec632d01b08cd698acee074d4f1c62' \
--data '{
"trackid":"1-1000002-f763fbca5f",
"address": "TB6F5HTWR4yAJ1UcLNQ3aYLxSCxY12bnWn",
"page": 1,
"limit": 10
}'
Response:
{
"items": [
{
"id": 1,
"trackid": "1-1000002-f763fbca5f",
"address": "TB6F5HTWR4yAJ1UcLNQ3aYLxSCxY12bnWn",
"resource": "ENERGY",
"amount": "65000.0000000000",
"period": 3600,
"price": "0.0000320000",
"cost": "2.0800000000",
"date": "2026-01-17",
"time": 1768601438,
"assign_time": 0,
"txid": null,
"status": "waiting"
}
],
"total": 1,
"limit": 10,
"page": 1,
"success": true,
"status": 200
}
Balance
GET https://energy.coinservice.io/api/balance
Request:
curl --request GET --url https://energy.coinservice.io/api/balance --header 'Content-Type: application/json' --header 'api_key: 32ec632d01b08cd698acee074d4f1c62'
Response:
{
"balance_list": [
{
"balance": "3.9375",
"currency": "TRX"
}
],
"deposit_address": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"success": true,
"status": 200
}
Balance List
POST https://energy.coinservice.io/api/balance-list
| Name | Type | Mandatory | Description |
| trackid | string | no | |
| add | float | no | |
| take | float | no | |
| type | string | no | RentEnergy, deposit, AddConvert, TakeConvert, ActiveAddress |
| page | integer | yes | |
| limit | integer | yes | min 1 , max 100 |
curl --request POST
--url https://energy.coinservice.io/api/balance-list
--header 'Content-Type: application/json'
--header 'api_key: 32ec632d01b08cd698acee074d4f1c62'
--data '{
"trackid":"1-1000002-f763fbca5f",
"page": 1,
"limit": 10
}'
Response:
{
"items": [
{
"add": "0.00000000000000000000",
"take": "2.08000000000000000000",
"balance": "3.18000000000000000000",
"trackid": "1-1000002-f763fbca5f",
"type": "RentEnergy",
"time": 1768601438,
"date": "2026-01-16T22:10:38+00:00",
"coin": "TRX"
}
],
"total": 1,
"limit": 10,
"page": 1,
"success": true,
"status": 200
}