Connecting meraki API to excel

Just browsing

Connecting meraki API to excel



Im having an issue with the meraki api connecting in excel as it used to in the spreadsheet that its on. (someone else developed it, has now left) 


(the spreadsheet basically took the data from the devices on a network and showed how much data was tranferred between clients in the past 31 days.)


It no longer connects to the meraki api . (the API key is stored in a text file on the desktop which excel reads it from).


can anyone give me any help 









7 Replies 7
Kind of a big deal
Kind of a big deal

Have you verified the key that is in use is still the correct key for your user?

You might wanna fire up Postman and fill in the key your app is using and see if it still takes it.

So I have tried using different, revoking then and regenerating them to see if it was a key issue but I was still getting errors. 


Kind of a big deal
Kind of a big deal

If it is quite old, you might find it is still using the V0 API, and needs to be updated to use the V1 API. 


Impressive effort linking the Meraki API to Excel!

Hi Phil thanks for the reply.


so I have tried using V0 and V1 and it gives me 2 different errors. 

V0 gives me a 404 error saying it can’t connect to meraki.api 


V1 gives me the authentication error 


Do you have any suggestions on what would be a better way to produce reports for meraki ?

I used the below in Excel - and it worked.  Give the below a go.  If it doesn't work - it must be your API key.


    Source = Json.Document(Web.Contents("",[Headers=[#"X-Cisco-Meraki-API-Key"="your-api-key"]]))


Did you create this as a macro ? or did u use power query.


can you explain how u did it 



Building a reputation

If you just need to dump Meraki data for your organization to Excel, DataMagic does this and is free for up to 100 devices. .  You just need an API key.

Get notified when there are additional replies to this discussion.