CLI access uses your API key, so it requires an active Developer or Professional plan — the same access as the REST API. Brokerage commands (
holdings, trades) additionally require a Professional plan.Install
- npm
- bun
redbark --version.
Authentication
Create an API key at app.redbark.com/settings, then:~/.config/redbark/config.json with owner-only permissions (0600). It is only ever sent to api.redbark.com over HTTPS.
For scripts and CI, skip login and pass the key in the environment instead — it takes precedence over the saved config:
redbark whoami, and remove the saved key with redbark logout.
Commands
Examples
grep and awk work on them directly. Add --json to any command for the raw API response.
Rate limits
The CLI is subject to the same per-key rate limits as direct API calls.redbark whoami shows your remaining headroom, and the CLI honours Retry-After messaging when a limit is hit.