Importing public web API to Excel (no coding required) | Codementor (2024)

In the world of Forex and Cryptocurrency Trading, Data Scraping or Web Scraping is often needed so the data you needed is always in your hands. Good thing Microsoft Excel has tools to help you extract data from web sources with or without coding.
In this example, I’m going to show you how you can extract data from a public web API to excel without coding VBA. First, we need a public web API, because cryptocurrencies popular these days, we’re going to use a cryptocurrency API as an example.
https://min-api.cryptocompare.com/data/histominute?fsym=BTC&tsym=USD&limit=288&aggregate=5

To import this on excel go to Data>Get Data>From other Sources> From Web or simply Data>From Web.
Importing public web API to Excel (no coding required) | Codementor (1)

Paste the API URL on the prompt then click OK.
Importing public web API to Excel (no coding required) | Codementor (2)

Then select Into Table on the Convert tab.
Importing public web API to Excel (no coding required) | Codementor (3)

Select the Value of Data then right click>Drill Down.
Importing public web API to Excel (no coding required) | Codementor (4)

On the resulting prompt choose Transform>To Table on the menu then click OK.
Importing public web API to Excel (no coding required) | Codementor (5)

On the top of the column, click the button with left and right arrow, uncheck use Original name as prefix then click OK. Then finally, Click Close & Load on the Home menu.
Importing public web API to Excel (no coding required) | Codementor (6)

And there you go; you’ve successfully imported the JSON data from a public web API.
Importing public web API to Excel (no coding required) | Codementor (7)
You can click Refresh on the Query or Data Tab to get the latest data.

Though, for this Web API the time we retrieved is in a Unix timestamp. The next that we’re going to do is add a custom column and convert that to time and date format in Excel.

A quick Google Search would give us the formula =((([time] /60)/60)/24)+DATE(1970,1,1).
Importing public web API to Excel (no coding required) | Codementor (8)

To edit our query, go to Query>Edit or Data>Get Data> Launch Query Editor…
Importing public web API to Excel (no coding required) | Codementor (9)

On the query editor select Add Column>Custom Column then put out formula.
Importing public web API to Excel (no coding required) | Codementor (10)

The query editor uses a different language call Power Query formula so will replace our formula with its equivalent.
Importing public web API to Excel (no coding required) | Codementor (11)

Now we have a new column. Let’s convert the column to Date/Time format. To do that, select custom column and on the transform tab and select date/time on the Data Type drop down.
Importing public web API to Excel (no coding required) | Codementor (12)

Now we’ll replace the original time column. Move the custom column to the Beginning and remove the time column.
Importing public web API to Excel (no coding required) | Codementor (13)

Then rename the custom column to time and go to Home>Close & Load.
Importing public web API to Excel (no coding required) | Codementor (14)

Now our time column is in Date/Time instead of Unix timestamp.
Importing public web API to Excel (no coding required) | Codementor (15)

Now that the data is in Microsoft Excel you can now do you analysis and graphs to give you an edge to your Forex or Cryptocurrency trading.

See here for a demo video. Part1. Part2.

Importing public web API to Excel (no coding required) | Codementor (2024)

FAQs

Importing public web API to Excel (no coding required) | Codementor? ›

Power Query: You can query data from APIs using Excel's built-in tool. Coupler.io: This third-party importer will let you automate data exports via APIs to Excel on a custom schedule.

How do I export API responses to Excel? ›

Steps
  1. Query the API request of your choice in the tool of your choice. ...
  2. Save the response. ...
  3. Inside Excel, create a new project or sheet, Navigate to 'Data > Get Data'
  4. Select 'Get Data > From File > From JSON' (or file of choice)
  5. Select your file you saved from (2)
  6. The query editor wizard will appear.
Nov 1, 2023

Can Excel pull data from API? ›

Power Query: You can query data from APIs using Excel's built-in tool. Coupler.io: This third-party importer will let you automate data exports via APIs to Excel on a custom schedule.

Can Excel connect to rest API? ›

A REST API for Excel Services enables operations against Excel workbooks by using operations specified in the HTTP standard. This allows for a flexible, secure, and simpler mechanism to access and manipulate Excel Services content.

How to get JSON data from URL in Excel? ›

Opening JSON From the Internet in Excel
  1. Go to the Data tab in an Excel workbook.
  2. Select From Web option under the “Get & Transform Data” ribbon.
  3. After that an input box will appear in your window where you will have to enter the URL for the JSON file.
  4. Click OK and it will open the JSON file in Power Query first.
Nov 8, 2023

How do I import a public Web API into Excel? ›

First, we need a public web API, because cryptocurrencies popular these days, we're going to use a cryptocurrency API as an example. To import this on excel go to Data>Get Data>From other Sources> From Web or simply Data>From Web. Paste the API URL on the prompt then click OK. Then select Into Table on the Convert tab.

How do I convert responses to Excel? ›

Open responses in Excel

Open any active form or quiz, go to the "Responses" page and click "Open results in Excel". This will automatically create an Excel worksheet in your OneDrive and take you to Excel for the web, where you'll see all your data in just a few seconds.

How do you call APIs in Excel? ›

To call Excel JavaScript APIs from a custom function, you first need a context. Use the Excel. RequestContext object to get a context. Then use the context to call the APIs you need in the workbook.

How do I connect API to spreadsheet? ›

Implementing Google Sheets REST API Integration
  1. Open a new Sheet.
  2. Open Apps Script Editor.
  3. Name the Project.
  4. Add API Example Code.
  5. Run the Function.
  6. Authorize your Script.
  7. View the Logs.
Jul 14, 2024

Is Microsoft Excel API free? ›

Not only are there dozens of free Excel APIs available from sites like RapidAPI, Microsoft has a large library of APIs for use with its software, which includes not only Excel but Microsoft Graphs and Visual Basic as well.

How do I pass JSON to Excel? ›

6 Steps: Import JSON In Excel
  1. Open MS Excel. Open the Start Menu using Windows Keys or Clicking the Start Menu icon on your Task Bar. ...
  2. Locate the Data Tab. Find and click on the Data tab in the Ribbon menu of MS Excel. ...
  3. Select your JSON File. Clicking on From JSON option will bring up an import window. ...
  4. Upload your JSON File.

Can Excel pull data from a URL? ›

Select Data > Get & Transform > From Web. Press CTRL+V to paste the URL into the text box, and then select OK. In the Navigator pane, under Display Options, select the Results table.

How do I import JSON data into Excel? ›

On the spreadsheet window, in Excel's ribbon at the top, click the "Data" tab.
  1. On the "Data" tab, from the "Get & Transform Data" section, select Get Data > From File > From JSON.
  2. You will see your computer's standard "Import" window. ...
  3. Excel will open a "Power Query Editor" window. ...
  4. In the "To Table" prompt, click "OK."

How to extract data from API response? ›

How to use data extraction API?
  1. Step 1 - Kickstart your journey by signing up! ...
  2. Step 2 - Go through API documentation. ...
  3. Step 3 - Set up the platform. ...
  4. Step 4 - Send an API request. ...
  5. Step 5 - API authentication. ...
  6. Step 6 - Parameterizing requests. ...
  7. Step 7 - Errors handling. ...
  8. Step 8 - Extraction and integration.

How to convert postman response to Excel? ›

  1. Step 1: Set up an API call in Postman that successfully returns the data you want to visualize. ...
  2. Step 2: Set up your visualization. ...
  3. Step 3: Test Your Visualization and View Your Output.
Jul 6, 2023

How do I export access results to Excel? ›

To export a local database as an Excel file in Microsoft Access:
  1. Open your Access database.
  2. Select the table or query you want to export.
  3. Go to the "External Data" tab.
  4. Click "Excel" in the "Export" group.
  5. Choose the location and name for the Excel file.
  6. Select the desired file format and options.
Jan 17, 2023

How do I export test results to Excel? ›

Export a whole test
  1. Find the test you'd like to export.
  2. From the test list view, click the Options (...) menu and select Export to Excel. ...
  3. Once your export is ready, you'll have the option to download the file. The file will also be emailed to you for your reference.
Mar 21, 2024

Top Articles
YIELD FARMING FOR DUMMIES [Strategies and Risks]
Yield Farming vs Staking vs Liquidity Mining
Lowe's Garden Fence Roll
Golden Abyss - Chapter 5 - Lunar_Angel
Washu Parking
Www.fresno.courts.ca.gov
Login Page
Workday Latech Edu
Craigslist Portales
Sprague Brook Park Camping Reservations
Songkick Detroit
What Was D-Day Weegy
Osrs Blessed Axe
FAQ: Pressure-Treated Wood
TS-Optics ToupTek Color Astro Camera 2600CP Sony IMX571 Sensor D=28.3 mm-TS2600CP
Fairy Liquid Near Me
Lima Funeral Home Bristol Ri Obituaries
Cinebarre Drink Menu
Aldi Sign In Careers
Aldine Isd Pay Scale 23-24
China’s UberEats - Meituan Dianping, Abandons Bike Sharing And Ride Hailing - Digital Crew
Aldi Bruce B Downs
Food Universe Near Me Circular
Chase Bank Pensacola Fl
Mybiglots Net Associates
Watch Your Lie in April English Sub/Dub online Free on HiAnime.to
Raw Manga 1000
Skidware Project Mugetsu
Busch Gardens Wait Times
Elijah Streams Videos
Progressbook Newark
Publix Coral Way And 147
Bratislava | Location, Map, History, Culture, & Facts
Kstate Qualtrics
Truckers Report Forums
Personalised Handmade 50th, 60th, 70th, 80th Birthday Card, Sister, Mum, Friend | eBay
Telegram update adds quote formatting and new linking options
Koninklijk Theater Tuschinski
WorldAccount | Data Protection
Let's co-sleep on it: How I became the mom I swore I'd never be
What Is A K 56 Pink Pill?
LumiSpa iO Activating Cleanser kaufen | 19% Rabatt | NuSkin
Ohio Road Construction Map
Jimmy John's Near Me Open
Learn4Good Job Posting
Scott Surratt Salary
Gear Bicycle Sales Butler Pa
Free Carnival-themed Google Slides & PowerPoint templates
Sdn Dds
Thrift Stores In Burlingame Ca
Dinargurus
Latest Posts
Article information

Author: Madonna Wisozk

Last Updated:

Views: 6037

Rating: 4.8 / 5 (68 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Madonna Wisozk

Birthday: 2001-02-23

Address: 656 Gerhold Summit, Sidneyberg, FL 78179-2512

Phone: +6742282696652

Job: Customer Banking Liaison

Hobby: Flower arranging, Yo-yoing, Tai chi, Rowing, Macrame, Urban exploration, Knife making

Introduction: My name is Madonna Wisozk, I am a attractive, healthy, thoughtful, faithful, open, vivacious, zany person who loves writing and wants to share my knowledge and understanding with you.