# Company Enrich `POST https://api.getprospect.com/v2/companies/enrich` Retrieve the full profile of one company - industry, headcount, locations, domains and LinkedIn data. Look it up by GetProspect id, LinkedIn id or URL, web domain, or name; when several identifiers are sent the strongest wins (id, then linkedin_id, linkedin_url, domain, name). When no company matches, the answer is still 200, with data null and a NOT_FOUND entry in errors. Free: spends no credits; 1 unit of the enrich rate limit, none for a company your workspace saved. Authenticate with your API key in the x-api-key header. > **How are credits spent?** > > Company Enrich is free - matching and returning a company profile never > charges credits. ## How matching works Provide any identifier you have inside `data`. They are tried in order of reliability - `id`, then `linkedin_id`, `linkedin_url`, `domain`, and finally `name` - and the first one that finds a company wins. The `id` and LinkedIn lookups are exact; the name lookup is the fuzziest, so prefer the domain when you have both. When nothing matches, the `404` response lists which identifiers were `attempted`, so you can tell a bad input from a genuinely unknown company. ## What you get back A full [Company object](https://getprospect.com/api-docs/company-object.md). To fetch the people who work there, pass the returned `id` to [People Search](https://getprospect.com/api-docs/people-search.md)'s `company.id` filter. ## Authentication Pass your API key in the `x-api-key` header. ## Body parameters - `data` (object, required): Lookup identifiers. Provide at least one of id, linkedin_id, linkedin_url, domain, or name. - `id` (string, optional): The GetProspect company `id`, as returned by Company Search and in People Search results. - `linkedin_id` (one of, optional): The LinkedIn company ID (numeric, accepted as string or number), e.g. 2491343. - `linkedin_url` (string, optional): The LinkedIn company URL (e.g. "https://linkedin.com/company/stripe"). - `domain` (string, optional): The company domain (e.g. "stripe.com"). - `name` (string, optional): The company name (e.g. "Stripe"). ## Example request ```bash curl --request POST \ --url https://api.getprospect.com/v2/companies/enrich \ --header 'Content-Type: application/json' \ --header 'x-api-key: YOUR_API_KEY' \ --data ' { "data": { "domain": "intercom.com" } } ' ``` ## Response 200 The company, and in `metadata.matched_by` the key that found it. When none matched, `success` is false, `data` is null and `errors[0].name` is `NOT_FOUND`, with the keys tried in `payload.attempted`. ```json { "success": true, "data": { "id": "696fb12757da999990585cfd", "name": "Intercom", "description": "We’re Intercom — the AI customer service company helping businesses deliver incredible customer experiences at scale.\n\nOur platform combines Fin, the #1 AI Agent for customer service, with our next-generation Helpdesk, a modern workspace that gives support teams the power, speed and intelligence they need.", "logo": "https://logos.getprospect.com/ecb5a93f5fb0f0718eaf4f75634c3cf5.jpg", "website": "intercom.com", "email": { "domain": "intercom.com", "provider": null }, "linkedin_url": "https://linkedin.com/company/intercom", "industry": "Software Development", "keywords": [ "Customer Support", "Live Chat", "Marketing Automation", "Customer Relationship Management", "Customer Experience", "Customer Engagement", "Customer Service", "Mobile", "Customer Feedback", "AI", "Helpdesk", "CX", "Chat Bots", "Customer Communication", "Support Automation", "Shared Inbox" ], "naics_codes": [ 5112, 51121, 511210, 513210 ], "type": "Privately Held", "business_type": "B2B", "revenue_stream": "Subscriptions / Recurring", "founded": 2011, "employee_count": 5000, "employee_range": "+1 555-010-0026", "location": { "city": "San Francisco", "state": "California", "state_code": "CA", "country": "United States", "country_code": "US", "raw_address": "55 2nd Street, 4th Floor, San Francisco, California 94105, US" }, "other_locations": [ { "city": "Dublin", "state": "Leinster", "state_code": "L", "country": "Ireland", "country_code": "IE", "raw_address": "2nd Floor, Stephen Court, 18-21 St. Stephen’s Green, Dublin, Dublin 2, IE" }, { "city": "Greater London", "state": "England", "state_code": "ENG", "country": "United Kingdom", "country_code": "GB", "raw_address": "1 Primrose St., Unit 3044, Level 3, London, England EC2A 2EX, GB" }, { "city": "Chicago", "state": "Illinois", "state_code": "IL", "country": "United States", "country_code": "US", "raw_address": "1330 W Fulton Market, Suite 75, Chicago, Illinois 60607, US" }, { "city": "Sydney", "state": "New South Wales", "state_code": "NSW", "country": "Australia", "country_code": "AU", "raw_address": "285a Crown St, Upper Ground Floor, Surry Hills, New South Wales 2010, AU" } ], "saved": null }, "metadata": { "timestamp": "2026-10-02T12:27:10.726Z", "matched_by": "domain" } } ``` ## Response 400 Invalid request (`VALIDATION_ERROR`; `payload.code` says which kind of mistake). ```json { "success": false, "data": null, "metadata": { "timestamp": "2026-10-02T12:27:10.726Z" }, "errors": [ { "name": "VALIDATION_ERROR", "message": "data.website is not a field of this request", "payload": { "field": "data.website", "code": "unknown_field", "received_value": "stripe.com", "received_type": "string", "allowed_fields": [ "id", "linkedin_id", "linkedin_url", "domain", "name" ] } } ] } ``` ## Response 401 Missing, unknown or inactive credentials (`UNAUTHORIZED`). ## Response 429 Over the `enrich` rate limit (`RATE_LIMIT`); wait `Retry-After` seconds. Sent only where rate limits are enforced. ## Response 500 Unexpected server error.