Skip to main content
The Zerion CLI is an open-source tool that wraps the Zerion API. It’s designed for both humans and AI agents — any agent that can run shell commands can query wallets, tokens, and chains without writing API integration code. Repository: github.com/zeriontech/zerion-ai

Installation

npm install -g zerion-cli
Then set your API key:
export ZERION_API_KEY="zk_dev_..."
Get a free key from the Zerion Dashboard.

Usage

zerion-cli wallet analyze 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
This returns a summary of the wallet’s total portfolio value, top positions, recent transactions, and PnL.

Usage by AI agents

AI coding assistants (Claude, Cursor, etc.) and autonomous agents can invoke the CLI as a shell tool. No HTTP client setup, no auth header construction — just structured output from a single command. Good fits:
  • Agents that need onchain context during a task (e.g. check a wallet before executing a transaction)
  • Pipelines that enrich data with portfolio or position information
  • x402-based flows where the CLI handles the payment handshake automatically