1. CLI
Fusion Developer Platform
  • Getting started with Fusion
    • Overview
    • API key generation
    • Rate limits
  • API
    • Getting started
    • Market data
      • Get server time
      • Get tickers
      • Get trading pairs
      • Get orderbook
      • Get candles
      • Get assets
    • Account
      • Get account
      • Get account balances
    • Trading
      • Orders
        • Get orders
        • Create order
        • Get order by ID
        • Cancel order by ID
      • Trades
        • Get trades
        • Get trade by ID
  • MCP
    • Getting started
    • Available tools
  • CLI
    • Getting Started
    • Commands
  1. CLI

Getting Started

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
See the API key generation guide for step-by-step instructions.

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.
Verify the installation:

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#

FlagEnv varDescription
--api-keyFUSION_API_KEYAPI key (overrides config file)
--hostFUSION_HOSTOverride the API host (default: production)
--debug—Print request URLs and raw responses to stderr
-o, --output—Output format: table, json, or csv

Output formats#

All commands support -o/--output:
FormatFlagDescription
Table-o table (default)Human-readable table
JSON-o jsonFor scripting and piping
CSV-o csvFor spreadsheets
Examples:

Shell completion#


Exit codes#

CodeMeaning
0Success
1General error
2Authentication 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
Previous
Available tools
Next
Commands
Built with