Overview
Manage CoinPaprika CLI configuration, including API key storage and settings display. Theconfig command has three subcommands:
show— Display current configurationset-key— Save your API keyreset— Delete configuration file
Subcommands
show
Display the current CLI configuration, including API key status and configuration file location.Usage
Options
Output format:
table or jsonJSON output without
_meta wrapperExamples
Response Fields
Path to the configuration file (e.g.,
~/.config/coinpaprika-cli/config.toml)Masked API key (e.g.,
sk-...abc123), or null if no key is setWhere the API key is loaded from:
file, env, flag, or noneAPI base URL (
api.coinpaprika.com for free tier, api-pro.coinpaprika.com for paid)set-key
Save your CoinPaprika API key to the configuration file.Usage
Arguments
Your CoinPaprika API key (get one at coinpaprika.com/api/pricing)
Examples
Output
reset
Delete the CLI configuration file, removing all saved settings including the API key.Usage
Examples
Output
Configuration File Location
The config file is stored at:- Linux/macOS:
~/.config/coinpaprika-cli/config.toml - Windows:
%APPDATA%\coinpaprika-cli\config.toml
File Format (TOML)
API Key Priority
When multiple API keys are provided, the CLI uses this priority order:Examples
First-time setup
Check which key source is active
Temporarily use a different key
Remove your key
Related Commands
status
Check API health and response time
key-info
Check API key status and usage
plans
View pricing plans
Notes
- API keys are required for Starter, Business, and Enterprise plans
- Free tier works without an API key (20,000 calls/month)
- Keys are stored in plain text in the config file (file permissions: 600)
- Use environment variables in CI/CD to avoid committing keys