Enrich one company
enrich_companyRetrieve a full profile for one known company by Generect ID, LinkedIn URL, domain, or name. Use it to add detailed company data to B2B lead records.
Instructions
Full profile for ONE known company, by Generect id, LinkedIn URL, domain, or name. BILLABLE — about $0.0067 per record found (not-found is refunded) (Tier 0 list price; your account may pay a different rate — call get_balance for your real prices, and read cost.amount_charged in every response for what was actually spent). Not found costs nothing. Domain is the most reliable identifier after id; name matching is fuzzy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Generect company id. | |
| mode | No | Data mode. "database" = Generect's own index: sub-second, free counts, free thin rows (see detail) or cheaper full rows; it accepts a subset of the filters today and names any it rejects. "realtime" = live LinkedIn lookup, 5–60s, billed per row, accepts every realtime filter. "auto" (default) tries database first and escalates to realtime only if a filter you passed is rejected there (the escalation is reported, and is refused above the per-call spend ceiling). Pick "database" explicitly when a recent cached record is good enough and cost matters more than freshness. | |
| name | No | Company name (fuzzy match). | |
| domain | No | Company domain without protocol, e.g. "stripe.com". | |
| compact | No | Default true: return a small per-company summary (including the Generect `id`, which every later step accepts). Set false for the full raw record (~80 fields) — only worth it when you specifically need skills, education or other deep fields. | |
| timeout_ms | No | Request timeout in milliseconds. | |
| linkedin_url | No | LinkedIn company page URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | ||
| lead | No | ||
| mode | No | ||
| found | No | ||
| company | No | ||
| test_mode | No | ||
| test_mode_notice | No | ||
| vocabulary_warnings | No | ||
| deprecated_params_ignored | No |