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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Rigolleto
Resolver I
Resolver I

Use Walmart API to get data transactions

Hi,

 

Since Walmart has a API available to get its data, I am wondering if I can call the API from PBI?

 

Is there a way to resolve an API and populate some matrixs?

 

Thanks

 

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Rigolleto 

 

Yes, it is possible to get data from an API with Power BI. For a simple GET request to an API, you can use the Web connector directly. Go to Get data > Web. Select Advanced option if it requires some more header parameters in the request.

 

If a request is more complicated or it's a POST request, you need to write some M codes which includes Web.Contents and paste the codes in Advanced Editor of a query in Power Query Editor to call an API. 

 

You could refer to this article Getting Started with API's in Power Query • My Online Training Hub to start exploring it. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @Rigolleto 

 

Yes, it is possible to get data from an API with Power BI. For a simple GET request to an API, you can use the Web connector directly. Go to Get data > Web. Select Advanced option if it requires some more header parameters in the request.

 

If a request is more complicated or it's a POST request, you need to write some M codes which includes Web.Contents and paste the codes in Advanced Editor of a query in Power Query Editor to call an API. 

 

You could refer to this article Getting Started with API's in Power Query • My Online Training Hub to start exploring it. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

amitchandak
Super User
Super User

@Rigolleto , do you need token based auth for that

https://community.powerbi.com/t5/Developer/REST-API-Get-Access-Token/m-p/1895937

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.