Elasticsearch DSL: Multi-source Employee API

Data type:

Query type:

URL:

Multi-source Employee

Elasticsearch DSL

https://api.coresignal.com/cdapi/v2/employee_multi_source/search/es_dsl


Overview

Use the /v2/employee_multi_source/search/es_dsl endpoint to find company data matching your specifications.

General Elasticsearch DSL information and usage tips

Elasticsearch schema

chevron-rightElasticsearch schemahashtag

Elasticsearch structure maps directly to our Multi-source Employee data fields:

circle-check

Having trouble writing Elasticsearch queries on your own?

Sorting options

Find several examples of the available sorting options. All information about the sorting is in the general Elasticsearch DSL topic.

Sort by score
{
    "query": {
      "match":{
         "company_name":{
            "query":"Google",
            "operator":"and"
         }
      }
   },
    "sort": [
        "_score"
    ]
}

Additional sorting fields

Multi-source Employee API includes additional numerical sorting options. Sorting is made in descending order by a selected field. If several fields have the same value, sorting is made by the last_updated field. If the last_updated values are also the same, sorting is then done by the id field. Sorting fields are listed below:

  • followers_count

Last updated

Was this helpful?