Docs
API Console
Available

CLI Guide

Command-line interface for FundTracer. Analyze wallets directly from your terminal.

TypeScriptPythoncURL
import { FundTracer } from '@fundtracer/sdk';

const ft = new FundTracer({
  apiKey: process.env.FUNDTRACER_API_KEY,
});

const report = await ft.wallets.trace({
  address: '0x742d...5b2a',
  chain: 'ethereum',
  depth: 4,
  includeRooms: true,
});

console.log(report.entities);
On this page

Overview

The FundTracer CLI allows you to analyze wallet addresses directly from your terminal. It's perfect for automation, batch processing, and integrating into your workflows.

Prerequisites

Node.js 18+ and npm or yarn installed on your system.

Installation

# Install globally via npm
npm install -g fundtracer-cli

# Or via yarn
yarn global add fundtracer-cli

# Verify installation
fundtracer --version

Commands

Analyze a Wallet

fundtracer analyze 0x742d35Cc6634C0532925a3b844Bc9e7595f5b2a1 --chain ethereum

Get Funding Tree

fundtracer funding-tree 0x742d35Cc6634C0532925a3b844Bc9e7595f5b2a1 --depth 3

Compare Wallets

fundtracer compare 0x123... 0x456...

Export Results

fundtracer analyze 0x742d... --format json --output results.json

Configuration

Set your API key using the FT_API_KEY environment variable or configure it in the CLI settings:

# Set API key
fundtracer config set-api-key ft_live_your_api_key

# View current config
fundtracer config show