Go to example tasks

Pull every page from a cursor-paginated API

Follows a cursor or next-link pagination chain to the end and returns every record in one dataset. Set the record path and the path to the cursor inside the response, and it walks the pages for you.

Try for free
REST API Fetcher & Paginator — Any JSON API to Dataset
REST API Fetcher & Paginator — Any JSON API to Datasetalaudinburki/rest-api-paginator
Value
Status
Message
Rows Returned
Text
Number
Boolean
List
Object

Input

API URL(required):https://api.example.com/v1/items
Items path:data.results
Pagination:cursor
Cursor/next path:meta.next
Max pages:50

Output fields

Value
Status
Message
Rows Returned

How it works

Sign up on Apify or log in

The REST API Fetcher & Paginator — Any JSON API to Dataset Actor is ready to run with the inputs already set for "Pull every page from a cursor-paginated API". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Pull every page from a cursor-paginated API" task

The REST API Fetcher & Paginator — Any JSON API to Dataset Actor will start running based on the input automatically. You can also change all the input fields, like API URL, items path, and more, to match your specific use case.

Receive the "Pull every page from a cursor-paginated API" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as value, status, message, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Pull every page from a cursor-paginated API" task via API.

Image

Integrate "Pull every page from a cursor-paginated API" into your workflow

Connect "Pull every page from a cursor-paginated API" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay