Get Account Info
Retrieve the internal account information associated with your TronSave API key, including balance and deposit address.
Retrieve internal account information associated with the provided API key, including the account id, current balance in SUN, the address that represents the account on orders, and the address to deposit TRX into.
Endpoint
GET https://api.tronsave.io/v2/user-info
Headers
apikey*
String
TronSave API key that represents the internal account. See Authentication to get your API key.
* Required.
Request body
This endpoint takes no request body — pass the apikey header only.
Response
A successful response returns error: false and the account details in data.
data.id
String
Internal account ID.
data.balance
String
Internal account balance, in SUN.
data.representAddress
String
Represents the internal account as the requester of the order.
data.depositAddress
String
Send TRX to this address to deposit into your internal account.
200: OK
Success response example
Errors
This endpoint authenticates with the apikey header, so the common errors are authentication failures.
401 Unauthorized — missing API key (no apikey header sent):
401 Unauthorized — invalid API key:
Request examples
Next steps
Get Order Book — fetch current resource pricing and availability.
Buy Energy (Create Order) — place an order paid from your internal account.
Authentication — how to pass your API key on each request.
Last updated