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.

GET/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

GET/api/v1/explorer/address?address=TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t

Balance, resource limits, TRC-20 holdings, and recent transactions.

Transaction

GET/api/v1/explorer/transaction?hash=<64-hex>

Status, fee, energy, bandwidth, and token transfers inside the transaction.

Block

GET/api/v1/explorer/block?number=86598920

Header plus up to 20 transactions. Pass hash= instead of number= for a block id.

Latest blocks

GET/api/v1/explorer/blocks?limit=20&start=0

Newest blocks. limit is capped at 50.

Transactions

GET/api/v1/explorer/transactions?limit=20&start=0&address=

Newest transactions. address is optional and filters to one account.

Tokens

GET/api/v1/explorer/tokens?limit=20&start=0

TRC-20 tokens ordered by market cap.

Token

GET/api/v1/explorer/token?address=TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t

Price, holders, market cap, and recent transfers for one contract.

Search

GET/api/v1/explorer/search?q=USDT

Classifies 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.