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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
antu3
New Member

Connect to API

Hello,
From the Power BI I would like to access an online API. If I can access the API through a web browser and I can download data in JSON format. But I would like to access directly from the Power BI and update it.
It's possible?
Regards,

2 ACCEPTED SOLUTIONS
TomMartens
Super User
Super User

Hey,

 

as your question is quite generic, I just can provide a quite generic answer. This answer is simply this: Yes!

 

But each project that is tasked with fetching data from a web-based API has its intricacies. This is due to the implementation of the API and also how the connection to web based data sources is implemented in Power Query, especially the automatic refresh if the report is finally published to the Power BI service.

 

This article will provide a good start: https://docs.microsoft.com/en-us/power-bi/desktop-tutorial-importing-and-analyzing-data-from-a-web-p...

 

Hopefully this provides what you are looking for.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

v-lid-msft
Community Support
Community Support

Hi @antu3 ,

 

What authentication does the API support? There is a blog about how to connect to API in Power BI Desktop for your reference:
https://chris.koester.io/index.php/2015/07/16/get-data-from-twitter-api-with-power-query/

 

If your are connecting to a REST API, you can refer to the similar post: https://community.powerbi.com/t5/Power-Query/Using-a-REST-API-as-a-data-source/td-p/50400

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-lid-msft
Community Support
Community Support

Hi @antu3 ,

 

What authentication does the API support? There is a blog about how to connect to API in Power BI Desktop for your reference:
https://chris.koester.io/index.php/2015/07/16/get-data-from-twitter-api-with-power-query/

 

If your are connecting to a REST API, you can refer to the similar post: https://community.powerbi.com/t5/Power-Query/Using-a-REST-API-as-a-data-source/td-p/50400

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Excellent article !!!!
Thank you very much for your reply.

TomMartens
Super User
Super User

Hey,

 

as your question is quite generic, I just can provide a quite generic answer. This answer is simply this: Yes!

 

But each project that is tasked with fetching data from a web-based API has its intricacies. This is due to the implementation of the API and also how the connection to web based data sources is implemented in Power Query, especially the automatic refresh if the report is finally published to the Power BI service.

 

This article will provide a good start: https://docs.microsoft.com/en-us/power-bi/desktop-tutorial-importing-and-analyzing-data-from-a-web-p...

 

Hopefully this provides what you are looking for.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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