Like everyone else, I received an email saying that I need to activate billing to continue using the Google Maps API, and so I did. Now I try to understand what the cost my API usage will be – and I’m lost.
On Google Cloud Platform API / API and services I can see that there are 1 635 Maps Elevation API calls and 1157 Maps Java Script API calls at noon today.
At the same time, under IAM and administration / Quotas I see : 123 / 2500 requests per day.
What is the relation between the 1635+1157 API calls and the 123 requests?
I used 63 842 Elevation API calls and 36 023 Maps Java Script calls during the last 30 days – according to the price sheet google cloud price sheet.
This would cost 63842*5/1000+36023/1000*7 $ = 571 $ - yet the price shown is $0 for now.
It’s a free website - if I have to pay this kind of money it will be down next month…
Sorry if this is not the right place to ask, but I do this as a hobby. Thanks.
Just a little summary, now that the new cost scheme is in effect:
The Google Cloud Platform API / API and services section is the reference for computing API usage cost
The IAM and administration / Quotas section ‘may take more time to update’ (according to Google support) and was off by a factor of 10 in my case. I could never figure out the details (maybe something about the time zone ?), but I understand that you are not supposed to use it to check usage on a daily basis (use 1. For that)
Even if the mail from Google says API usage will ‘probably continue to be free’ in your case, now is a good time to check (half way through the first month): in my case, the actual cost would have roughly been 500 $ (-$ 200 free offer).
My solution to the problem on my free website was to remove the google maps from it. :-(
Thanks to all who tried to help.
Related
We are querying google maps service for static map image that stops working after some time (usually later in a day) with "StaticMaperror/Signature" error but we are not using Signature.
The problem is usually automatically gone after 00.00 AM (Pacific time) next day. There are no limits/thresholds configured on Google console portal for this API/key and it's not clear why we are getting this error after some time as it clearly looks like connected to some threshold/requests limit on on Google console portal
https://maps.googleapis.com/maps/api/staticmap?center=USA&zoom3&size=395x272&maptype=roadmap&key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Based on this documentation, you are only allowed up to 25,0000 unsigned(no digital signature) static maps requests per day.
It is possible that you are hitting this limit which causes you to get those errors.
For more than requests 25, 000 requests, you are required to include a digital signature in your Static Maps API request. Here's a guide on how to generate a digital signature.
If you are still having issues or concerns regarding your specific Google Maps project, you can always reach out to Google Maps Platform support.
Hope this helps!
I have been using Google Map API on my site for about a year. I use 3 Distance Matrix requests and 1 Direction API request on each map. There is only 1 map per page.
The requests/sec for the map is about 0.02. So the Distance Matrix requests are about 0.06 and the Direction API requests are about 0.02 accordingly. But for certain hours of the day, while the map requests remain at 0.02 requests/sec, the Distance Matrix requests and the Direction API request jump to extremely high level. For example, the Distance Matrix requests can be as high as 4-5 requests/sec (or 15,000 per hour!). These huge requests start 3-5 AM and end 5-8 PM central time. The page containing the map has a page view count of about 200/hour only.
This started to happen since March. Since March I have been charged by Google $1,900 for these requests. The billing support at Google said this is a technical issue. I have searched everywhere and still not sure where to get technical support from Google.
Standard plan users are not entitled to technical support. Only Premium plan customers can get a technical support from Google.
Do you use a restricted API key? The first step might be adding an IP address restriction (web services) or HTTP referrer restriction (Maps JavaScript API) to your API key to be sure that it is used only by your application.
If you believe that API key is compromised just replace it with another one and add restrictions to new key. Once deleted the old key you will see if some part of your application is broken or not.
Update
Google introduced Google Maps Platform that replaces Google Maps Premium and Standard plans. In Google Maps platform you can file support case with Google Maps support team from your cloud project.
I am creating a hybrid mobile application with Google Maps Javascript API v3 and I would like to use the Directions javascript service on client-side.
I just read that the policy of usage changed in june 2016, so now the 2500 daily request quota is valid for the client-side requests as well.
I would like to know if the daily quota can be used up individually in our client's devices or they have to share the quota alltogether.
For example if 3000 customer uses our mobile app on a daily basis than after 2500 of them made a direction request, the other 500 will not be able to do?
The quota number is based on the device or the application?
Thank you in advance!
It's now the total across ALL clients.
I am having latitudinal and longitudinal position of around 500,000 bridges and I want the elevation of those bridges using the latitude and longitude coordinates of this bridges. I wrote a script in c# to parse elevation for all the 500000 bridges using the elevation API from the google. I generated google key with my account. Also, I enabled the billing for this account , but after few 100 request, I get an error
We're sorry...
... but your computer or network may be sending automated queries. To protect our users, we can't process your request right now.
See Google Help for more information.
I read the google api limit usage and it says that I can make upto 100000 request a day with billing enabled.
How to parse the elevation for 100000 bridges in a day?
You have hit a TOS issue..10 e to be exact:
No mass downloading. You will not use the Service in a manner that gives you or a third party access to mass downloads or bulk feeds of any Content. For example, you are not permitted to offer a batch geocoding service that uses Content contained in the Maps API(s)
https://developers.google.com/maps/terms?hl=en
Did Google changed recently "his terms" about the Google Maps APIs ??
My APIs were working fine and I had billing enabled even if I never was billed cause I never reached the free 2 500 requests / day allowed.
Now it seems that we are limited to 100 requests / day + 1 request/second/user... and I believe my app is not working fine anymore because of this (unless the API keys could have changed with Google's changes?!?).
Is there anyone who also has billing enabled and still is limited to 100 requests per day?
Or anyone knows how to get rid of this limits?
Thanks in advance for your help!!
I don't think so.
This is exactly what the Google Developer Console told me three minutes ago.