CChainPay
Iniciar sesión

Balance API

Public endpoints — no API key. Useful for checking forwarding addresses, gas stations, or any on-chain wallet before you act.

Base URL

https://api.chainpay.site

Single address

GET https://api.chainpay.site/balance/:chain/:address
GET https://api.chainpay.site/balance/:chain/:address?token=USDT
GET https://api.chainpay.site/balance/:chain/:address?token=0xContract…

Supported chain values include tron, bsc, eth, polygon, arbitrum, solana. Any value outside the supported list is rejected with 400 Bad Request.

  • Omit token → native balance (TRX / BNB / ETH / …).
  • token=USDT / USDC → known stablecoin on that chain.
  • token=0x… or TRON contract → that contract's balance.

Batch (EVM)

GET https://api.chainpay.site/balance/:chain?wallets=0xAddr1,0xAddr2&token=USDC

Examples

curl "https://api.chainpay.site/balance/tron/TYourAddress"
curl "https://api.chainpay.site/balance/bsc/0xYourAddress?token=USDT"
curl "https://api.chainpay.site/balance/eth/0xYourAddress?token=USDC"

Response shape is human amounts plus raw units where applicable. Treat the endpoint as eventually consistent with the chain tip.