Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a google API to read cached content? [closed]

I know you can go to http://webcache.googleusercontent.com/search?q=cache:http://example.com/ to view Google's cache of any URL, but do they provide an API to hit thousands of these and pay for access?

I don't want to just make HTTP GETs to these URLs too fast and get my IP addresses banned or upset Google.

Just wondering if they offer a way to pay and do this through official channels like they do with their search API.

like image 992
Andrew Arrow Avatar asked Sep 25 '13 16:09

Andrew Arrow


People also ask

How long does a cached page stay on Google?

Google keeps webpages in their cache for about 90 days, or until the page is crawled again.

Can you cache Google Places API?

Applications using the Places API are bound by the terms of your Agreement with Google. Subject to the terms of your Agreement, you must not pre-fetch, index, store, or cache any Content except under the limited conditions stated in the terms.


1 Answers

Google doesn't seem to have an API to access the cached results:

There are some attempts to scrape it and wrap it in APIs, such as this perl module

Other than that the Wayback Machine has an API, of cached versions of sites. Perhaps that will do?

like image 167
Matthew Lock Avatar answered Oct 20 '22 17:10

Matthew Lock