Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
lipster26
Frequent Visitor

API Loop with nextlink

Hello,

 

I'm looking to pull data from an API that returns 100 entries at a time. At the end of the JSON it provides a link to the next 100 entries. How do i write a loop to use the @NextLink to pull the next set of entries until there are no entries left?

 

Thanks for any help.

lipster26_0-1651789563501.png

 

 

 

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @lipster26 ,

 

Is it helpful to refer to a similar solution?

Solved: PowerBI API call with loop - Microsoft Power BI Community

powerbi - Power BI Iterative API Loop - Stack Overflow

 

If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@lipster26 , refer if these can help

https://medium.com/@marktiedemann/how-to-do-pagination-in-power-query-430460c17c78

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors