> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bigdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Bigdata CLI

The **Bigdata CLI** is a command-line interface to the Bigdata.com REST API. It lets agents and developers query Bigdata Services from the terminal, pipe results into other tools, and orchestrate workflows in scripts or CI.

Coding agents and automation pipelines work natively with shell commands. The Bigdata CLI exposes Bigdata Services in a form agents can call, parse, and compose without writing any HTTP client code, making it straightforward to ground agent workflows in premium financial content.

It currently supports the **Search** and **Knowledge Graph** endpoints, with more services coming soon.

<Note>
  The Bigdata CLI is currently in **Beta**. We'd love to hear about your use cases: where you're using the CLI, and any frictions you run into. Reach out at [support@bigdata.com](mailto:support@bigdata.com) to help us shape what comes next.
</Note>

## Get started

<Steps>
  <Step title="Installation">
    The CLI is published on PyPI as [`bigdata-cli`](https://pypi.org/project/bigdata-cli/).

    <CodeGroup>
      ```bash uv (recommended) theme={null}
      uv tool install bigdata-cli
      ```

      ```bash pip theme={null}
      pip install bigdata-cli
      ```

      ```bash pipx theme={null}
      pipx install bigdata-cli
      ```
    </CodeGroup>

    Two entry points are available after installation: `bigdata` (full name) and `bd` (short alias).
  </Step>

  <Step title="Create an API Key">
    You can create your API Key in the [Developer Platform > API Keys](https://platform.bigdata.com/api-keys).

    <img src="https://mintcdn.com/ravenpackinternational/f62VnqoeoLD7OgQl/images/authentication/api_key_settings.png?fit=max&auto=format&n=f62VnqoeoLD7OgQl&q=85&s=cf16d5701fa628a8ec548137caa2fa18" alt="Developer Platform > API Keys" data-og-width="1536" width="1536" data-og-height="689" height="689" data-path="images/authentication/api_key_settings.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/ravenpackinternational/f62VnqoeoLD7OgQl/images/authentication/api_key_settings.png?w=280&fit=max&auto=format&n=f62VnqoeoLD7OgQl&q=85&s=8cc7a63e03af48aaa3cb5d1f4d697128 280w, https://mintcdn.com/ravenpackinternational/f62VnqoeoLD7OgQl/images/authentication/api_key_settings.png?w=560&fit=max&auto=format&n=f62VnqoeoLD7OgQl&q=85&s=1c74493718b528caf178749e536dc404 560w, https://mintcdn.com/ravenpackinternational/f62VnqoeoLD7OgQl/images/authentication/api_key_settings.png?w=840&fit=max&auto=format&n=f62VnqoeoLD7OgQl&q=85&s=53a485901a8d4ea94b9d1c689d9255c4 840w, https://mintcdn.com/ravenpackinternational/f62VnqoeoLD7OgQl/images/authentication/api_key_settings.png?w=1100&fit=max&auto=format&n=f62VnqoeoLD7OgQl&q=85&s=62c0768c1fbdcf18d17f9331b381ad4c 1100w, https://mintcdn.com/ravenpackinternational/f62VnqoeoLD7OgQl/images/authentication/api_key_settings.png?w=1650&fit=max&auto=format&n=f62VnqoeoLD7OgQl&q=85&s=ef7be32d0790f9e1a1a9b2f03a8fe709 1650w, https://mintcdn.com/ravenpackinternational/f62VnqoeoLD7OgQl/images/authentication/api_key_settings.png?w=2500&fit=max&auto=format&n=f62VnqoeoLD7OgQl&q=85&s=1311b4ec9fe05b5d341614768ceed10f 2500w" />
  </Step>

  <Step title="Configure the API Key">
    Run the interactive configuration command, which prompts for your key and profile (The default profile is `default`):

    ```bash theme={null}
    bigdata configure
    ```

    For CI or scripts, configure non-interactively:

    ```bash theme={null}
    bigdata configure --non-interactive --api-key your-api-key
    ```

    Or set the key via environment variable instead:

    ```bash theme={null}
    export BIGDATA_API_KEY=your-api-key
    ```
  </Step>

  <Step title="Try it out">
    **Discover the available commands:**

    ```bash theme={null}
    bigdata --help
    bigdata search --help
    bigdata find --help
    bigdata resolve --help
    ```

    **Run your first queries:**

    Search across news, filings, and transcripts, returning the top 5 most relevant matched document chunks:

    ```bash theme={null}
    bigdata search run "Tesla AI chips" --limit 5
    ```

    Discover entities in the Knowledge Graph (fuzzy search):

    ```bash theme={null}
    bigdata find companies "Apple"
    ```

    Resolve a known identifier to a stable entity (deterministic lookup):

    ```bash theme={null}
    bigdata resolve isin US0378331005
    ```

    ```bash theme={null}
    bigdata search run "earnings" --entity-any-of DD3BB1 --limit 10
    ```

    Aggregate signals over time:

    ```bash theme={null}
    bigdata search volume "Tesla" --date-start 2025-01-01 --date-end 2025-03-31
    ```

    ```bash theme={null}
    bigdata search co-mentions-entities "AI chips" --limit 10
    ```
  </Step>
</Steps>
