[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Aviato company search](https://spiral.ai/integrations/opencode/aviato-company-search)

# How to Use Aviato company search in opencode

Returns matching company records and a result count from Aviato's company database. Use it to discover businesses by criteria such as industry, location, and headcount before researching specific companies.

|  |  |
| --- | --- |
| Model | Aviato company search |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | $0.003492 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Aviato company search in opencode

- Use Aviato company search to find US artificial intelligence companies with at least 50 employees, then populate this project's research table with the returned company names and websites.
- Use Aviato company search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Aviato company search and tell me what changed since last week.
- Check Aviato company search and summarize what you find in three bullet points.
- Pull the newest data from Aviato company search and give me the result as a table.

## How to set up Aviato company search in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

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

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 Aviato 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": "aviato/companies/search",
    "input": {
      "dsl": {}
    }
  }'
```

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

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

## Aviato company search tools and prices

- [Aviato · Company search](https://spiral.ai/tools/alexandria/aviato/companies/search) (Alexandria): $0.003492 per call.

## What can you do with Aviato company search in opencode?

Build a company research view that turns Aviato records into business summaries, relationship tables, or timelines. A coding agent can fit the returned company data into your project's existing reports and data structures.

### Screen companies for an investment review

Find companies by sector and size, summarize their business profiles, identify their founders, and arrange recorded funding rounds into a financing timeline.

### Compare competitors' expansion

Find comparable businesses, review their company profiles, summarize recorded workforce departments, and examine which companies they have acquired.

### Map capital activity in a sector

Discover companies in a sector and compare their recorded funding rounds, acquisitions, and outbound investments. Keep financing, investment participation, and acquisitions separate in the analysis.

### Maintain a sector research digest

Repeat a defined company search and compare returned funding, investor, and aggregate workforce records with earlier results. Report additions as newly observed Aviato records until their event dates establish when they occurred.

## Overview

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

## Aviato company search in other agents

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

## More opencode guides

- [Aviato company profile](https://spiral.ai/integrations/opencode/aviato-company-profile)
- [Aviato investor portfolio](https://spiral.ai/integrations/opencode/aviato-investor-portfolio)
- [Aviato company investors](https://spiral.ai/integrations/opencode/aviato-company-investors)
- [Aviato professional profile](https://spiral.ai/integrations/opencode/aviato-professional-profile)
- [Aviato company funding rounds](https://spiral.ai/integrations/opencode/aviato-company-funding-rounds)
- [Aviato professional search](https://spiral.ai/integrations/opencode/aviato-professional-search)

## Questions about Aviato company search in opencode

**Can opencode use Aviato company search?**

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

**How much does Aviato company search cost in opencode?**

$0.003492 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need an Alexandria account to use Aviato company search in opencode?**

No. Spiral runs Aviato 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 Aviato company search in opencode?**

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

**Does opencode wait while Aviato company search runs?**

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

**Does Aviato use only public sources?**

No. Aviato says its data comes from both private and public sources.

**How often does Aviato refresh its data?**

Aviato uses different refresh intervals across its data. Its data overview does not specify one daily or weekly update schedule for all company records.

**Does Aviato have financial information for every company?**

Aviato reports financial data for more than 97.5% of funded companies. That figure applies to funded companies, so it should not be read as coverage of every business or every financing event.

**Does every organization have a geocoded location?**

No. Aviato reports geocoded location data for 70.4% of organizations, so coordinate-based research covers a smaller set than the entire organization database.

**Do Aviato's public website terms allow commercial republication?**

The published website terms permit personal, noncommercial use and restrict reproduction and distribution outside their stated exceptions. That website permission should not be treated as a license to redistribute API data.

