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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.