Quering a json api from Ms Query

pebster

New Member
Joined
Mar 7, 2017
Messages
1
Hi
I need to call an API to return a physical Address from a service
I have tried using Data > New Query > From other Service > From Web

No matter how I fill out the Access Web content I get the same error
"A web API key can only be specified when a web API key name is provided."

I wonder if someone could help with what needs filling in.

I have successful curl statement that works - Could I use Query to pull in the data to Excel?

[FONT=&quot]

curl --header X-AUTH-TOKEN: <APIKEY> --header Accept: application/json --request GET https://service.io/v4/company/gb/<companyid>/addresses.json?limit=10
[/FONT]












Ultimately I would like to be able to pull the addresses down based on the companyid variable.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,216,099
Messages
6,128,822
Members
449,469
Latest member
Kingwi11y

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