LogoLogo
HomeMetadata APIAPI PROTwitter
Etherscan V2
Etherscan V2
  • Introduction
  • Chef's Pick
  • Rate Limits
  • V1 to V2 API Migration Guide
  • ✨Getting Started
    • Creating an Account
    • Getting an API Key
    • Supported Chains
    • Supported Endpoints
  • 🎯API Endpoints
    • Nametags
    • Accounts
    • Contracts
    • Transactions
    • Blocks
    • Logs
    • Geth/Parity Proxy
    • Tokens
    • Gas Tracker
    • Stats
    • L2 Deposits/Withdrawals
    • Usage
  • 🏆API PRO
    • Etherscan API PRO
    • Metadata/Name Tag API
  • 🍳Cookbook
    • Track Uniswap V4 DEX Trades
  • Get An Address's Full Transaction History
  • 🤝Support
    • FAQ
    • Legacy V1 Docs
    • Checking Usage
    • Common Error Messages
    • Getting Help
  • Visit Etherscan.io
Powered by GitBook
On this page
  • Check Etherscan credit usage
  • List supported chains
  1. API Endpoints

Usage

PreviousL2 Deposits/WithdrawalsNextEtherscan API PRO

Last updated 6 months ago

Check Etherscan credit usage

Returns the amount of API credits available, and reset countdown.

https://api.etherscan.io/v2/api
   ?&module=getapilimit
   &action=getapilimit
   &apikey=YourApiKeyToken

Try this endpoint in your

No parameters required.

Sample Response

{
   "status":"1",
   "message":"OK",
   "result":{
      "creditsUsed":207,
      "creditsAvailable":499793,
      "creditLimit":500000,
      "limitInterval":"daily",
      "intervalExpiryTimespan":"07:20:05"
   }
}

List supported chains

Returns a list of supported Etherscan explorer APIs, with web explorer links.

https://api.etherscan.io/v2/chainlist

Try this endpoint in your

No parameters required.

Sample Response

{
   "totalcount":50,
   "result":[
      {
         "chainname":"Ethereum Mainnet",
         "chainid":"1",
         "blockexplorer":"https://etherscan.io",
         "apiurl":"https://api.etherscan.io/v2/api?chainid=1",
         "status":1
      },
      {
         "chainname":"Sepolia Testnet",
         "chainid":"11155111",
         "blockexplorer":"https://sepolia.etherscan.io",
         "apiurl":"https://api.etherscan.io/v2/api?chainid=11155111",
         "status":1
      }
   ]
}
🎯
🔗
🔗
browser
browser