REST api with Offset & limit Data fetching problem

Shreyash Choudhary 126 Reputation points
2022-12-16T07:40:09.167+00:00

Hi, i need to fetch full data from api i have api url with offset and limit in link itself (in order as 1st offset then limit), i need to fetch nearly 1 lakh (assumeing need to fetch all data what api is sending no limit ,means dont have any max no) records and store it into ADLS also need to increase offset ,i am not able to think much ,required suggestions , api return only data no header

all data need to be stored in adls in one file

please help

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,559 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,373 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,623 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ShaikMaheer-MSFT 38,546 Reputation points Microsoft Employee Moderator
    2022-12-19T05:18:54.707+00:00

    Hi @Shreyash Choudhary ,

    Thank you for posting query in Microsoft Q&A Platform.

    Pagination settings in copy activity will help you here.

    Kindly go through below official link of pagination settings, there variety of use cases covered. You use case also fit in one of them.
    Pagination support in Copy activity

    If it suits, you can consider watching below video as well, there I explained using ForEach activity for fetching data in pages.
    Copy data from REST API which sends response in Pages using Azure data factory

    Hope this helps. Please let me know if any further queries.

    ----------

    Please consider hitting Accept Answer button. Accepted answers help community as well.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.