Etherscan

Providing equitable access to human readable blockchain data.

Go to site
Explore
/
Apps
/
Etherscan

Etherscan API Integrations

Build and run workflows using the Etherscan API. Use 1000s of source-available triggers and actions across 1000+ apps. Or write custom code to integrate any app or API in seconds.

Overview

The Etherscan API allows you to query various information on the Ethereum blockchain. Some of the things you can do with the API include:

  • Get a list of all transactions for a given address
  • Get the balance for a given address
  • Get a list of all tokens for a given address
  • Get the total supply of a given token
  • Get a list of all tokens traded on a given day
  • Get the price of a given token in USD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    ethereum: {
      type: "app",
      app: "ethereum",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.etherscan.io/api`,
      params: {
        module: `stats`,
        action: `ethsupply`,
        apikey: `${this.ethereum.$auth.api_token}`,
      },
    })
  },
})

Choose an API to Connect with Etherscan API

1
-
12
of
1000+
apps by most popular

Authentication

Etherscan uses API keys for authentication. When you connect your Etherscan account, Pipedream securely stores the keys so you can easily authenticate to Etherscan APIs in both code and no-code steps.

To retrieve your API keys,

  • Navigate to your Ethereum account and sign in
  • Go to “Others” > “API Keys”