# Query a company database by what firms do, and get records back as JSON

company.search queries a company database with a keyword and, if you want, LinkedIn industry names, a headcount band and a location. Each match comes back with name, domain, website, LinkedIn URL, industry, employee range and count, headquarters and the company's own description. When the database finds nothing, a live LinkedIn company search runs next inside the same call.

HTML page: https://www.routergrowth.com/tools/data-enrichment/company-database
Part of: [Data enrichment tools](https://www.routergrowth.com/tools/data-enrichment.md)

## The call

[`company.search`](https://www.routergrowth.com/catalog/company.search): Companies matching a keyword, optionally filtered by location, employee range and industry: name, website, industry, size, headquarters and description. A company database answers first; a live LinkedIn company search follows when it finds nothing.

Price on this network: $0.000374 per search plus $0.002 per call. The exact quote is shown before every run.

## What a real run returned

Run on 2026-11-23: 8 records in 0.6 s for $0.003708. Personal fields are masked. One search for cybersecurity in the Computer and Network Security industry, with no location, returned 8 companies from 5 countries; the database reported 14,995 matches in all.

| name | industry | employee_range | domain | hq |
|---|---|---|---|---|
| Tjakrabirawa Teknologi Indonesia | Computer and Network Security | 11-50 | tjakrabirawa.id | Jakarta, Indonesia |
| Milli Micro Systems | Computer and Network Security | 11-50 | mmsgov.com | Northridge, CA, United States |
| ConnectUp IT Solutions | Computer and Network Security | 1-10 | connectupitsolutions.com | Gurugram, India |

## How to do it

1. **Pick the industry name.** Use the LinkedIn industry label, such as Computer and Network Security. A niche word like fintech belongs in query.
2. **Add a keyword.** query narrows the industry to firms whose profile mentions it.
3. **Run company.search.** Set limit to the number of records you want back; you pay per company returned on the database route.
4. **Hand the domains on.** Each record carries a domain, ready for company.enrich or people.search.

## Ask it like this

- Find 20 companies in Computer and Network Security that mention penetration testing, and list their domains and headcount. (`company.search`)
- From those companies, keep the ones with 11 to 50 staff and find their heads of sales. (`company.search`, `people.search`)
- Enrich each of these security firms and tell me which ones list a founding year before 2015. (`company.enrich`)

## Connect

MCP server: `https://api.routergrowth.com/mcp`

```bash
claude mcp add --transport http routergrowth https://api.routergrowth.com/mcp
```

```bash
npm install -g routergrowth && routergrowth setup
routergrowth run -c company.search -i '{"query": "cybersecurity", "industries": ["Computer and Network Security"], "limit": 8}'
```

```bash
curl -X POST https://api.routergrowth.com/v1/run \
  -H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \
  -d '{"capability": "company.search", "input": {"query": "cybersecurity", "industries": ["Computer and Network Security"], "limit": 8}}'
```

## Worth knowing

- **Location is a separate filter.** Without location, results span every country. This run mixed Indonesia, India, the UAE, Morocco, the UK and the US.
- **Industry is self-declared.** The industry comes from the company's own profile. A podcast and a training firm can sit in the same security industry as a product vendor.
- **Not every field is filled.** founded and followers were empty for all 8 records in this run. Run company.enrich on the ones you keep for more detail.

## Questions

### What does one company record contain?

Name, domain, website, LinkedIn URL, industry, employee range and count, headquarters, specialties and the company's description.

### Can I filter by more than one industry?

Yes. industries takes a list and any of them matches. Use the exact LinkedIn industry names.

### Is this a download of the whole database?

No. Each call returns the matches you ask for, up to the limit you set. The run reports the total number of matches beside them.

### What happens when nothing matches?

A live LinkedIn company search tries next. If neither finds anything, the run ends as no match and nothing is charged.

## Related

- [Search American companies by what they do, with the United States as the filter](https://www.routergrowth.com/tools/data-enrichment/us-company-database.md)
- [Find companies in the United Kingdom by trade, with their domain and postcode](https://www.routergrowth.com/tools/data-enrichment/uk-company-database.md)
- [Find small businesses by headcount band, keyword and city](https://www.routergrowth.com/tools/data-enrichment/small-company-database.md)
- [Look up privately held firms the same way as any other company](https://www.routergrowth.com/tools/data-enrichment/private-company-database.md)
- [Turn a contact's LinkedIn URL into a complete professional profile](https://www.routergrowth.com/tools/data-enrichment/contact-enrichment.md)
- [Send a work email or LinkedIn URL, receive a contact record as JSON](https://www.routergrowth.com/tools/data-enrichment/contact-enrichment-api.md)
- [POST a keyword and filters, get a JSON list of matching companies](https://www.routergrowth.com/tools/data-enrichment/company-search-api.md)
- [Search Indian companies by industry, keyword and city](https://www.routergrowth.com/tools/data-enrichment/company-database-india.md)
- [Several company data sources, one call: try them in order, pay on a match](https://www.routergrowth.com/tools/data-enrichment/firmographic-data-providers.md)
- [Size, industry, location and age of a company, from one domain](https://www.routergrowth.com/tools/data-enrichment/firmographic-data.md)
- [What a company is and what it runs, from two calls on the same domain](https://www.routergrowth.com/tools/data-enrichment/firmographic-technographic-data.md)
- [See which ecommerce, analytics, CDN and tag tools a site runs](https://www.routergrowth.com/tools/data-enrichment/website-technology-checker.md)
