Google geocode API doesn't recognise some zipcodes - google-maps

I am using google geocode+geolocation APIs for finding places and calculating distances between them.
There are some zip codes which actually exist when we search them on Google but google APIs are unable to locate them.
Here is one in the link: 01703
Response is
{
"results" : [],
"status" : "ZERO_RESULTS"
}
How can I overcome this issue (with Google API) or is there a way to contact google support directly? Or if there is any other service which has better results?
Please help me to solve this. Waiting for response. Thanks

The Google maps api reads directly from Google maps itself. If there is data missing then it can be added Report an error on the map
If it is on the map and just not in the API then they may be in the process of approving the change.
Beyond that you could report it as a bug issue tracker or try to contact the support team
Normally there isnt much you can do if there is no data in the api for your request there is no data. For the most part Google services are free "you get what you pay for".

I am a developer at SmartyStreets, and have worked a lot with our US ZIP Code API. I ran the ZIP Code 01703 through it, and got back the geocodes no problem. You can try it out for free if you're interested.

Related

Get restaurant match percentage from Google Maps API

When using Google maps personally I see that it gives me a "match" percentage when I search nearby restaurants. Is there a way to access this information through the API after a user authorizes with their Google account OAuth sign-in?
I have dug around in the [https://developers.google.com/places/web-service/intro](Google Places API docs) but unable to find anything on restaurant match suggestions. Has anyone had experience using or seeing this in a response?
Thank you for any help in advance, I'm new to using Google APIs.
It is not possible to get this information through the Maps APIs at this time.
However, you can file a Feature Request for this in Google's Public Issue Tracker: https://issuetracker.google.com
The Places API component can be found here
Hope this helps!

how can I get congestion information from google maps APIs

For my project I need to extract congestion information through a route obtained from Google's map API. I went through Google's Direction API, it just provides information regarding the estimated time of travel through that route. Please Help. Thank You in advance.
I believe currently there is no any endpoint to get this information from Google. You might be interested in the following feature request that I can see in Google issue tracker:
https://issuetracker.google.com/issues/65322481
Please star this feature request and add a comment that explains your use case.
UPDATE
It looks like the feature request mentioned above was rejected by Google (I assume this is also a reason for downvote).
There is another feature request for real-time traffic data for a particular route on maps
https://issuetracker.google.com/issues/36537583
The latter is still valid and marked as Assigned and Neat Idea.
Please star the feature request everybody who is interested in it.

Unable to get special opening hours from Google Places API

Special hours are marketed/documented on Google My Business, see https://support.google.com/business/answer/6303076
Is there a way of retrieve this special opening hours from the Google Places API?
I've tried adding special hours to Google My Business. It works as expected in Google Maps and Google search. However, it does not show in the returned values from Google Places API.
Currently, special hours are not available via Places API.
There is a feature request 10145 in the public issue tracker to add this information in the API.
Please star the public issue to vote for this feature and receive further updates.
For people looking for an answer to this, there is a solution and that is to use Google My Business API. There you can get special hours.
Google My Business API you have to apply to use. Read more at Google My Business API

Can I get old photos use Google streetview API?

Recently, Google map could go back in time Street View by "TimeMachine".
I couldn't find the way in the APIs.
Is their TimeMachine parameter for change the time?
Have I any other way if we don't have API to get the data of "TimeMachine"?
For example, enter a URL of Street View directly.
To my knowledge, this is not possible using the API.
This feature request from the official Google Maps API bug tracker covers exactly this funcitonality:
Issue 6718: Feature Request: Access to Street View images from different times
It it open since May 2014.

Access Denied when attempting to use Google Maps Geocoding Service with a Console API Key

UPDATE: In an effort to give a more clear question. How do I use the Google Console API key with the Google Maps Geocoding Web Service API? At the moment the request comes back as denied, when I specify the key but even though it failed it is logged in the Google Console API site's reports section.
Original Question
I have an existing app that has been modified to start geocoding address at the time they are entered (for use within the app on a Google Map). The volume expected for this is expcted to be within the free offering's limites and does not require a key at this time. However now I have to geocode all of the existing addresses. I have a small windows app (C#) that will loop through them one at a time, request they be geocoded (via https://maps.googleapis.com/maps/api/geocode/json) and store the results in the database. However I keep running into the query limit. To help alleviate this I've setup an account on Google API Console (https://code.google.com/apis/console/) so that I get go over the limit and just be billed for the overages.
The problem is in order to do utilize this billing alternative I have to provide a Console API Key to the request, but every time I do so I get a response back with a status of REQUEST_DENIED.
My URL looks like this
https://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA+94043&sensor=false&key=123abc
If I take off the key it works fine, but with it on it fails. Now, I have seen other questions similar to this when looking around but can find no answer to the issue.
I've tried various alternate domains including maps.google.com, maps.googleapis.com and maps-api-ssl.google.com all seem to have the same problem from what I can tell.
Here's what I've been able to find out so far:
The service is listed in the Google Console API's site as Google Maps API v3, (there is a separate entry for v2) so I don't think it's a problem with keys no longer being mandatory in v3.
I know the requests are getting through and being correctly logged against this API key because with each failed attempt the request count goes up by one on the Reports tab of the Google APIs Console.
*I know it's not a problem with it not being accessed via a web page because the Console API explicitly lets you generates keys intended for Server/Service use and you can restrict access to them via IP address, not URL Referrer.
*I've also verified the parameter syntax as it's outlined on this page, as are other usage
*These seem to be generic to the Console API system but there is no mention of exceptions to these practices when used for the Google Maps API.
I even tried to contact Google but apparently they don't offer support over the phone (I was hoping to be done with this today but that's not looking likely).
It seems the key is not necessary anymore, since it doesn't increase your limit of free geocodings.
It was a legacy of v2, but geocoding API v2 was fully deprecated last March, 8.
If you need to use more than the free limit, I think you must adquire the Enterprise license.
Regards,
Eduardo.
I ran into this same issue and solved it by enabling the Geocoding API on the Google apis dashboard. Even though I'm using the Google Maps JavaScript API v3, it still required me to enable the Geocoding API as well. Make sure you understand the google's quota limits and billing system before enabling any API access. Hope this helps!
Late to this answer, but just in case anyone else has issue. Billing needs to be setup first and like Dylan said you also have to enable Geocoding API(this got me). At least I did for my locations app that shows multiple store location addresses.