Command line

The whole platform, one binary.

Every command is generated from the same contract as the API, so the CLI covers the entire surface by construction and its help text is never out of date. --json on everything, so it composes with jq and drops straight into CI.

86 commands13 modules--json everywhere
MCP
Claude, ChatGPT, Cursor
SDK
TypeScript
CLI
Terminal & CI
REST API
Any language
Install

Install and sign in

npm i -g foxd-cli

foxd login          # opens a browser, or prints a code to enter
foxd whoami         # scopes, tier and remaining spend allowance

foxd login uses the OAuth device flow — the same pattern as gh auth login. Sign in with Google, X, Telegram, email or a wallet; the key lands in your config file with 0600 permissions. $FOXD_API_KEY always wins, for CI.

Usage

Everything is <module> <method>

foxd market trending --chain base --limit 10
foxd analytics security --chain bsc --address 0xbb4c…
foxd sniper feed --chain solana --stages fresh --limit 20
foxd copyIntel backtest --address 0xae2f… --windowDays 30
foxd wallet balances
foxd automation placeTakeProfit --chain base --tokenAddress 0x532f… \
  --amount 1000000000000000000 --targetPriceUsd 0.01
discoverability
foxd tools              # every command, grouped by module
foxd tools sniper       # just one module
foxd help analytics.security   # flags, cost, REST route and examples
Scripting

Built to be piped

Human-readable tables by default, --json when you mean business:

# the 5 most liquid Base tokens, symbols only
foxd market trending --chain base --minVolume 50000 --json \
  | jq -r '.tokens[:5][].symbol'

# alert if any wallet balance is empty
foxd wallet balances --json \
  | jq -e '.balances[] | select(.amountRaw == "0")' && echo "needs funding"

Errors print the failing flag with the reason, so a wrong argument tells you what it wanted rather than dumping a stack trace.

Get an API key

Public market data needs no key. Everything account-, wallet- or trade-related does. Keys are free, scoped, and revocable in one click.

Create an API keyFull documentation
SniperTradeLaunchAI
CLI — FoxD from your terminal | FoxD