Get location from Alexa Skills Kit (ASK)

Chris Mielke picture Chris Mielke · May 2, 2016 · Viewed 9k times · Source

I'm looking for a way to get the user's location, ideally longitude/latitude but address would work too, from the Alexa Skill Kit request to my custom skill. Also, I don't want to have to have the user link to an account on my app's side.

Is this possible? If so, how?

Answer

Tom picture Tom · Apr 5, 2017

Amazon has now (2017-04-05) added this capability. See their blog post about their new Device Address API.

Using this new API you can get the address (either postal code or full address) of the device, as specified in the customer’s device settings.

From that you could use a geocoding API (such as is part of the Google Maps API) to translate the address into location coordinates.