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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
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.