Company Search API
Query 40M+ company profiles on demand. Flexible SQL-like filters with up to 100 results per query.
Query Results in Seconds
POST /company/search
Content-Type: application/json
API-Key: YOUR_API_KEY
{
"query": "SELECT * FROM companies WHERE industry ILIKE '%software%' AND size='201-500'",
"limit": 10
}{
"matches": [
{
"company": {
"legion_id": "d9e0f1a2-b3c4-5d6e-7f8a-9b0c1d2e3f4a",
"name": { "cleaned": "acme software", "raw": ["Acme Software"] },
"domain": "acmesoftware.com",
"industry": "computer software",
"size": "201-500",
"type": "private",
"legion_employee_count": 350,
"legion_employee_growth_rate": {
"1m": 0.02, "3m": 0.06,
"6m": 0.11, "12m": 0.19
}
}
}
],
"total": 1
}Powerful Query Capabilities
Build complex queries with familiar SQL syntax and flexible filtering options.
SQL-Like Syntax
Use familiar WHERE clauses to filter by any field in our company schema.
Flexible Filters
Filter by name, domain, industry, size, type, employee count, growth rate, and more.
Bulk Results
Get up to 100 matching company profiles per query.
Workforce Metrics
Query workforce metrics like employee count, growth rates, and distributions.
Built for Modern Workflows
The Company Search API is designed for teams that need on-demand access to company data.
Market Mapping
Build targeted account lists based on firmographic and workforce criteria.
- Find companies by criteria
- Filter by size and industry
- Export to CRM
Competitive Analysis
Analyze competitors by firmographics, workforce composition, and growth signals.
- Industry benchmarking
- Workforce comparison
- Growth tracking
Investment Screening
Screen investment targets based on workforce growth and company fundamentals.
- Filter by growth rate
- Screen by employee count
- Identify trends
Territory Planning
Build territory plans based on company density, size, and industry distribution.
- Account assignment
- Market segmentation
- Coverage planning
Search API vs Other Options
Choose the access method that fits your use case. Same data, different delivery.
Enrichment API Beta
Match and append company data
- 6 matching methods
- Confidence scores
- Per-record enrichment
Search API Beta
Query companies on demand via API
- Flexible SQL queries
- Up to 100 results
- Workforce metrics
- 50 requests per minute
Discovery API Beta
Natural language company search
- Natural language queries
- AI-powered matching
- No query syntax required
Data License
Bulk file delivery for full dataset access
- Full dataset access
- Monthly refreshes
- Your infrastructure
Common Questions
What users of our Company Search API ask us most