Field mapping
Search queries
With a coding agent
Check the fit first
Switch company enrichment in five minutes
This is the shortest path: one enrichment call by website, moved to the V2 API with the Python SDK.Get an API key
COMPANYENRICH_API_KEY. Check it with GET /v2/me, which is free:Install the SDK
Replace the call
stripe.com. Coresignal also accepts full URLs, so strip the scheme, www., and any path from the values you pass.Update the fields you read
Keep your not-found handling
404 when there is no match, and neither charges for it. The SDK raises NotFoundError.What takes longer
Migrate with a coding agent
A coding agent can do the inventory, the rewrite, and the tests. Give it this prompt in your repository:Move your MCP setup
If your agent uses the Coresignal MCP server, add the CompanyEnrich server. The hosted server is athttps://mcp.companyenrich.com/mcp. For example, in Claude Code:
Scripts that call Coresignal
Coresignal has no CLI, so scripts usually call the API withcurl. The CompanyEnrich CLI covers the same company and people workflows. Its search flags are named after the CompanyEnrich filters, so rewrite each clause as a flag, or send the full request body with companyenrich api.
set -e, or the script stops at the first unknown domain.
Endpoint mapping
Search, then collect
Most Coresignal integrations search first, which returns record IDs, then collect each ID, which returns the full record. CompanyEnrich search returns full records, so the two steps become one search call:Company
People
Supporting APIs
Request and response differences
Authentication
Response shape
Field names
Coresignal’s documentation and its OpenAPI specification spell some fields differently. The documentation usesprofessional_network_url, professional_network_shorthand_name, financial_website_url, and company_id. The specification uses linkedin_url, linkedin_shorthand_name, crunchbase_url, and id. The field mapping lists both spellings, so search your code for whichever it reads.
Field selection
Coresignal returns the full record by default.bundle limits it to the core bundle plus the bundles you name, and fields narrows it further. CompanyEnrich always returns the base record. The company base record includes name, domain, description, industry, size and revenue ranges, location, and social profiles. Add financial, keywords, naicsCodes, technologies, or workforce with expand, and company or education on a person.
bundle and fields lists into an expand list that holds only the expansions your code reads. Each expansion adds credits.
Matching
Neither API returns a confidence score for enrichment:- Enrichment by domain looks up that domain. Coresignal also accepts full URLs, so normalize them to a bare domain first.
- Enrichment by a social profile URL requires the URL to match. If several companies match, CompanyEnrich returns the highest-ranked one.
- A person lookup by work email returns the person, or
404. There is no lookup by profile URL.
Status codes
NotFoundError, PaymentRequiredError, and RateLimitError.
Billing behavior that affects your code
These differences change how you write retries, guards, and tests. Prices for each endpoint are in Credits.- No match is free on both APIs. CompanyEnrich enrichment that finds nothing returns
404and is not charged. - Search returns records, and is charged per result. Coresignal search returns IDs at no cost. CompanyEnrich search returns full records, so there is no separate collect call, and an empty search costs one result’s base price. Size a new query with the free count endpoint first.
- Extra company fields are expansions. Each one you request adds 1 credit per company returned, so request only the ones your code reads.
- Work emails are a separate call.
GET /v2/people/{personId}/emailcosts 10 credits only when it finds an email your account has not accessed before. - Responses report their cost. Read
x-credit-costandx-credit-remainingfrom the response headers, in place ofx-credits-remaining.
Pagination
after values do not work on CompanyEnrich, so restart any paging job from the first page. If your code needs a sorted list, fetch every page, then sort. The Python SDK pages for you with search_all().
Rate limits
Coresignal limits data requests per second by plan, and returns503 when a search does not finish within 10 seconds. CompanyEnrich applies a global limit of 500 requests per minute per IP address and a per-route limit from your plan, reported in x-ratelimit-limit, x-ratelimit-remaining, and x-ratelimit-window. A batch of 50 domains is one request. The SDKs wait and retry on 429. See Rate limits.
Values and URLs
IDs
Coresignal IDs and CompanyEnrich IDs are separate. Coresignal company and employee IDs are integers. CompanyEnrich company IDs are UUIDs, and person IDs are 64-bit integers, so keep them in separate columns. Store the CompanyEnrich ID next to the Coresignal ID, and re-key company data on its domain.Verify parity on your own data
Before you move production traffic, measure CompanyEnrich on records you already have. This makes no Coresignal requests.Check your key and plan
GET /v2/me. It is free and returns your balance and plan capabilities.Pick a sample
Compare the fields you read
equal, differ, only Coresignal, only CompanyEnrich, or both empty. Fields marked lossy in the field mapping differ by definition, so leave them out or compare them by hand.Check searches and people
compare.py
compare.py
Cut over
- Put the CompanyEnrich path behind a feature flag and keep Coresignal as the fallback until the parity results meet the thresholds you set.
- Store CompanyEnrich IDs next to Coresignal IDs.
- Log
x-credit-costper call while both paths run. - Move reads first, then writes to stored records, then remove the Coresignal calls, keys, and MCP configuration you no longer use.
When to keep Coresignal
Keep Coresignal, or another source, for these workloads:- Collect calls on stored Coresignal IDs, and employee enrichment by profile URL or shorthand name.
- Real-time employee profile scrapes.
- Job postings, company and employee posts, and webhooks for profile or experience changes.
- Company sections such as web traffic, employee and product reviews, salaries, news, key executives, competitors, acquisitions, and parent companies.
- Employee fields such as skills, certifications, salary estimates, GitHub data, and social activity.
- Searches that need OR across fields, sorting, fuzzy or wildcard matching, location text, SIC codes, skills, or job postings.
- Flat-file datasets delivered to cloud storage, and agentic search that returns a generated Elasticsearch query.
What you can add after migrating
Semantic company search
Similar companies
Company headcount
MCP server
Common questions
Can I keep using my Coresignal IDs?
Can I keep using my Coresignal IDs?
Do I still need a collect step after a search?
Do I still need a collect step after a search?
Can I enrich a person by profile URL?
Can I enrich a person by profile URL?
POST /v2/people/enrich, and people search returns full records. Keep Coresignal for profile URL lookups.Can I send Elasticsearch DSL queries?
Can I send Elasticsearch DSL queries?
How do I get the total number of results?
How do I get the total number of results?
Are there webhooks?
Are there webhooks?
updatedAt, headcount, or funding, or re-run a search and compare IDs.Do batch and bulk enrichment need a specific plan?
Do batch and bulk enrichment need a specific plan?