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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Alexandra_B
Helper III
Helper III

Connect API Data to Power BI

Hello. I have an API key and access to connect to the data I need. 

I cannot get data into Power Bi using the Web option (to insert the API key), so what I`ve done so far was to create Python files in GitHub, then executed them with Visual Studio Code, and got the results in JSON files. I was able to get data from JSON files into Power Bi, scheduled a refresh, it says it has been successful, althought I have the same data since I called the API. How can I automate calling the API and having up to date data to be able to add it to Power BI? I will have around 500 files with different parameter to call, so that`s why I need to have it automatically updated. Please, please 🙂

1 REPLY 1
Anonymous
Not applicable

Hi @Alexandra_B,

Please review the following links, hope they can help you connect to REST API in Power BI successfully.

Use parameters and custom functions to call APIs in Power BI

To add data source parameter in your URL, please check my reply in the following similar threads.

http://community.powerbi.com/t5/Desktop/Dynamic-connection-to-Web-URL/m-p/346607#M155589
https://community.powerbi.com/t5/Integrations-with-Files-and/Parameters-for-JSON-API-data-Maintain-Q...

After create reports in Power BI Desktop, you may also need to create Power BI template file for user to instantiate.

Best Regards

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.