Company Search API endpoint: query company profiles using SQL-like syntax with flexible filtering across 50+ data fields.
SELECT * FROM companies WHERE ... query. Do not include a LIMIT clause — use the limit parameter instead.
| Column | Description |
|---|---|
name_cleaned | Company name |
domain | Primary website domain |
industry | Industry classification |
headline_cleaned | LinkedIn headline |
description_cleaned | Company description |
| Column | Description |
|---|---|
founded | Year founded |
linkedin_followers | LinkedIn follower count |
linkedin_employee_count | Employee count from LinkedIn |
legion_employee_count | Employee count from Data Legion |
legion_average_tenure | Average employee tenure (months) |
| Column | Values |
|---|---|
type | private, public, nonprofit, government_agency, educational |
size | 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+ |
| Column | Description |
|---|---|
legion_new_hire_count_1m / 3m / 6m / 12m | New hires in last 1/3/6/12 months |
legion_attrition_count_1m / 3m / 6m / 12m | Departures in last 1/3/6/12 months |
legion_employee_growth_rate_1m / 3m / 6m / 12m | Growth rate (%) |
legion_turnover_rate_1m / 3m / 6m / 12m | Turnover rate (%) |
| Column | Description |
|---|---|
ticker_symbol / ticker | Stock ticker symbol |
exchange | Stock exchange |
social_url | Social media URLs |
alt_domain | Alternative domains |
Request model for SQL query-based company search.
SQL query against company data (must not contain LIMIT)
1 - 10000Maximum results to return
1 <= x <= 100If true, format text fields in title case (names, company names, locations). Raw fields, IDs, URLs, codes, and confidence fields are excluded.
Comma-separated list of fields to include in response. If omitted, all fields are returned.
Comma-separated list of fields to exclude from response. Applied after include_fields filter.
If true, pretty-print JSON response with indentation.