Google Rank Calculator
26 April 2004
It's a dream of mine to work with the uber-boffins at Google (not least of all because of the stock options). But for the moment, I'll have to be satisfied with access to the Google Web API – an interface which allows you to query Google's database of over 4,000,000,000 pages and do what you will with the returns.
Unfamiliar with SOAP, it took me a little while to figure out exactly how to remotely query the Google search engine and handle the returned data, but it was sorted eventually. As a first time exercise, I decided to code a little (trivial) application that answers the question that my ego is always asking: "where does my site rank in Google"?
To my disappointment, themaninblue.com doesn't appear in the first 100 results of "best site ever", but luckily I've made a public interface to the code, so you can find out whether your site is one of the best, or find its ranking in any other search query that you find interesting.
A couple of caveats:
- The good folks at Google only give developers 1,000 search queries (consisting of 10 results) a day, so once that limit has been reached you won't be able to access any results till the next day. If your Web site appears on the 10th Google page it actually requires 10 queries to find it, so 100 such uses will devour my ration of queries. If you've got your own Google Web APIs license key, you can enter that on the form (and if you do have one, please enter it to help conserve my own allocation).
- The results returned via the API are slightly different to those returned via the actual Google Web page (because of filtering and other operations), so the actual ranking of your site mightn't be as it appears. It's normally correct to within about 5 though.
Follow me on Twitter
To hear smaller but more regular stuff from me, follow @themaninblue.
- Resolution dependent layout update
- footerStickAlt: A more robust method of positioning a footer
- widgEditor: A simple, standards-compliant WYSIWYG HTML editor
- Accessible, stylish form layout