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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.

Users online (4,215)