Go to example tasks
Fetch all pages from a nextUrl REST API
Created by
Vadim Bezrukov
Follow an API's next-page links and collect its records in one Dataset. Try the small PokeAPI example first, then replace the URL and pagination settings with your API's values. Check the run summary before treating the export as complete.
Paginated REST API Fetcher - Fetch All Pagesautoma-flow/paginated-rest-api-fetcher
Page
Item
Data
Source URL
+1 fieldTextNumberBooleanListObject
Input
API URL(required):https://pokeapi.co/api/v2/pokemon
HTTP headers
Query parameters
Items JSON path:results
Pagination(required)
Mode(required):nextUrl
Next URL JSON path:next
Max pages:2
Max items:40
Output fields
Page
Item
Data
Source URL
Fetched at
Sign up on Apify01
Create your Apify account to access the Paginated REST API Fetcher - Fetch All Pages.
Start the run02
The Actor will start running based on the input automatically.
Receive the output03
Monitor the progress in real-time. You will be notified as soon as your dataset is complete and ready for review.
Integrate into your workflow04
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow.
