0

Is there any API that gives me the page rank of a website programmatically?

Eric Leschinski
  • 146,994
  • 96
  • 417
  • 335
  • 2
    possible duplicate of [Getting Google PageRank via an API (PHP)](http://stackoverflow.com/questions/1344917/getting-google-pagerank-via-an-api-php) – cdhowie Nov 23 '10 at 20:22

3 Answers3

3

if you mean with pagerank the green bar on top of the google toolbar, just make a get request to

http://toolbarqueries.google.at/tbr?features=Rank&sourceid=navclient-ff&client=navclient-auto-ff&googleip=O;173.194.35.104;539&iqrn=O6uB&querytime=5X&orig=0gjuj&swwk=-1&ch=805513e7f&q=info:https://stackoverflow.com/

the last figure is the google toolbar pagerank figure (also known as green bar pagerank)

but it is not the real google pagerank (which isn't a figure beteween 0 and 10) and it is not even an estimate of the value of your page, it is just a figure google communicates to webmasters to turn on the "submit data to us" option of the toolbar. my recommendation is: just ignore it.

Community
  • 1
  • 1
Franz Enzenhofer
  • 3,666
  • 5
  • 19
  • 30
1

Sorry to dig up an old question, but I had this same problem, and found a way to solve it.

The "&ch=" part is a checksum of the domain/page you are trying to find the "fake PR" for.

Use the code from here: http://www.codeproject.com/Articles/20038/Request-Google-s-Page-rank-Programmatically

Replace the original URL with the URL provided by Franz (http://toolbarqueries.google.at/tbr?features=Rank&sourceid=navclient-ff&client=navclient-auto-ff&googleip=O;173.194.35.104;539&iqrn=O6uB&querytime=5X&orig=0gjuj&swwk=-1&ch=805513e7f&q=info:http://stackoverflow.com/).

ra00l
  • 570
  • 4
  • 20
0

This is really easy to use http://www.fourmilab.ch/webtools/PageRank/

Victor Pudeyev
  • 4,296
  • 6
  • 41
  • 67