Diffbot’s Article API automatically concatenates multiple-page articles… but what if you want to concatenate multiple pages of data for a custom API?
You can do this by creating a custom field called “nextPage” and providing it with the link/URL to the page you want to append:
- Create a new custom field named
- Select the element that contains the link to the next page.
- Add an “attribute” filter using the Filters drop-down, and in this field enter
Your Custom API will subsequently attempt to follow up to 20 pages of “nextPage” links, returning all available data in a single response.