Learn how to paginate through large datasets using StackOne’s cursor-based pagination
StackOne’s allows paginating on API requests that return multiple records using a page cursor.The following optional URL parameters are used for pagination:
string
default:"25"
The number of records per page.
string
The next parameter is used to iterate through data pages.
It is recommended to keep the same page_size throughout the sequence of pagination requests otherwise unexpected behaviour may occur.
Once the cursor reaches the end of the data list, both values become NULL.
Page Size
By default, the page_size parameter is set to 25 results per page, you can over-ride this by passing in a custom page size with this parameter. If fewer records remain in the underlying connected provider than a given page_size, you will not receive a next cursor value on the next request.For example, if you have 17 records in total, all of them will be shown on one page with next parameter being empty. Then you specify the page_size = 10, you’ll get the next value. If you use this next value, you will get a stripped array of the last 7 records.
Early Cursor return
Occasionally we have to apply custom filters or structure requests to ensure we can get data which is not returned by the native API, this can cause timeout issues where we wouldn’t fill an entire page.In this case we will return a cursor value with the incomplete page, and you can continue paginating through the data to the end of the data set. When the final record is reached on the underlying provider we will return an empty next cursor.
"next":"eyJyIjphAsHHere","data":[]
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"StackOne Hub Documentation","colors":{"primary":"#05C168","light":"#07C983","dark":"#0D9373"},"logo":{"light":"https://mintcdn.com/stackone-hub/HYJwyqbEuT1SMQL-/logo/stackone_green_logo-140in212.svg?fit=max\u0026auto=format\u0026n=HYJwyqbEuT1SMQL-\u0026q=85\u0026s=2c16b558a593b22ca7f3bd2cbdc336da","dark":"https://mintcdn.com/stackone-hub/HYJwyqbEuT1SMQL-/logo/stackone_green_white_logo-140in212.svg?fit=max\u0026auto=format\u0026n=HYJwyqbEuT1SMQL-\u0026q=85\u0026s=a766bbf1c1c046910a7d1c3ce5c81de9","href":"https://stackone.com"},"favicon":"https://mintcdn.com/stackone-hub/4kCYyCeuh-KQSMdC/favicon.svg?fit=max\u0026auto=format\u0026n=4kCYyCeuh-KQSMdC\u0026q=85\u0026s=ab0857788c94f91cb01b6d9b7848d3a9","navbar":{"links":[{"href":"mailto:integrations@stackone.com","label":"Support"}]},"footer":{"socials":{"twitter":"https://twitter.com/StackOneHQ","linkedin":"https://www.linkedin.com/company/stackonehq"}},"seo":{"metatags":{"robots":"noindex, nofollow"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"stackone-hub","hasAudioNarration":false,"actualSubdomain":"stackone-hub","customDomains":["hub.stackone.com"],"gitSource":{"type":"github","owner":"stackonehq","repo":"hub-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af4b49fb7449631187b5bef","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"Hub Guides","count":3},{"language":"default","tag":"Legacy Unified APIs","count":2},{"language":"default","tag":"LMS","count":2},{"language":"default","tag":"Unified LMS API","count":2},{"language":"default","tag":"LMS/LXP and Aggregators","count":1},{"language":"default","tag":"Learning Content Providers","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"legacy-unified-apis/common-guide/pagination","slug":"/legacy-unified-apis/common-guide/pagination","pageMetadata":{"noindex":true,"title":"Pagination","description":"Learn how to paginate through large datasets using StackOne's cursor-based pagination","href":"/legacy-unified-apis/common-guide/pagination"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Learn how to paginate through large datasets using StackOne’s cursor-based pagination\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading,ParamField,Tooltip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`StackOne’s `,_jsx(Tooltip,{tip:`Unified API - A Unified API is an application programming interface (API) that gives developers access to information from diverse sources via a single interface`,children:`Unified API`}),` allows paginating on API requests that return multiple records using a page cursor.`]}),`\n`,_jsx(_components.p,{children:`The following optional URL parameters are used for pagination:`}),`\n`,_jsx(ParamField,{query:`page_size`,type:`string`,default:`25`,id:`param-page-size`,children:_jsx(_components.p,{children:`The number of records per page.`})}),`\n`,_jsx(ParamField,{query:`next`,type:`string`,id:`param-next`,children:_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`next`}),` parameter is used to iterate through data pages.`]})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`It is recommended to keep the same page_size throughout the sequence of pagination requests otherwise unexpected behaviour may occur.`})}),`\n`,_jsx(Heading,{level:`2`,id:`sample-url`,children:`Sample URL`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://api.stackone.com/unified/hris/employees?page_size=25\u0026next=eyJyIjphAsHHere`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`sample-response`,children:`Sample Response`}),`\n`,_jsxs(_components.p,{children:[`In the response payload, you can find the `,_jsx(_components.code,{children:`next`}),` cursor. To get the next page of data send a new request with the `,_jsx(_components.code,{children:`next`}),` parameter set to this value.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"next\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"eyJyIjphAsHHere\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:[`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`...`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`...`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:` ...`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 24`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#82071E`,\"--shiki-light-font-style\":`italic`,\"--shiki-dark\":`#F44747`,\"--shiki-dark-font-style\":`inherit`},children:`...`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Once the cursor reaches the end of the data list, both values become NULL.`}),`\n`,_jsx(Heading,{level:`2`,id:`page-size`,children:`Page Size`}),`\n`,_jsxs(_components.p,{children:[`By default, the `,_jsx(_components.code,{children:`page_size`}),` parameter is set to 25 results per page, you can over-ride this by passing in a custom page size with this parameter. If fewer records remain in the underlying connected provider than a given page_size, you will not receive a `,_jsx(_components.code,{children:`next`}),` cursor value on the next request.`]}),`\n`,_jsxs(_components.p,{children:[`For example, if you have 17 records in total, all of them will be shown on one page with `,_jsx(_components.code,{children:`next`}),` parameter being empty. Then you specify the `,_jsx(_components.code,{children:`page_size`}),` = 10, you’ll get the `,_jsx(_components.code,{children:`next`}),` value. If you use this `,_jsx(_components.code,{children:`next`}),` value, you will get a stripped array of the last 7 records.`]}),`\n`,_jsx(Heading,{level:`2`,id:`early-cursor-return`,children:`Early Cursor return`}),`\n`,_jsx(_components.p,{children:`Occasionally we have to apply custom filters or structure requests to ensure we can get data which is not returned by the native API, this can cause timeout issues where we wouldn’t fill an entire page.`}),`\n`,_jsx(_components.p,{children:`In this case we will return a cursor value with the incomplete page, and you can continue paginating through the data to the end of the data set. When the final record is reached on the underlying provider we will return an empty next cursor.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"next\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"eyJyIjphAsHHere\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:[]`})]}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"noindex":true,"title":"Pagination","description":"Learn how to paginate through large datasets using StackOne's cursor-based pagination","href":"/legacy-unified-apis/common-guide/pagination"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Sample URL","slug":"sample-url","depth":2,"children":[]},{"title":"Sample Response","slug":"sample-response","depth":2,"children":[]},{"title":"Page Size","slug":"page-size","depth":2,"children":[]},{"title":"Early Cursor return","slug":"early-cursor-return","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"stackone-hub","siteName":"StackOne Hub Documentation","title":"Pagination - StackOne Hub Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-14T10:07:04.120Z","originalFileLocation":"legacy-unified-apis/common-guide/pagination.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Learn how to paginate through large datasets using StackOne\u0026#x27;s cursor-based pagination\">\u003cmeta data-mint-head name=\"application-name\" content=\"StackOne Hub Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex, nofollow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stackone-hub/hpDcqwC5gv_3Z3DF/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/stackone-hub/hpDcqwC5gv_3Z3DF/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stackone-hub/hpDcqwC5gv_3Z3DF/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/stackone-hub/hpDcqwC5gv_3Z3DF/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/stackone-hub/hpDcqwC5gv_3Z3DF/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/stackone-hub/hpDcqwC5gv_3Z3DF/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/stackone-hub/hpDcqwC5gv_3Z3DF/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/stackone-hub/hpDcqwC5gv_3Z3DF/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/stackone-hub/hpDcqwC5gv_3Z3DF/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Pagination - StackOne Hub Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Learn how to paginate through large datasets using StackOne\u0026#x27;s cursor-based pagination\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"StackOne Hub Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://hub.stackone.com/legacy-unified-apis/common-guide/pagination\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://stackone-hub.mintlify.site/_mintlify/api/og/v2?division=Unified+Features\u0026amp;title=Pagination\u0026amp;description=Learn+how+to+paginate+through+large+datasets+using+StackOne%27s+cursor-based+pagination\u0026amp;theme=7259f7adbb63bf9936a89a40\u0026amp;signature=c77d77a2cb2134cff14a86e0e46985471a6a87271e071d8eb376eab84ff2c981\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Pagination - StackOne Hub Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Learn how to paginate through large datasets using StackOne\u0026#x27;s cursor-based pagination\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://stackone-hub.mintlify.site/_mintlify/api/og/v2?division=Unified+Features\u0026amp;title=Pagination\u0026amp;description=Learn+how+to+paginate+through+large+datasets+using+StackOne%27s+cursor-based+pagination\u0026amp;theme=7259f7adbb63bf9936a89a40\u0026amp;signature=c77d77a2cb2134cff14a86e0e46985471a6a87271e071d8eb376eab84ff2c981\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/stackone-hub/hpDcqwC5gv_3Z3DF/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"StackOne Hub Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#05C168\">\u003clink data-mint-head rel=\"canonical\" href=\"https://hub.stackone.com/legacy-unified-apis/common-guide/pagination\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/legacy-unified-apis/common-guide/pagination.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"StackOne Hub Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"StackOne Hub Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/legacy-unified-apis/common-guide/pagination.md","siteName":"StackOne Hub Documentation","nav":{"global":null,"tabs":[{"tab":"Hub Guides","pages":[{"title":"Hub Guides","href":"/integrations"}]},{"tab":"Legacy Unified APIs","anchors":[{"anchor":"Getting Started","icon":"key","pages":[{"title":"Legacy Unified APIs Overview","sidebarTitle":"Overview","href":"/legacy-unified-apis/introduction"},{"title":"API SDKs","sidebarTitle":"API SDKs","description":"Language-native libraries for StackOne Unified APIs","href":"/legacy-unified-apis/common-guide/stackone-api-sdks"},{"group":"Unified Features","icon":"star","pages":[{"title":"Pagination","href":"/legacy-unified-apis/common-guide/pagination"},{"title":"StackOne Identifiers","description":"Learn about synthetic identifiers in the Documents API and how StackOne normalizes IDs across providers.","href":"/legacy-unified-apis/common-guide/stackone-identifiers"},{"title":"Webhooks","href":"/legacy-unified-apis/common-guide/webhooks"},{"group":"Advanced Usage","icon":"gear","pages":[{"title":"Using Expand and Include Parameters","sidebarTitle":"Expand \u0026 Include Parameters","href":"/legacy-unified-apis/common-guide/using-expand-and-include-api-parameters"},{"title":"Using the Passthrough Query Parameters","sidebarTitle":"Passthrough Parameters","href":"/legacy-unified-apis/common-guide/using-the-passthrough-query-parameters"},{"title":"Basic Authentication with StackOne API","sidebarTitle":"Basic Authentication","href":"/legacy-unified-apis/common-guide/basic-authentication-with-stackone-api"},{"title":"Using Postman with StackOne API","sidebarTitle":"Using Postman","href":"/legacy-unified-apis/common-guide/using-postman"}]},{"group":"Field Mapping \u0026 Coverage","icon":"table","pages":[{"title":"Field Mapping","sidebarTitle":"Field Mapping","href":"/legacy-unified-apis/common-guide/field-mapping"},{"title":"Integration Field Mapping","sidebarTitle":"Integration Field Mapping","href":"/legacy-unified-apis/common-guide/integration-field-mapping"},{"title":"Expression Language Syntax","sidebarTitle":"Expression Language","href":"/legacy-unified-apis/common-guide/expression-language-syntax"},{"title":"Field Coverage","sidebarTitle":"Field Coverage","href":"/legacy-unified-apis/common-guide/field-coverage"}]}]},{"group":"Troubleshooting","icon":"wrench","pages":[{"title":"Request Tester","sidebarTitle":"Request Tester","href":"/legacy-unified-apis/common-guide/request-tester"},{"title":"Error Codes and Troubleshooting","href":"/legacy-unified-apis/error-codes-and-troubleshooting"}]}]},{"anchor":"HRIS","icon":"users","pages":[{"title":"HRIS","href":"/hris/introduction"}]},{"anchor":"ATS","icon":"user-plus","pages":[{"title":"ATS","href":"/ats/introduction"}]},{"anchor":"CRM","icon":"address-book","pages":[{"title":"CRM","href":"/crm/introduction"}]},{"anchor":"LMS","icon":"graduation-cap","pages":[{"title":"LMS","href":"/lms/introduction"}]},{"anchor":"Accounting","icon":"calculator","pages":[{"title":"Accounting","href":"/accounting/introduction"}]}]}]},"basePath":"","title":"Pagination - StackOne Hub Documentation","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":[],"chunks":[]}