3

As we all know, Google aggregates lots of data that is later used in Google Maps.

One prominent example is traffic, another is customer frequency.

Is there a way (except using web crawlers) to access this kind of information, and if so, how detailed is it?

4
  • Please be more specific about the kind of data you want. Either ask for traffic or customer frequency (what is that anyway?), not both. Read this and edit your question.
    – user4293
    Oct 25, 2017 at 15:25
  • I'm pretty sure it won't be. Those data are very valuable to Googles business model.
    – gerrit
    Oct 25, 2017 at 18:02
  • See also stackoverflow.com/questions/4600656/… and stackoverflow.com/questions/10082122/… both of which suggest this is not possible, at least not easily.
    – user3856
    Oct 25, 2017 at 18:30
  • Google gets the traffic and customer frequency through tracking people's android phones. For traffic you could try waze.com, for customer frequency I think you're out of luck. For other more traditional map data, try openstreetmap.org
    – Swier
    Oct 26, 2017 at 13:39

2 Answers 2

2

Realtime Traffic

I can give you an answer for where you can source real-time traffic data. I've not used this API myself but I remembered reading an article about how MapQuest were trying to find ways to compete with Google in mapping and the realtime traffic API seemed to be the big selling point (though they do have quite a few other apis available) it's free for up to 15000 requests/month with various tiers of requests/features/cost upward from there.

The Traffic API jumping off point lives here:

https://platform.mapquest.com/documentation/traffic-api/

And the Developer home is just

https://platform.mapquest.com


Google Data

As for the interactive data on google maps, they specifically dont give out their traffic data. I tried to write a brief explanation of why, it was wildly off topic. If anyone would like to know, ask a new question and I'll answer it.

The Footfall/ Customer Frequency data isn't even available in the my business API, I thought the reason it wasn't in a maps api was because it was business performance data, so should be in the business listing performance API. I assume it's the same reasoning as the traffic data as they're essentially the same thing, predictions of how many of a thing will be in a place at a given time.

The Places API provides everything else including most recent reviews and a boolean indicating if a place is currently open or not, which i think covers all of the interactive data.

To get some of the information used to provide the traffic data, the estimated traffic from historic data is taken into account when using the distance matrix API, which lets you specify multiple start and end locations which it plots routes between and can return a "time in traffic" value for a given calculated route between a pair of points. As far as i know this is the way of accessing "that kind of data" that gives the most detail and also returns the largest set of results.

0

It's a big YMMV, but I wrote a scraper for Google Maps "Popular Times", both the hourly data for a normal week, as well as the current "live" value.

https://github.com/philshem/gmaps_popular_times_scraper

turn this:

enter image description here

into this:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.