Skip to main content
This guide is for engineers whose code, scripts, or AI agents call the Coresignal API and are moving some or all of those calls to the CompanyEnrich V2 API. It maps each Coresignal endpoint, lists the behavior that changes in your code, and shows how to check the result on records you already have before you switch traffic.
Coresignal behavior on these pages was checked against Coresignal’s public documentation and OpenAPI specification on November 25, 2026. The mapping covers the Multi-source Company and Employee APIs, the Contact Enrichment API, and Bulk Collect. Base and Clean endpoints map to the same CompanyEnrich endpoints, but their record fields are not covered. CompanyEnrich behavior comes from the V2 API reference. The full mapping is also available as JSON at /migrations/coresignal.json.

Field mapping

Every Coresignal company and employee field, with its CompanyEnrich counterpart.

Search queries

Translate Elasticsearch DSL queries and Search Filters.

With a coding agent

Instructions a coding agent follows to migrate your codebase.

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.
1

Get an API key

Create a key at app.companyenrich.com/access-keys and export it as COMPANYENRICH_API_KEY. Check it with GET /v2/me, which is free:
2

Install the SDK

The Python SDK needs Python 3.10 or later. There are also SDKs for JavaScript, Ruby, and PHP, and a CLI.
3

Replace the call

Send a bare domain, such as stripe.com. Coresignal also accepts full URLs, so strip the scheme, www., and any path from the values you pass.
4

Update the fields you read

The field mapping covers every other field.
5

Keep your not-found handling

Both APIs return 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:
See Migrate with a coding agent for what the agent does and the rules it follows.

Move your MCP setup

If your agent uses the Coresignal MCP server, add the CompanyEnrich server. The hosted server is at https://mcp.companyenrich.com/mcp. For example, in Claude Code:
The MCP server guide covers Claude Desktop, Cursor, VS Code, and other clients, and lists the credits each tool uses. Then update any prompts or code that name Coresignal tools: CompanyEnrich tools take plain values, such as a domain or a job title, and return records in the response, so your agent does not need a field discovery step or a file to read results from.

Scripts that call Coresignal

Coresignal has no CLI, so scripts usually call the API with curl. 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. A CompanyEnrich lookup that finds nothing exits with code 4. Handle that code in scripts that use 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:
Treat the search and its collect calls as one call site when you migrate. Collect calls on IDs you stored earlier have no equivalent, because Coresignal IDs do not carry over: enrich those records by their stored domain instead.

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 uses professional_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. When you rewrite a call, turn its 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

The SDK raises a typed exception for each non-2xx status, such as 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 404 and 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}/email costs 10 credits only when it finds an email your account has not accessed before.
  • Responses report their cost. Read x-credit-cost and x-credit-remaining from the response headers, in place of x-credits-remaining.

Pagination

Coresignal 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 returns 503 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

The value translations list every value.

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.
1

Check your key and plan

Call GET /v2/me. It is free and returns your balance and plan capabilities.
2

Size your searches for free

Send each translated query to the company or people count endpoint and compare total with the x-total-results you recorded from Coresignal.
3

Pick a sample

Take 100 to 200 company records you already collected from Coresignal. Using stored records means you spend no Coresignal credits. CompanyEnrich charges 1 credit per company found.
4

Compare the fields you read

Run the script below on the sample. It enriches the domains in batches of 50 and sorts each field into 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.
5

Check searches and people

For each translated search, run the count, then a preview if your plan includes it, then one page. For person lookups, test work emails you already know.
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-cost per 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.
People searches support state and city IDs, but inclusion filters match only people whose reported location has been resolved to those places. Check coverage before replacing a location-based search. See People search patterns. A coding agent reports searches that need OR across fields, sorting, or an unsupported clause as needs redesign: they stay on Coresignal until you decide how to change them. You can run both APIs side by side and route each call by the endpoint mapping.

What you can add after migrating

Semantic company search

Search companies with a plain-language description instead of filters.

Similar companies

Find lookalikes of up to 10 seed domains.

Company headcount

Headcount by department, with monthly history.

MCP server

Give AI agents access to the same data.

Common questions

No. Store the CompanyEnrich ID alongside the Coresignal ID, and re-key company data on its domain.
No. CompanyEnrich search results are full records. Request the expansions your code reads in the search itself.
No. CompanyEnrich enriches a person by work email with POST /v2/people/enrich, and people search returns full records. Keep Coresignal for profile URL lookups.
No. Translate each clause to a filter with the search patterns. Queries that need OR across fields or sorting need a redesign.
Send the same filter to the free count endpoint. Search responses do not include a total.
No. Re-enrich the companies you follow on a schedule and compare updatedAt, headcount, or funding, or re-run a search and compare IDs.
No. Batch and bulk enrichment work on every plan.