[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [Village company search](https://spiral.ai/integrations/n8n/village-company-search)

# How to Use Village company search in n8n

Find matching companies with names, domains, employee counts, industries, descriptions, and locations. Use it to build a shortlist by business criteria before researching individual companies.

|  |  |
| --- | --- |
| Model | Village company search |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | Up to $0.87295 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Village company search in n8n

- Each month, use Village company search to find software companies with 50 to 200 employees in California and list companies absent from the previous month's results.
- Each month, use Village company search to find fintech companies in London and produce a table of returned names, domains, descriptions, and employee counts.
- On the first Monday of each month, use Village company search to find healthcare companies in Boston and compare the returned company list with the previous run.
- Every Monday at 9am: use Village company search to look this up and give me the result as a table.
- Pull the latest numbers from Village company search and tell me what changed since last week.

## How to set up Village company search in n8n

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

### Use the Spiral skill

1. **Send n8n 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 Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Village company search in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Village company search, prices it and runs it each time the step fires.

### 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 Village 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": "village/companies/search",
    "input": {
      "prompt": "<prompt>"
    }
  }'
```

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

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

## Village company search tools and prices

- [Village · Company search](https://spiral.ai/tools/alexandria/village/companies/search) (Alexandria): Up to $0.87295 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| mode | auto, lookup, simple, complex | — | auto (default), lookup, simple or complex. complex searches take 20 to 60 seconds. |
| limit | 1 to 100 | 25 | Companies per page, 1 to 100. Village's default is 25. The price scales with the companies returned. |
| cursor |  | — | pagination.cursor from the previous page. |
| prompt |  | — | Plain-language search, such as "B2B SaaS companies with 50-200 employees in California". |
| filters |  | — | Structured filters, such as { industry, companySize, country, city, fundingStage, foundedAfter, hiring }. See Village's search-companies reference for every key. |

## What can you do with Village company search in n8n?

Keep a recurring company research brief for a defined sector or a list of business domains. Scheduled agents can compare saved Village responses and report changes in returned descriptions, industries, and employee counts.

### Prepare account briefs

Find companies matching a sales territory, then summarize each account's business description, industry, and employee count. For named accounts, start with their domains.

### Build a competitor comparison

Discover companies in a business category or look up known competitors. Compare their descriptions, locations where returned, and employee counts in a research table.

### Research potential partners

Create a shortlist of businesses in a target industry and region, or investigate named partners. Use company descriptions and websites to prepare a partnership review.

### Fill company records in a CRM

Add company descriptions, industries, websites, and employee counts to existing account records. Search can supply candidate accounts; profile lookups can fill gaps for known domains.

### Maintain a company directory

Populate a sector directory with company names, website links, and short descriptions. Discover entries through search or research a curated list of company domains.

### Compare prospective vendors

Find suppliers in a business category or research an existing vendor shortlist. Organize their company descriptions, industries, and employee counts before a procurement review.

## Overview

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

## Village company search in other agents

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

## More n8n guides

- [Village company profile](https://spiral.ai/integrations/n8n/village-company-profile)
- [Village email finder](https://spiral.ai/integrations/n8n/village-email-finder)
- [Village LinkedIn profile](https://spiral.ai/integrations/n8n/village-linkedin-profile)
- [Village people search](https://spiral.ai/integrations/n8n/village-people-search)
- [Village LinkedIn posts](https://spiral.ai/integrations/n8n/village-linkedin-posts)
- [Village reverse email lookup](https://spiral.ai/integrations/n8n/village-reverse-email-lookup)

## Questions about Village company search in n8n

**Can n8n use Village company search?**

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

**How much does Village company search cost in n8n?**

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

**Do I need an Alexandria account to use Village company search in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Village company search on its own Alexandria account.

**How long does it take to set up Village company search in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while Village company search runs?**

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

**How large is Village's company database?**

Village advertises more than 52 million companies. That database size is not a promise that every query searches every company: its direct search documentation distinguishes network coverage from global coverage.

**How fresh is Village's company data?**

Village describes its database as refreshed quarterly and updated on demand. That describes its refresh approach, rather than guaranteeing that every company record reflects today's information.

**Does every company have an industry classification?**

No. Village reports 479 standardized industries covering 77.9% of companies, so an industry-based shortlist can leave out companies without that classification.

**Where does Village get company information?**

Village documents LinkedIn data supplied through HarvestAPI for company enrichment. When it does not recognize a domain, it can read the company's public website through ScrapingBee.

**Are Village's company records guaranteed to be accurate?**

No. Village's terms expressly decline to guarantee data accuracy, completeness, or reliability, including information made available through the service.

