Pagination: Clean Employee API
Last updated
Was this helpful?
Was this helpful?
[
1000,
1001,
3000,
4004
]curl -X 'POST' \
'https://api.coresignal.com/cdapi/v2/employee_clean/search/es_dsl?after=25828893'\
-H 'accept: application/json' \
-H 'apikey: {API Key}' \
-H 'Content-Type: application/json' \
-d '{
"query": {
"bool": {
"should": [
{
"query_string": {
"query": "Python",
"default_field": "description",
"default_operator": "and"
}
},
{
"query_string": {
"query": "Python",
"default_field": "job_title",
"default_operator": "and"
}
},
{
"nested": {
"path": "experience",
"query": {
"bool": {
"should": [
{
"query_string": {
"query": "Python",
"default_field": "experience.description",
"default_operator": "and"
}
},
{
"query_string": {
"query": "Python",
"default_field": "experience.title",
"default_operator": "and"
}
}
]
}
}
}
}
]
}
},
"sort": [
"id"
]
}'curl -X 'POST' \
'https://api.coresignal.com/cdapi/v2/employee_clean/search/es_dsl?after=27.780201,"2025-02-14T00:00:00.000Z",645866204'\
-H 'accept: application/json' \
-H 'apikey: {API Key}' \
-H 'Content-Type: application/json' \
-d '{
"query": {
"bool": {
"should": [
{
"query_string": {
"query": "Python",
"default_field": "description",
"default_operator": "and"
}
},
{
"query_string": {
"query": "Python",
"default_field": "job_title",
"default_operator": "and"
}
},
{
"nested": {
"path": "experience",
"query": {
"bool": {
"should": [
{
"query_string": {
"query": "Python",
"default_field": "experience.description",
"default_operator": "and"
}
},
{
"query_string": {
"query": "Python",
"default_field": "experience.title",
"default_operator": "and"
}
}
]
}
}
}
}
]
}
},
"sort": [
"_score"
]
}'curl -X 'POST' \
'https://api.coresignal.com/cdapi/v2/employee_clean/search/es_dsl?items_per_page=500'\
-H 'accept: application/json' \
-H 'apikey: {API Key}' \
-H 'Content-Type: application/json' \
-d '{
"query": {
"bool": {
"should": [
{
"nested": {
"path": "experience",
"query": {
"bool": {
"should": [
{
"query_string": {
"query": "social",
"default_field": "experience.description",
"default_operator": "and"
}
}
]
}
}
}
}
]
}
}
}'