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
Brite
Helper I
Helper I

Power Query Pagination - Stripe REST API

Hello, my goal is to get all data from the dataset that is being called from Stripe. I am currently only getting 100 (maximum number of datasets pulled from Stripe). Stripe rest API URL parameter uses starting_after=[id number]. Is there a power query loop or return code that can replace the [id number] in the API URL parameter for every 100th id? My goal is to get all data from the dataset.   

 

Note: Stripe uses bearer token

 

This is what I have at the moment:

Brite_0-1632269766124.png

This is the table that id is located in:

Brite_1-1632269877949.png

 

base URL: https://api.stripe.com/v1/charges?limit=100&starting_after=ch_1234567910

 

Tried this pagination power query code from GitHub but did not work.

https://gist.github.com/MarkTiedemann/f667c75cc3d054b9b2bce25ea08bc631

 

Any help is very appreciated :)!

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

Please see this video for how to do this.

Power BI - Tales From The Front - REST APIs - YouTube

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

1 REPLY 1
mahoneypat
Microsoft Employee
Microsoft Employee

Please see this video for how to do this.

Power BI - Tales From The Front - REST APIs - YouTube

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on 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.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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