Skip to main content
The Redbark CLI brings your accounts, balances, transactions, and brokerage data into the terminal — as clean tables for reading, or raw JSON for piping into scripts. It is a thin client over the REST API and is open source on GitHub.
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

Runs on Node.js 18+ or Bun. Verify the install with redbark --version.

Authentication

Create an API key at app.redbark.com/settings, then:
The key is verified against the API before being saved to ~/.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:
Check your auth state at any time with redbark whoami, and remove the saved key with redbark logout.

Commands

redbark transactions only needs --account — the CLI resolves the owning connection for you. Pass --connection as well to skip the lookup.

Examples

Tables are plain aligned text with no borders, so 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.

Troubleshooting

Source

The CLI is Apache-2.0 licensed at github.com/redbark-co/cli. Bug reports and PRs are welcome; security issues go to security@redbark.com per the repo’s SECURITY.md.