Data from API into Excel sheet shows "[List]" How to view the values?

Chartist

Board Regular
Joined
Apr 2, 2007
Messages
138
Office Version
  1. 365
Platform
  1. Windows
Imported data from API.
Data > From Web.
Convert > Into Table
'Close & Load'.
The result is supposed to be data, instead I get the word " [ List ] "in cell B1. How to view the actual list of data?

Thanks.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
You'll probably need to do a bit more work in Power Query, for example expand the list to rows.
 
Upvote 0
You'll probably need to do a bit more work in Power Query, for example expand the list to rows.
Yes, looks like something basic, but I'm not able to figure it out. Can you point me where to start in Excel to extract the values in the list into the excel sheet?
 
Upvote 0
It's Power Query you need to work in to expand the list and then return the data to Excel.

Since I don't know anything about the API you are accessing or what it returns I can't give specific instructions but you could try right clicking the List in Power Query and selecting Into Table.
 
Upvote 0
Please try

Power Query:
let
    Source = Json.Document(Web.Contents("https://www.binance.com/api/v3/depth?symbol=BTCUSDT")),
    Expand = Table.FromRecords(List.Transform(List.Zip({Source[bids],Source[asks]}),each [bids1 = _{0}{0},bids2=_{0}{1},asks1= _{1}{0},asks2= _{1}{1}]))
in
    Expand
 
Upvote 0
Solution
Where do I paste this code? Thanks! (sorry, am a beginner with this feature)
 
Upvote 0
Data > From Web
Power Query, Ribbon Home > advanced editor
 
Upvote 0

Forum statistics

Threads
1,223,750
Messages
6,174,290
Members
452,554
Latest member
Louis1225

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top