Company Enrichment
Company Enrichment API endpoint: match companies by domain, name, LinkedIn ID, social URL, or ticker and append 50+ firmographic and workforce data points.
Minimum Requirements
Every request must include at least one identifier. Requests with no identifiers return400 Bad Request.
Identifiers
| Field | Description | Example |
|---|---|---|
legion_id | Company Legion ID (exact match) | c8a1b2c3-d4e5-6f7a-8b9c-0d1e2f3a4b5c |
domain | Company website domain | google.com |
name | Company name (fuzzy matching) | Google |
linkedin_id | LinkedIn company numeric ID | 1441 |
social_url | LinkedIn company page or other social URL | https://linkedin.com/company/google |
ticker_symbol | Stock ticker symbol | GOOGL |
Qualifiers
These fields refine matching but are not sufficient on their own:| Field | Description |
|---|---|
industry | Narrows name-based matching (e.g., "technology") |
Authorizations
Body
Request model for company enrichment.
Company Legion ID (exact match)
Company website domain (e.g., google.com)
Company name (fuzzy matching)
LinkedIn company numeric ID
Social profile URL (LinkedIn, Facebook, Crunchbase, X/Twitter, GitHub - will be normalized and detected)
Stock ticker symbol (e.g., GOOGL)
Industry filter (used with name matching for better accuracy)
If true, return multiple matches sorted by confidence
Maximum results when multiple_results=true (default: 2, max: 10)
1 <= x <= 10Minimum match confidence: 'high', 'moderate', or 'low'
If 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 that must be present, else the match is filtered out. Supports top-level fields ('domain,socials'), a non-empty list subfield ('socials.network'), or a subfield equal to a value ('type:public', 'socials.network:linkedin'). Unknown field names or out-of-range enum values return HTTP 400.
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.
Response
Success - company/companies found
List of matches sorted by confidence (descending). Capped at the request's limit.
For /company/search and /company/discover, the total number of rows matching the query's WHERE clause across the database (not just this page). For /company/enrich, the number of matches found for the input identifier. On search/discover, if the count subquery fails or times out, this falls back to the size of the returned page; the response header Total-Count-Status distinguishes the two cases.