Authentication

How TronSave authenticates API requests — Internal Account, API Key, and Signed Transaction.

Every TronSave API request must be authenticated. There are two methods: an API Key tied to a TronSave Internal Account, or a Signed Transaction, where you pay from your own wallet per purchase. This page explains both and shows how to obtain an API Key on the website or via Telegram.

Internal Account and API Key

A TronSave Internal Account is a TronSave-managed balance. You deposit TRX into it once, and the API spends from that balance automatically when you place orders. It also tracks your transaction history and lets you manage assets within the system.

Each Internal Account is assigned a unique API Key — a secret identifier issued by TronSave and linked to that account. The API Key lets you or a third-party application (a bot, an automated service) send commands to the Internal Account without logging into the website or app. Every request — checking balances, creating orders, extending orders — is tied to the Internal Account through the API Key.

In short:

  • The Internal Account is where your assets are stored and managed.

  • The API Key is the tool that grants secure, automated access to that account.

The two authentication methods

API Key
Signed Transaction

How it works

Requests carry your API Key; orders are paid from your Internal Account balance

You sign a TRX payment from your own wallet for each purchase

Custody

Funds held in a TronSave-managed Internal Account

Full self-custody — you keep your funds

Setup

Get an API Key, deposit TRX once

No deposit; sign per transaction

Best for

Bots and automated services making frequent calls

Users who want to retain custody and pay as they go

Sent as

apikey request header

A signed transaction in the request body

With the API Key method, you send the key in the apikey header:

curl -X POST https://api.tronsave.io/v2/buy-resource \
  -H "apikey: YOUR_API_KEY" -H "Content-Type: application/json" \
  -d '{ ... }'

For the terminology used here, see the Glossary.

Get an API Key

You can obtain your API Key directly from the website or via Telegram.

Step 1 — Get the deposit address and API Key

  1. Click the Connect button.

  2. Choose a wallet option and sign in to connect.

  3. After connecting, select Account info.

  4. Click the Login TRONSAVE button and Sign.

  5. Your API Key and deposit address are displayed.

Note: If you're using the Nile testnet, use this URL instead: https://testnet.tronsave.io/

Step 2 — Deposit by transferring TRX

  1. Click the Top up button to get the deposit address.

  2. Transfer TRX to this address.

  3. Sign to confirm the transaction.

  4. The new balance auto-updates in about 3 seconds.

  • The minimum deposit is 10 TRX.

  • Your first deposit requires an additional fee of approximately 1 TRX to activate the new address.

  • You can make 2 deposit transactions with TRX per day without fees. After that, each additional deposit incurs a 0.3 TRX fee.

Revoking and rotating your key

If you need to change your API Key, select Revoke to generate a new one. This works the same way on the website and on Telegram: confirm the action to create a new key, or cancel to keep the current one.

Next steps

Last updated