Page 1 of 2

Google PageRank query

Posted: Tue Aug 14, 2007 7:12 am
by miro_igov
Does anyone know how can I extract the Google PageRank for a given URL ? It seems there is no API for this. Any ideas?

Posted: Tue Aug 14, 2007 8:15 am
by iknownothing

Posted: Tue Aug 14, 2007 8:38 am
by superdezign
SEOQuake (a Firefox add-on) is what I use for determining PageRank and all. Very handy tool. They advertise a bit on it, but not annoyingly so.

Posted: Tue Aug 14, 2007 9:15 am
by miro_igov
@Superdiz: Thanks, but i'm trying to create Web Tool which displays some stats when user enters a domain and one of the values is the PR. So i need to extract it somehow.

@iknownothing: this post is too old and most of the links in it are not working. Also google changes the checksum algorithm periodically so i do not believe such a hack will be useful

Posted: Tue Aug 14, 2007 9:25 am
by superdezign
miro_igov wrote:@Superdiz: Thanks, but i'm trying to create Web Tool which displays some stats when user enters a domain and one of the values is the PR. So i need to extract it somehow.
Get SEOQuake and look at the way that they get the PR. They have to get it FROM Google.

Posted: Wed Aug 15, 2007 3:41 am
by miro_igov
How to see what they do?!?! It is binary.

Posted: Wed Aug 15, 2007 8:26 am
by feyd
packet sniffing?

Posted: Wed Aug 15, 2007 8:42 am
by miro_igov
I do not understand much of packets analyzing. Any other ideas?

Posted: Wed Aug 15, 2007 9:38 am
by superdezign
Other ideas? -_-

You're saying it as though it's a simple task. If your searches didn't turn up any results, then there is, likely, no 'simple' way to do it. So far, I've only seen it done through browser toolbars and external software.

SEOQuake produces a URL for their PageRank queries, but the URL has a special ID per-query, and I've no idea how it's generated.

Posted: Wed Aug 15, 2007 9:53 am
by VladSun
That sounds pretty close to what you are looking for:
http://www.tapouillo.com/firefox_extension/

Posted: Wed Aug 15, 2007 10:06 am
by superdezign
VladSun wrote:That sounds pretty close to what you are looking for:
http://www.tapouillo.com/firefox_extension/
Whoa, interesting.

If the source code given by that link does, indeed, generate this ID, then the syntax for the URL (for SEOQuake, at least) is:

http://toolbarqueries.google.com/search ... &hl=en&ch=[UNIQUE-ID]&ie=UTF-8&oe=UTF-8&features=Rank&q=info:[WEBSITE-URL]

Minus the brackets.

Posted: Wed Aug 15, 2007 11:21 am
by miro_igov
The UNIQUE-ID is hash calculated somehow with a key which only google knows, maybe some people have extracted that key but google changes it frequently.

Posted: Wed Aug 15, 2007 11:25 am
by superdezign
miro_igov wrote:The UNIQUE-ID is hash calculated somehow with a key which only google knows, maybe some people have extracted that key but google changes it frequently.
Did you try out the source? I doubt SEOQuake has to get the key from Google over and over.

Posted: Wed Aug 15, 2007 11:27 am
by miro_igov
No, SEOQuake is too complex to me, it's file is binary and the packet sniffing is not my area of experience.

Posted: Wed Aug 15, 2007 11:28 am
by superdezign
miro_igov wrote:No, SEOQuake is too complex to me, it's file is binary and the packet sniffing is not my area of experience.
No no, the source on the page that VladSun pointed out. It actually has a PHP script that looks to be able to generate the unique id using the URL.