etherscan-api

Retrieve ETH and ERC-20 token balances via Etherscan API V2.

7|Updated Nov 27, 2025
One-click install
npx skills add https://github.com/sablier-labs/plugin-marketplace --skill etherscan-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: etherscan-api
Source: https://github.com/sablier-labs/plugin-marketplace/tree/main/plugins/web3/skills/etherscan-api
Command: npx skills add https://github.com/sablier-labs/plugin-marketplace --skill etherscan-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables developers to retrieve on-chain balances across Ethereum and other EVM-compatible networks using Etherscan's V2 API, removing manual API integration and parsing steps. It supports ETH balances, ERC-20 token balances, and multi-chain balance lookups, streamlining wallet analytics, portfolio dashboards, and automation workflows.

Core Features & Use Cases

  • ETH balance queries across supported chains (via chainid)
  • ERC-20 token balance queries (contractaddress + address)
  • Multi-address and multi-chain balance lookups for dashboards and alerts
  • Fallback to unified documentation for advanced capabilities

Quick Start

Prompt the AI to fetch balances for a wallet address, e.g., '0xDEADBEEF0123456789abcdef0123456789ABCDEF01'. Include the target chain or chainid to retrieve cross-chain data. The skill enforces API key presence and formats results in JSON or Markdown as requested.

Frequently Asked Questions about etherscan-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query wallet balances across multiple Ethereum chains?

Query wallet balances across Ethereum and EVM-compatible chains using Etherscan API V2 by specifying the chain ID and wallet address. The skill retrieves native ETH balances and ERC-20 token balances in a single request, supporting multi-chain lookups without manual API integration.

Can I check ERC-20 token balances for multiple addresses at once?

Yes, the skill handles multi-address prompts to retrieve ERC-20 token balances across multiple wallets. Provide contract addresses and wallet addresses together; results are formatted as JSON or Markdown for portfolio dashboards and wallet analytics.

What do I need to set up before querying Etherscan API balances?

Set up the ETHERSCAN_API_KEY environment variable before use. The skill validates API key presence and infers the chain from user prompts, so you only need a valid Etherscan API key and target wallet addresses to begin retrieving balances.

How does this skill handle balance queries across different EVM networks?

The skill supports multi-chain balance lookups by accepting a chainid parameter to target Ethereum and other EVM-compatible networks. It queries Etherscan V2 API endpoints for each chain and returns formatted results for cross-chain portfolio analysis.

Can I use this skill to automate wallet monitoring and alerts?

Yes, the multi-address and multi-chain balance lookup capabilities streamline wallet monitoring workflows. Retrieve balances programmatically for automation, portfolio tracking, and alert systems without building custom Etherscan API integrations.