The Fusion CLI (bp-fusion) lets you interact with the Bitpanda Fusion API directly from the terminal. You can query market data, manage orders, and inspect your account — no browser required.Prerequisites#
Before installing the CLI, you need:A supported operating system: macOS, Linux, or Windows
A Bitpanda Fusion API key
Create API key in your Bitpanda account under Account settings → API Keys → Fusion and assign the scopes required by your integration:Read for market data, balances, account information, and trade history
Trade for placing and cancelling orders
Installation#
Homebrew (macOS / Linux)#
Via Go#
From source#
make install builds the binary and copies it to /usr/local/bin/bp-fusion.Pre-built binaries#
Download the latest binary for your platform from the releases page.
Authentication#
bp-fusion supports three ways to provide your API key, in priority order:Config file setup (recommended)#
Edit ~/.config/fusion/config.yaml:Tip: bp-fusion will warn on stderr if the config file has permissions more permissive than 0600.
Your first command#
Once authenticated, try fetching live ticker data for BTC-EUR:For the full command reference — including market data, orders, trades, output formats, and shell completion — see the Commands reference.
Global flags#
| Flag | Env var | Description |
|---|
--api-key | FUSION_API_KEY | API key (overrides config file) |
--host | FUSION_HOST | Override the API host (default: production) |
--debug | — | Print request URLs and raw responses to stderr |
-o, --output | — | Output format: table, json, or csv |
All commands support -o/--output:| Format | Flag | Description |
|---|
| Table | -o table (default) | Human-readable table |
| JSON | -o json | For scripting and piping |
| CSV | -o csv | For spreadsheets |
Shell completion#
Exit codes#
| Code | Meaning |
|---|
0 | Success |
1 | General error |
2 | Authentication error |
Troubleshooting#
401 Unauthorized / exit code 2: Check that your API key is set correctly and has not been revoked. Verify it at by following the API key generation.403 Forbidden / insufficient scope: The command requires a scope your key does not have. Enable the Read or Trade scope on your key.
command not found: bp-fusion: Ensure the binary is on your PATH. Run which bp-fusion (macOS/Linux) or where bp-fusion (Windows) to confirm.
Unexpected API errors: Run with --debug to print the full request and response: bp-fusion --debug orders list.
Config file permission warning: Restrict access with chmod 600 ~/.config/fusion/config.yaml.
Need help? If you encounter persistent issues, please reach out to Bitpanda Developer Support.
Modified at 2026-07-14 10:46:37