How to check what API's are enabled for a Google API Key

Your store locator uses a few Google API's in order to work properly. Here’s how you can determine whether yours are enabled, or missing.

1. Copy/ paste then visit the following URL's in your browser of choice. Use a new tab or window for each one.

URL #1 (Geocoding) 

  • *https://maps.googleapis.com/maps/api/geocode/json?address=84084&key=YOUR_API_KEY

URL #2 (Distance Matrix) 

  • *https://maps.googleapis.com/maps/api/distancematrix/json?units=imperial&origins=40.6655101,-73.89188969999998&destinations=40.6905615%2C-73.9976592%7C40.6905615%2C-73.9976592%7C40.6905615%2C-73.9976592%7C40.6905615%2C-73.9976592%7C40.6905615%2C-73.9976592%7C40.6905615%2C-73.9976592%7C40.659569%2C-73.933783%7C40.729029%2C-73.851524%7C40.6860072%2C-73.6334271%7C40.598566%2C-73.7527626%7C40.659569%2C-73.933783%7C40.729029%2C-73.851524%7C40.6860072%2C-73.6334271%7C40.598566%2C-73.7527626&key=YOUR_API_KEY

2. Replace 'YOUR_API_KEY' with your unique API key. Your API key can be found in app.onebark.org ➡️ Storelocator ➡️Settings ➡️ API Key.

4. If you get an output, it means the API library is enabled, and you are good to go!

Geocode Output Example

Distance Matrix Output Example

5. If you see this: "error_message" : "This API project is not authorized to use this API." it means the API key is not present and you'll need to re-add it. Instructions for adding your API key can be found here:How to Set Up Your Google Maps API Key

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us