Developer API
Read TRON mainnet data from your own app. These routes sit next to the Txscop energy API and use the same key. Create or rotate a key in the dashboard API tab.
/api/v1/explorer/<resource>Send the key as X-API-KEY or Authorization: Bearer <key>. If the key has an IP whitelist, the caller IP must be on that list. Responses use { "code": "0", "msg": "", "data": ... }. A non-zero code means the call failed.
curl -s \ -H "X-API-KEY: $TXSCOP_API_KEY" \ "https://your-host/api/v1/explorer/address?address=TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"
Address
/api/v1/explorer/address?address=TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6tBalance, resource limits, TRC-20 holdings, and recent transactions.
Transaction
/api/v1/explorer/transaction?hash=<64-hex>Status, fee, energy, bandwidth, and token transfers inside the transaction.
Block
/api/v1/explorer/block?number=86598920Header plus up to 20 transactions. Pass hash= instead of number= for a block id.
Latest blocks
/api/v1/explorer/blocks?limit=20&start=0Newest blocks. limit is capped at 50.
Transactions
/api/v1/explorer/transactions?limit=20&start=0&address=Newest transactions. address is optional and filters to one account.
Tokens
/api/v1/explorer/tokens?limit=20&start=0TRC-20 tokens ordered by market cap.
Token
/api/v1/explorer/token?address=TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6tPrice, holders, market cap, and recent transfers for one contract.
Search
/api/v1/explorer/search?q=USDTClassifies an address, transaction, block, or token query.
What this API covers
The current surface is TRON mainnet reads: accounts, transactions, blocks, and TRC-20 tokens. Contract source verification and raw transaction broadcast are not part of this API. Energy rental stays on the existing /api/v1/energy routes.