[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [Crustdata company search](https://spiral.ai/integrations/codex/crustdata-company-search)

# How to Use Crustdata company search in Codex

Returns indexed company records matching business criteria or a description of what companies do. Use it to discover prospects and suppliers, then follow pagination for additional matches.

|  |  |
| --- | --- |
| Model | Crustdata company search |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | Up to $0.0226967 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Crustdata company search in Codex

- Use Crustdata company search to find three US companies building distributed-system observability tools and add their returned names, domains, and descriptions to an internal research fixture.
- Use Crustdata company search to find three companies offering warehouse robotics in Germany and format the returned company records using this project's existing table component.
- Use Crustdata company search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Crustdata company search and tell me what changed since last week.
- Check Crustdata company search and summarize what you find in three bullet points.

## How to set up Crustdata company search in Codex

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Crustdata company search**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "crustdata/companies/search",
    "input": {
      "limit": 1
    }
  }'
```

Then paste one of the prompts above: Codex finds Crustdata company search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/codex

## Crustdata company search tools and prices

- [Crustdata · Company search](https://spiral.ai/tools/alexandria/crustdata/companies/search) (Alexandria): Up to $0.0226967 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 3 | 1 | Rows to return, from 1 to 3. Crustdata allows more, and this cap keeps the quote within 100 credits. Omitting it sends 1. |
| sorts |  | — | Filter-only sort directives. Each item has field and order. Sorting is not an extra charge. |
| cursor |  | — | next_cursor from the previous page. |
| fields |  | — | Dot-paths to return. Omit for Crustdata's default, which the pricing guide bills at the 0.03 base. Premium groups are rejected. |
| search |  | — | Ranked search. Same 0.03 credits per returned company as a filter search. Keep the query, mode, and filters stable when passing cursor. |
| filters |  | — | One condition or an and/or group. Premium groups (taxonomy, followers, headcount, funding, hiring, software_reviews, maps, technographics) are rejected because one result would quote above 100 credits. |

## What can you do with Crustdata company search in Codex?

Build an internal company research table from Crustdata's indexed records. A coding agent can combine company matching, search vocabulary, and discovery results with the project's existing account records.

### Prepare an internal target account list

Check Crustdata's search vocabulary, discover companies matching a business description, and resolve known account domains before combining the results.

### Clean company names in a CRM

Explore indexed company-name suggestions, resolve existing names or domains, and search for records that need further review before merging duplicates.

### Plan sales territories

Validate geographic search vocabulary, discover companies in the target market, and match existing customers to company records for an internal territory review.

### Research potential suppliers

Check the vocabulary for a supplier category, discover businesses by their capabilities, and resolve the domains of suppliers already under consideration.

### Build a competitor research brief

Resolve known competitors such as HubSpot and Salesforce, then discover companies with related product descriptions for an internal comparison.

### Review inbound business accounts

Match a business domain to a company record and search for companies with similar offerings to help an account team understand the market.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Codex guides](https://spiral.ai/integrations/codex)

## Crustdata company search in other agents

- [Amp](https://spiral.ai/integrations/amp/crustdata-company-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/crustdata-company-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/crustdata-company-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/crustdata-company-search)
- [Cline](https://spiral.ai/integrations/cline/crustdata-company-search)
- [Cursor](https://spiral.ai/integrations/cursor/crustdata-company-search)
- [Devin](https://spiral.ai/integrations/devin/crustdata-company-search)
- [dots](https://spiral.ai/integrations/dots/crustdata-company-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/crustdata-company-search)
- [Gemini](https://spiral.ai/integrations/gemini/crustdata-company-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/crustdata-company-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/crustdata-company-search)
- [goose](https://spiral.ai/integrations/goose/crustdata-company-search)
- [Grok](https://spiral.ai/integrations/grok/crustdata-company-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/crustdata-company-search)
- [Hermes](https://spiral.ai/integrations/hermes/crustdata-company-search)
- [Instinct](https://spiral.ai/integrations/instinct/crustdata-company-search)
- [Manus](https://spiral.ai/integrations/manus/crustdata-company-search)
- [Muse](https://spiral.ai/integrations/muse/crustdata-company-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/crustdata-company-search)
- [n8n](https://spiral.ai/integrations/n8n/crustdata-company-search)
- [Notion](https://spiral.ai/integrations/notion/crustdata-company-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/crustdata-company-search)
- [opencode](https://spiral.ai/integrations/opencode/crustdata-company-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/crustdata-company-search)
- [Raycast](https://spiral.ai/integrations/raycast/crustdata-company-search)
- [VS Code](https://spiral.ai/integrations/vscode/crustdata-company-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/crustdata-company-search)
- [Zapier](https://spiral.ai/integrations/zapier/crustdata-company-search)

## More Codex guides

- [Crustdata company lookup](https://spiral.ai/integrations/codex/crustdata-company-lookup)
- [Crustdata job filter suggestions](https://spiral.ai/integrations/codex/crustdata-job-filter-suggestions)
- [Crustdata company filter suggestions](https://spiral.ai/integrations/codex/crustdata-company-filter-suggestions)
- [Crustdata job listings](https://spiral.ai/integrations/codex/crustdata-job-listings)
- [CompanyEnrich company domain suggestions](https://spiral.ai/integrations/codex/companyenrich-company-domain-suggestions)
- [Crustdata people filter suggestions](https://spiral.ai/integrations/codex/crustdata-people-filter-suggestions)

## Questions about Crustdata company search in Codex

**Can Codex use Crustdata company search?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Crustdata company search like any built-in tool.

**How much does Crustdata company search cost in Codex?**

Up to $0.0226967 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.

**Do I need an Alexandria account to use Crustdata company search in Codex?**

No. Spiral runs Crustdata company search on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Crustdata company search in Codex?**

About two minutes: add the hosted server, then sign in.

**Does Codex wait while Crustdata company search runs?**

Crustdata company search runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

**How broad is Crustdata's company coverage?**

Crustdata advertises more than 60 million company records. Its documentation describes company coverage as worldwide.

**Where does Crustdata get its company data?**

Crustdata says it combines more than 15 sources into one company record and indexes the data directly from the public web.

**How fresh is the indexed company data?**

Crustdata refreshes indexed company profiles at least once every 30 days. The most active profiles may refresh daily.

**Does Crustdata provide official company registration records?**

Crustdata describes this data as B2B company intelligence and explicitly excludes legal-registry and filings lookup.

**Does a company match include a full profile?**

Company Identify currently returns match metadata and basic company information. A confidence-ranked identity match does not provide every company-data section.

