Quick Install — One command to get started:
Why Use the CLI?
AI Agent Tool-Use
Structured JSON output that AI agents can parse and act on — no SDK or HTTP client needed
Terminal Workflows
Pipe portfolio data into jq, scripts, cron jobs, or monitoring systems
Fast & Lightweight
Written in Rust — single binary, no runtime dependencies, instant startup
Interactive Dashboard
Explore holdings, protocols, chains, and transactions in a terminal UI with
octav dashboardInstallation
- Shell Script (Recommended)
- Cargo
- From Source
Works on macOS and Linux:
Updating
octav update replaces the binary installed by the shell script. If you installed with Cargo, run cargo install octav instead; for source builds, git pull and rebuild. octav update tells you which applies. Versions before 0.3.0 don’t have octav update, so reinstall them with the shell script or Cargo.
Before installing, octav update checks the download against the SHA-256 checksum published with the release, and stops without changing anything if it doesn’t match.
Authentication
Store your API key once and it’s used automatically for all commands.--api-keyflag (highest precedence)OCTAV_API_KEYenvironment variable~/.octav/config.jsonconfig file
Dashboard
An interactive terminal UI for exploring a portfolio: holdings with token icons, protocol breakdown, chain distribution, and transactions.
Token images are cached locally in
~/.octav/cache/images/.
Commands
Portfolio
octav portfolio get
octav portfolio get
Full portfolio including DeFi positions across all chains.
Cost: 1 credit per address
octav portfolio wallet
octav portfolio wallet
Wallet token balances only (excludes DeFi protocol positions).Cost: 1 credit per address
octav portfolio token-overview
octav portfolio token-overview
Aggregated token distribution across all chains for a specific date.Cost: 1 credit per address
octav portfolio at-block
octav portfolio at-block
A single EVM address’s portfolio valued at a specific block on Cost: 1 credit, plus the Portfolio at Block add-on. See Portfolio at Block.
ethereum, linea, or monad.Transactions
octav transactions get
octav transactions get
Query transaction history with filtering and pagination.
Cost: 1 credit per address
octav transactions sync
octav transactions sync
Trigger manual transaction synchronization.Cost: 1 credit per address
Historical
octav historical get
octav historical get
Portfolio snapshot for a specific date.Cost: 1 credit per address
octav historical subscribe-snapshot
octav historical subscribe-snapshot
Subscribe to automatic daily portfolio snapshots.Cost: 1,200 credits per address per year. See Subscribe Snapshot.
Metadata & Specialized
octav status
octav status
Check sync status for addresses.Cost: Free
octav credits
octav credits
Check API credit balance.Cost: Free
octav chains list
octav chains list
List supported chains, with the keys that Cost: Free
--chain flags take.octav chains protocols
octav chains protocols
List the protocols on a chain, with the keys that
--protocol takes. Paginated.Cost: Free
octav contract-protocol
octav contract-protocol
Find which DeFi protocol a contract address belongs to. Omit Cost: 5 credits, refunded if no protocol is found
--chain to search all chains.octav airdrop
octav airdrop
Check Solana airdrop eligibility.Cost: 1 credit
octav polymarket
octav polymarket
Get Polymarket prediction market positions.Cost: 1 credit
octav approvals
octav approvals
ERC-20 token approvals an EVM wallet has granted on one chain. Paginated with Supported chains:
--limit (1–100, default 25) and --cursor.arbitrum, avalanche, base, binance, ethereum, fantom, gnosis, linea, optimism, polygon.Cost: 1 creditAddress Book & Bundles
Address book and bundle commands are the only ones that change data on your Octav account. Every other command is read-only. Each call costs 1 credit.
Commands that delete or overwrite data refuse to run without
--yes. They exit with an error of type confirmation_required without sending any request:
octav addressbook
octav addressbook
Manage the addresses saved to your account, the same list you see in Octav Pro. Addresses already in the book keep their existing label when added again. See Address Book.
octav bundles
octav bundles
Named groups of address book entries. Addresses must already be in the address book. By default an account can have 5 bundles of up to 10 addresses each. See Bundles.
Virtual Users
Virtual users are balance-tracking or CEX-linked accounts managed in Octav Pro, addressed asvirtual:<id>. They require Pro. See Virtual Users.
octav virtual-users list
octav virtual-users list
List the virtual users on your account.Cost: 1 credit
octav virtual-users portfolio
octav virtual-users portfolio
Portfolios for virtual users, using Cost: 1 credit per address
virtual:<id> addresses from virtual-users list. Add --aggregated for one combined portfolio. Accepts the same --explorer-urls and --no-wait-for-sync flags as portfolio get.Using with AI Agents
The CLI outputs structured JSON, making it a natural fit for AI agent tool-use. Agents can invokeoctav commands via shell execution and parse the JSON response directly.
Example: Claude Code / Cursor Agent
Example: Autonomous Monitoring Script
Output Format
All commands return JSON. Pretty-printed by default, compact with--raw:
octav credits prints a bare number (e.g. 4872), so use it directly rather than with jq '.credits'.
The --raw flag also disables field stripping, returning the full API response.
Multiple Addresses
Most commands accept multiple addresses as a comma-separated list:Error Handling
Errors are returned as JSON on stdout with a non-zero exit code:Resources
GitHub
Source code and issues
API Docs
Full REST API reference
Pricing
Credit packages and costs