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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply

Help with looping through pages with JSON API

Hello,

 

I have the folling API with multiple pages:

 

let
Source = Json.Document(Web.Contents("https://dev.getflycrm.com/api/v3/accounts", [Headers=[#"X-API-KEY"="SIVnWouOVARaUuSoZPSvk89zf6uzmU"]]))
in
Source

 

I want to extract all the records but do not know how to create a loop to go through all the pages.

 

Please help me if you can, thank you!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@natureorigin01 , refer if this can help

https://community.powerbi.com/t5/Desktop/API-Restfull-With-Multiple-Pages/td-p/448418

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

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@natureorigin01 , refer if this can help

https://community.powerbi.com/t5/Desktop/API-Restfull-With-Multiple-Pages/td-p/448418

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.