Google maps API - view my charges? - google-maps

I have been using the google maps and geocoding apis. As they state there is a cost depending on how many searches that you do with your API key. So, is there any way I can see what my current costs are - so I don't break the bank.
Thanks,
Ward

Related

Understanding Requests from Google Places API for Web w Place Autocomplete

We are considering using Google Places API for a new web application project and I believe we are vastly underestimating the number of requests we would use.
We would be using place search, Maps JavaScript API map load to grab Place IDs from Google as well as Place Autocomplete to help users find the defined location. So my questions are:
Would the Autocomplete be considered a request on every keystroke?
Would if also be a request when we select the suggestion (Places API)
and update to Map?
I have seen that with the premium Plan autocompletes use 0.1 Maps API Credit, while JavaScript API map load is 1 and Places API is 2 credits. Trying to understand how to count before the 150k limit and after
As mentioned in the comment of your question, Google is making some drastic changes to their collective maps API usage rates. Starting June 11th, the new pricing will go into effect.
Would the Autocomplete be considered a request on every keystroke?
As of now, places autocomplete is counted on every keystroke. Starting June 11th, you have the option to switch to session-based billing. They have different pricing rates which can be see in the pricing sheet link. Depending on your application, you'll want to use the option that minimizes API calls. I think if your use case is one time selecting of location by your users then you're better off with billing by keystroke.
Would if also be a request when we select the suggestion (Places API)
and update to Map?
Selecting a suggestion from Places API would not incur an API request (requesting the suggestions does), but updating a google map using the Map API would use an API request.
The 150k daily limit is going away in favor of the new billing rates, so I would suggest you look into that now. There are some free unlimited services still offered, like the Google Maps Embed API. Loading a map using the Embed API is not counted towards any billing (as of now).

Is GTFS-realtime data in Google Maps Directions API

I would like to know:
Is GTFS-realtime data available from the Google Maps Directions API?
If not, are there plans to include GTFS-realtime data in the Google Maps Directions API?
I am a member of a team developing a web application that integrates Google Maps Directions API. The website provides a "Trip Planner" form in which the user enters From, To, Date, and time data to display trip options into the website. Our website visitors are specifically interested in Bus transit options.
The integration is working wonderfully. However, the data returned by the Google API does not contain GTFS-realtime data. We know that the realtime is known to Google through GTFS feeds provided by the transit provider, and we see the realtime data when doing an identical search via https://www.google.com/maps.
I looked at the "Transit Specific Information" that is returned in the Google Maps API DirectionsResult Object (https://developers.google.com/maps/documentation/javascript/directions#TransitInformation). There is no reference to real-time information in this documentation. Even if real-time information is supplied (and I suspect that it is not), there would be no way to distinguish between scheduled and predicted times.

google maps api terms

I'm trying to use google maps API and have a question:
google says (http://www.google.com.ua/intl/en/enterprise/mapsearth/products/mapsapi.html) that if I use google maps I have restrictions for those services:
1) geocoding service
2) directions service
3) distance matrix service
4) eleveation service
but what about simple API? I mean are there any restrictions if I use lets say only function that adds marker to a map and function that shows the place on the map where particular point is located?
Thanks. Sorry for noob question but I've read terms and conditions few times and still not sure about the answer.
The restrictions i know about:
Not more than eight waypoints per route
Limited request-rates. It will be slow enough if you request one direction in one second.
No implementation on serverside. You will have to implement the Google API on clientside.
From Google:
2,500 directions requests per day.
When the mode of transportation is driving, walking, or cycling, each directions search counts as a single request.
Searching for transit directions counts as 4 requests.
Individual requests for driving, walking, or cycling directions may contain up to 8 intermediate waypoints in the request. Waypoints can not be specified for transit requests.
Concerning simple API:
There are no restrictions. :)

Combine Google Places and Google Geocoding APIs

Here is my situation: I use Google Places Autocomplete to help the user choosing a destination. I want then to use the data of the chosen destination (geocode type in Google Places)
The thing is that, through Google Places Details (with reference token), the details provided are not optimal, compared with the one give by Google Maps Geocoding API.
For example, Google Maps API provides a viewport and a bound box for almost every destination, whereas Google Places Details never provides any bound box and gives a viewport only some times.
So I wonder if there is a way to pass the destiantion from Google Places Autocomplete to Google Geocoding API. Could we use the reference token or the unique id as a junction?
Of course we could use the "formatted_address" but it doesn't insure unicity and integrity of the data so I don't think it's a good idea.
I'm sure there must be a gateway between Google Places and Google Geocoding APIs but I don't think it's documented.
So if someone has some experience about that, I'd be glad to hear it.
Thanks

Better free option for google maps geocode

I'm using google maps to geocode. But I have 280k address to geocode, I would like to know a better option for this.
Thank you.
I looked for Bing and Yahoo! tutorial to make the geocoder, but nothing was found, only plotting tutorials.
Bing Maps has a couple of different options for geocoding data. There is a lot of information out there on this as well.
The batch geocoder in Bing Maps allows licensed customers to geocode up to 25 files of 200,000 addresses a day. Unlicensed customers are limited to 50 addresses per file. Documentation:
http://msdn.microsoft.com/en-us/library/gg585136.aspx
http://msdn.microsoft.com/en-us/library/ff701733.aspx
Bing Maps also has an on-demand REST geocoding service which can geocode one address at a time. Here is some documentation:
http://msdn.microsoft.com/en-us/library/ff701715.aspx
http://msdn.microsoft.com/en-us/library/jj819168.aspx
http://msdn.microsoft.com/en-us/library/jj870778.aspx
http://blogs.bing.com/maps/2013/02/14/bing-maps-rest-service-tips-tricks/
All this said, it should be noted that there are restrictions around geocodes with most mapping platforms. Generally they can not be used with competing mapping platforms. i.e. Data geocoded by Bing Maps cannot not be used in a Google Maps application.