Skip to main content API wrapper

Project description API wrapper

PyPi Version

An API wrapper, for Python.

With a default cache supported by requests-cache


pip3 install etherscan


import etherscan

es = etherscan.Client(

eth_price = es.get_eth_price()

eth_supply = es.get_eth_supply()

eth_balance = es.get_eth_balance('0x39eB410144784010b84B076087B073889411F878')

eth_balances = es.get_eth_balances([

gas_price = es.get_gas_price()

block = es.get_block_by_number(block_number=12345)

transactions = es.get_transactions_by_address('0x39eB410144784010b84B076087B073889411F878')

token_transations = es.get_token_transactions(

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for etherscan, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size etherscan-0.3.0.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View
Filename, size etherscan-0.3.0-py3-none-any.whl (5.2 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page