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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.