tags:

views:

64

answers:

1

Is there a Google API similar to Yahoo and Bing's API's to check for the number of indexed pages on a specified domain?

For example, for Yahoo if I type in the following URL:

http://search.yahooapis.com/SiteExplorerService/V1/pageData?appid=MTSlade&query=http://www.dave-sellers.co.uk&domain_only=1&results=1

Then it will return some XML detailing the number of pages indexed as 'totalResultsAvailable'

Any idea?

Thanks

A: 

I'm not sure about an API but you can view the pages Google has indexed by doing a search like so:

site:http://thesitesurl.com

Here is an example. You could apply some logic to the pagination and number of items per page etc (or simply use the "Results 1 - 100 of about 9,100,000"). You could even choose to display 100 items per page by using this sort of syntax. I'm not sure if this would fit your exact requirements, but it's better than nothing.

Sam152
Thanks for your response, unfortunately I need the results to be returned in XML as I am building a reporting tool that parses various bits of XML and spits out statistics.
Probocop