Power BI – Get Data from Web API

The purpose of this article is to describe how to get data from a Web API. In this tutorial, we will connect to a WEB API and retrieve a list of Crypo Currencies.

https://www.coingecko.com/ is providing, for free, a list of Web API which could be used to retrieve information related to crypto currencies.

Photo by Nathan Dumlao on Unsplash

Get Web API Link

In this example we will import all Crypto Currencies from https://www.coingecko.com/

Coingecko Documentation is availalbe in https://www.coingecko.com/en/api/documentation.
From this list, the Web Api « /coins/list » will be selected:

Get Data

In order to connect to this Web API:

  1. Launch Power BI Desktop
  2. Click on « Get Data« 
  3. Select « Other« , « Web« 
  4. Enter the URL parts https://api.coingecko.com/api/v3/coins/list?include_platform=false and click on the « Ok » Button
  5. Once Imported, below values will be imported (ID, Symbol and Name)
  6. Perform any required transformation and, once finished, click on the « Close & Apply » to get those fields available in Microsoft Power BI

Create Visual

A simple Table’s Visual will be used to show the list of Crypto Currencies

  1. Select the table’s Visual
  2. Click on each Fields from the Tab « Fields »:


Congratulation, you have now a Power BI Report which is consuming Data from a Web API.

Find more detailed information in this Microsoft Tutorial

Tutorial: Import and analyze data from a webpage – Power BI | Microsoft Docs

Power BI – Documentation

Microsoft is providing a huge list of articles and documentation.

Get Power BI Desktop for free and explore the official documentation about Microsoft Power BI 

https://docs.microsoft.com/en-us/power-bi/ 

Find main information from Microsoft web  site, there is a huge amount of information there 

Power BI: Get started

Power BI for business users

Enterprise

Administer Power BI

Develop in Power BI

Connect to data

Transform and shape data

Model data

Create reports and dashboards

Collaborate and share

Integrate across products

Power BI Premium Gen2

Power BI in the mobile apps

Best practices guidance

Learning catalog

Troubleshooting