Skip to main content

Installation

After installing, the databar command is available in your terminal.

Authentication

Your key is saved to ~/.databar/config with 600 permissions (owner read-only). You can also set the DATABAR_API_KEY environment variable — it takes priority over the config file:

Output formats

Every command supports --format with three options:

Enrichments


Waterfalls


Tables


Tasks

For long-running operations, tasks can be checked manually or polled until completion:

AI agent usage

The CLI is designed to be invoked by AI agents (Claude Code, Cursor, etc.) with --format json for machine-readable output:
Exit codes follow Unix conventions — 0 on success, non-zero on error. Errors are written to stderr; data is written to stdout, so piping always works cleanly.

Environment variables


Source code

databar-ai/databar-python

The CLI is open source. View source, report issues, and contribute on GitHub.