Elasticsearch DSL
Data type:
Query type:
URL:
Base Company
Elasticsearch DSL
https://api.coresignal.com/cdapi/v2/company_base/search/es_dsl
Overview
Use the /v2/company_base/search/es_dsl
endpoint for more sophisticated queries and retrieve company data.
Elasticsearch schema
Having trouble writing Elasticsearch queries on your own?
Explore AI query builder feature available in Self-service playground. Write a prompt, and AI assistant will automatically convert it into a query.
Sorting options
Find several examples of the available sorting options. All information about the sorting is in the general Elasticsearch DSL topic.
{
"query": {
"match":{
"name":{
"query":"Example Company",
"operator":"and"
}
}
},
"sort": [
"_score"
]
}
Additional sorting fields
Base Company 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:
employees_count
,source_id
Last updated
Was this helpful?