Skip to content

Latest commit

 

History

History

etherscan

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Description

Ethereum explorer API

Example Request

  • Curl
curl -X GET "https://api.etherscan.io/api?module=account&action=balance&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&tag=latest&apikey=YOURAPIKEY"
  • Raw
GET /api?module=account&action=balance&address=0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae&tag=latest&apikey=YOURAPIKEY HTTP/1.1
Host: api.etherscan.io

Response

  • Success
{
    "status":"1",
    "message":"OK",
    "result":"374868436783144397866641"
}
  • Error
{
    "status":"1",
    "message":"OK-Missing/Invalid API Key, rate limit of 1/5sec applied",
    "result":"374868436783144397866641"
}

Regex

[A-Z0-9]{34}

Example API key

47ZBD9SAWKNN6XYB6A92V4GMCC741VYV37