LogoLogo
BscScan
BscScan
  • Introduction
  • ✨Getting Started
    • Creating an Account
    • Getting an API Key
    • Endpoint URLs
  • 🎯API Endpoints
    • Accounts
    • Contracts
    • Transactions
    • Blocks
    • Logs
    • Geth Proxy
    • Tokens
    • Gas Tracker
    • Stats
  • 🏆API PRO
    • API PRO Endpoints
  • 🤝Support
    • FAQ
    • Rate Limits
    • Common Error Messages
    • Getting Help
  • Visit BscScan.com
Powered by GitBook
On this page

Was this helpful?

Introduction

Welcome to the BscScan APIs documentation 🚀.

NextCreating an Account

Last updated 1 month ago

Was this helpful?

BscScan is the leading blockchain explorer, search, API and analytics platform for BNB Smart Chain .

As a means to provide equitable access to blockchain data, BscScan's APIs are provided as a free, community tier access to BscScan's block explorer data.

  • Get the latest BNB balance of an address

  • Get an address's Normal/ERC20/ERC721 transactions

  • Verify a contract

Source attribution via a backlink or a mention that your app is "Powered by BscScan APIs" is required except for personal/private usage.

Migrate to Etherscan V2

Upgrade via if you need higher and access to endpoints, including

  • Get the BEP20 tokens of an address

  • Get current token price

  • Get token holders

You can then pass in chain ID 56 for BNB Chain data, or any other included in your all access paid plan.

const query = await fetch(`https://api.etherscan.io/v2/api
           ?chainid=56
           &module=account
           &action=addresstokenbalance
           &address=0xb5d85cbf7cb3ee0d56b3bb207d5fc4b82f43f511
           &apikey=YourEtherscanApiKeyToken`)
Etherscan V2
rate limits
API PRO
50+ supported chains