Skip to main content
Coresignal searches take either an Elasticsearch DSL query, a tree of bool clauses on index fields, or Search Filters, a flat object of named parameters. Both return record IDs. CompanyEnrich V2 search takes a flat filter object in which every filter must match, and returns full records. Most clauses translate to one filter, but the field names, value formats, and operators differ. This page shows each pattern and the clauses that have no equivalent. A translation that silently drops a clause returns, and charges for, the wrong records. Translate each clause, and check the result with the free count endpoint.

How the two search models differ

Translate a search in four steps

1

Flatten the query

Write down each leaf clause with its field, query type, and value. Clauses in must and filter must all match. Note every should group: a should across different fields cannot be sent as one CompanyEnrich search. Clauses in must_not, and Search Filters parameters that start with exclude_, become exclusions.
2

Map each clause

Find the pattern for the field in the tables below. A pattern applies whatever the clause’s query type: term, terms, match, and match_phrase on the same field translate the same way, as does the Search Filters parameter the note names. The exception is match_phrase on a title field sent to a semantic_search endpoint, which adds synonyms that CompanyEnrich does not: see Semantic and agentic search. Convert values with the value translations, and look up IDs and names with the free geo, industry, keyword, technology, and position endpoints.
3

Count it for free

Send the filter to the company or people count endpoint. Compare total with the x-total-results you recorded from Coresignal. A large gap usually means a clause was dropped or a value was not converted.
4

Fetch one page

Run the search with a small pageSize and check the records against what you expect. An empty search still costs one result’s base price.
For example, this Coresignal query:
becomes this CompanyEnrich search:
The results are full company records, so the collect calls that followed the Coresignal search go away. Funding is an expansion, so the request adds expand only because the code reads fundingStage.

How clause types translate

Company search patterns

People search patterns

Person filters such as domain, position, seniority, and department match the person’s current job. Conditions on the employer, such as its size, industry, or headquarters country, go in a company query, which takes the company search filters. Past jobs go in pastExperience. Coresignal’s experience fields cover current and past jobs, so check how a nested clause treats experience.active_experience. Search Filters parameters that start with experience_ match past or current jobs, which CompanyEnrich splits between the current-job filters and pastExperience. Use filter.state and filter.city for the person’s location. They take integer IDs from the free state and city endpoints, also returned as location.state.id and location.city.id. A single ID, an array, or an in rule matches only people whose reported location has been resolved to those places. A notIn exclusion keeps people without a resolved state or city. Compare coverage before replacing a search that depends on location text.

Clauses that do not translate

  • OR across different fields. Run one search per branch and merge the results on id. OR across values of one field works: send in.
  • Sorting. Sort the records in your code. To reproduce a top list, such as the largest companies, count the matches for free, fetch every page, then sort.
  • Text queries on most fields. query_string, wildcard, fuzzy, and phrase matching translate only where CompanyEnrich has a text filter: query for names, keywords, and position. Descriptions, headlines, summaries, and location text have no filter.
  • Job postings, followers, web traffic, reviews, salaries, SIC codes, and technology dates.
  • Skills, certifications, career length, employment status, and social activity.
  • exists checks, except the 13 company features require covers, such as anyFunding and linkedin.
  • Index details, such as .exact and .domain_only subfields, boost, and function_score. Map the clause by its field and drop the rest.

Totals and pagination

Search responses do not include a total. The free count endpoints return total, the number of matching records, and count, the number your plan lets you retrieve. Pages hold 1 to 100 full records, set with pageSize, against up to 1,000 IDs per Coresignal page. Pass the nextCursor of one page as cursor to get the next, until nextCursor is omitted. A cursor expires 24 hours after the first page. A Coresignal after value does not work on CompanyEnrich, so restart any paging job from the first page. Coresignal’s semantic_search endpoints add job titles with the same meaning to match_phrase clauses on title fields. CompanyEnrich position matches the phrase inside current titles but does not add synonyms. List the variants you want, such as ["software engineer", "software developer"], or describe the people in a semantic people search. If your code sends a prompt to Coresignal’s Agentic Search API, send the same text as a semantic query:
Semantic search ranks results by meaning and reports the filters it inferred in interpretation. It returns records, not a generated query. It costs 2 credits per company returned instead of 1. For companies like ones you already know, use a lookalike search, which takes up to 10 seed domains and costs 5 per company.

Migration overview

Endpoint mapping, request and response differences, and the parity check.

Field mapping

Every field, with value translations.

Company Search API filters

Every company filter and its matching rules.

People Search API filters

Every people filter and the company query.