Two command-line tools for the Bitpanda APIs: bp for the Public API (read-only), and bp-fusion for the Fusion API (trading-capable).bp — Public API CLI#
A fast, scriptable command-line tool for the Bitpanda Developer API. View your portfolio, check live prices, and browse trades and transactions — all from your terminal.Read-only. Every command is read-only. The CLI cannot place orders, move funds, or modify your account.
Install#
bp needs a Bitpanda API key. Generate one at app.bitpanda.com, then provide it (highest priority first): --api-key flag, the BITPANDA_API_KEY environment variable, or a config file.Keep your key safe. The config file holds your key in plaintext — restrict it to 0600. bp warns on stderr if permissions are looser.
Commands#
Every command supports -o table (default), -o json, and -o csv.| Command | Description |
|---|
bp portfolio | Aggregated holdings with EUR valuations, sortable. |
bp balances | Raw wallet list with filtering and pagination. |
bp trades | Buy/sell history with type, asset, and date filters. |
bp transactions | Full transaction log including rewards and staking. |
bp price <SYMBOL> | Live price and daily change for a single asset. |
bp prices | Prices for held assets, or all available with --all. |
Examples#
bp-fusion — Fusion API CLI#
A command-line interface for the Bitpanda Fusion API. Query market data, manage orders, and inspect your account — all from your terminal.Trading-capable. Unlike bp, bp-fusion can place and cancel real orders. orders create and orders cancel show a confirmation prompt by default — pass --yes to skip it in scripts.
Install#
Pre-built binaries are also available from Releases.bp-fusion needs a Bitpanda Fusion API key, generated at app.bitpanda.com with the Trade scope. Provide it (highest priority first): --api-key flag, the FUSION_API_KEY environment variable, or a config file at ~/.config/fusion/config.yaml.Keep your key safe. Config file keys are lowercase; env vars are the uppercase equivalent (FUSION_API_KEY, FUSION_HOST). bp-fusion warns on stderr if the config file has permissions looser than 0600.
Commands#
| Command | Description |
|---|
bp-fusion tickers | Mid price and 24h stats. Omit --pair for all active pairs. |
bp-fusion pairs | Active trading pairs and sizing constraints (min/max size, tick size). |
bp-fusion orderbook <PAIR> | Order book depth (--depth, default 10, 1–100). |
bp-fusion candles <PAIR> | OHLCV candles (--interval, --from, --to, --limit). |
bp-fusion assets | Supported crypto and fiat assets. |
bp-fusion account info | 30-day traded volume and current fee tier. |
bp-fusion account balances | Account balances. |
bp-fusion orders list | List orders, filterable by --pair, --status, date range. |
bp-fusion orders get <ID> | Get a single order by ID. |
bp-fusion orders create | Place an order — --quantity (base) or --amount (quote), mutually exclusive. |
bp-fusion orders cancel <ID> | Cancel an order. |
bp-fusion trades list | List trades, filterable by --pair, --order-id, date range. |
bp-fusion trades get <ID> | Get a single trade by ID. |
orders list --status accepts: open, closed, new, partially-filled, filled, canceled, filled-and-canceled, done-for-day, rejected.Examples#
Global flags#
| Flag | Env var | Description |
|---|
--api-key | FUSION_API_KEY | API key |
--host | FUSION_HOST | Override API host (default: production) |
--debug | — | Print request URLs and raw responses to stderr |
-o, --output | — | Output format: table, json, or csv |