Employee Data
...
Search Filters
Pagination
8 min
learn how to use pagination in employee posts api https //api coresignal com/cdapi/v2/post employee/search/filter overview why is pagination needed? posts ids are provided in batches of 1000 ids per page sometimes, a request might yield more ids than can be displayed on a single page in such situations, you'll need to use pagination to obtain all the requested ids from the post request where can i see the page count? response headers in swagger ui navigate to the responses section and locate the response headers response header infomation response headers contain information such as the total result count , page number , and the last id on the page example x next page after "2025 07 16t00 00 00 000z",7351041851656658944 x total pages 2 x total results 1053 x next page after displays the last id on the page x total pages lists the total number of pages with id results x total results shows the total number of ids returned by your search using p agination in swagger ui use parameter x next page after to retrieve a second page of ids 1\ navigate to the response headers in the responses section and see the following result 2\ copy the numeric value in the x next page after parameter ( "2025 07 16t00 00 00 000z",7351041851656658944 ) 3\ i nput the value in the after field in the parameters section 4\ click execute , and you will see the next page in the response body using p agination in curl requests this tutorial requires prior knowledge of compiling and executing post requests in employee posts api search filter endpoint use parameter x next page after to retrieve a second page of ids navigate to the headers section and click it 2\ find the following x next page after , x total pages , and x total results information x next page after displays the last id on the page x total pages lists the total number of pages available for your search x total results shows the total number of ids available 3\ add parameter ?after={x next page after} to the post request to see the next results page pagination example curl x 'post' \\ 'https //api coresignal com/cdapi/v2/post employee/search/filter?after="2025 07 14t00 00 00 000z",7350452046057107456' \\ h 'accept application/json' \\ h 'apikey {api key}' \\ h 'content type application/json' \\ d '{ "article body" "newest invention", "date published gte" "2025 07 01" }' 4\ execute the request, and you will see the next page in the body section \[ 1000, 1001, 3000, 4004 ] limiting search results per page query parameter ?items per page={int} allows you to specify the number of results retrieved per search results page the current limit is 1,000 thus, this parameter lets you set a smaller limit value for the results page items per page curl x 'post' \\ 'https //api coresignal com/cdapi/v2/post employee/search/filter?items per page=250' \\ h 'accept application/json' \\ h 'apikey {api key}' \\ h 'content type application/json' \\ d '{ "article body" "newest invention", "date published gte" "2025 07 01" }'