---
ref: tool:crustdata/search-companies
name: Search companies
company: company:crustdata
workflows: []
access: [cli, api]
tags: [capability:build-audience, category:data-provider, has:api, has:cli]
docs: https://docs.crustdata.com/api-reference/company-apis/search-companies-with-indexed-fields-only
updated: 2026-09-27
---

# Search companies

Searches Crustdata's company database with structured filters, a natural-language query or both, and returns ranked companies with a cursor for the next page.

Up to 100 results per page. Pages cost credits, so follow `next_cursor`
only as far as you need.

## Set up

Use the first option your agent supports.

### CLI (official)

Install the command, then confirm it runs.

```sh
curl -fsSL https://static-assets.crustdata.com/cli/install.sh | sh
crustdata --version
```

Run `crustdata company search`.

Set `$CRUSTDATA_API_KEY` in your environment first (get a key: https://app.crustdata.com/api-keys).

### API (official)

- Base URL: https://api.crustdata.com
- Endpoint: `POST /company/search`
- Auth: send the header `Authorization: Bearer $CRUSTDATA_API_KEY`
- Get a key: https://app.crustdata.com/api-keys
- Docs: https://docs.crustdata.com/openapi-specs/2025-11-01/introduction

Before doing anything else, make one read-only call to confirm access.

## Rules

- Ask the user before anything that sends messages, costs money, or changes data.
- Never print API keys.
