Command Structure
The CoinPaprika CLI follows a simple command structure:Basic Examples
Global Flags
These flags work with any command:Output Format (-o, --output)
Control how data is displayed:
table
API Key (--api-key)
Override the configured API key for a single command:
- Environment variable (
COINPAPRIKA_API_KEY) - Config file (
~/.config/coinpaprika-cli/config.json)
Raw Output (--raw)
Remove the _meta wrapper from JSON output:
false
The
--raw flag only affects JSON output. Use it when piping data to other tools like jq.Getting Help
Command List
See all available commands:Command Details
Get help for a specific command:Version Information
Command Categories
Commands are organized by functionality:Market Data
global- Global market overview
Coins
coins- List all coinscoin- Get coin detailscoin-events- Get coin eventscoin-exchanges- Get exchanges for a coincoin-markets- Get markets for a coin
Tickers
tickers- List all tickersticker- Get ticker for a specific cointicker-history- Historical ticker data (paid)
OHLCV
ohlcv- Historical OHLCV data (paid)ohlcv-latest- Latest full day OHLCVohlcv-today- Today’s incomplete OHLCV
Exchanges
exchanges- List exchangesexchange- Get exchange detailsexchange-markets- Get markets on an exchange
Contracts
platforms- List contract platformscontracts- List contracts on a platformcontract-ticker- Get ticker by contract addresscontract-history- Historical contract data (paid)
Search & Convert
search- Search for coins, exchanges, people, tagsconvert- Convert between currencies
Configuration
config show- Show current configurationconfig set-key- Set API keyconfig reset- Reset configuration
Utilities
status- Check API healthplans- View pricing plansonboard- Interactive setup wizardcheck-update- Check for CLI updatesattribution- Get attribution snippetsshell- Interactive REPL mode
Exit Codes
The CLI uses standard exit codes:0- Success1- Error (API error, invalid input, etc.)