Google PR API

Our API allows you to query for Google PageRank for up to 500 pages per day free of charge.

If you require more than this number of requests, you may purchase additional credits at ~$0.20 per 1000 credits. One request requires one credit.

Sign up at the bottom of this page, to be sent your API key.

Rules

The free requests allowance are per user, business or company. Registering for multiple API Keys is not allowed. All IP addresses and domains are monitored, please do not abuse the API as this will result in an instant ban.

PHP Code

We have made available a PHP class, a demonstration script and the PageRank icons in this downloadable package:

Resources (4.3 Kb)

Usage

Using our API is simple. Just make a standard HTTP request to this page:

Please note that all requests MUST be validated with a valid API key.

http://pr.webinfodb.net/pr.php?key=<API_KEY>&url=<URL>

For example, to get the PageRank for 'webinfodb.net', request:

http://pr.webinfodb.net/pr.php?key=API_KEY&url=webinfodb.net

If a PageRank was found, the response will be a number 0 (zero) to 10 (ten).

If there was an error, you will get an 'E:<ERROR>' response, where <ERROR> is replaced with the error.

If there is no available PR result, you will get the following response:

E:None

If your API Key is missing you will receive the response:

E:API Key Required

If your API Key is invalid or incorrectly formatted:

E:API Key Error

If your limit is exceeded, you will get the following response:

E:Limit Exceeded

When the "Limit Exceeded" error is received you MUST immediately stop making API requests.

Failure to do so may result in an account suspension, and you will start to receive the response:

E:Suspended

To avoid getting suspended, when you receive the E:Limit Exceeded response you must stop using the API immedately, you may then either purchase more credits, or wait 24 hours to refresh your daily free allowance.

To remove a suspension, please correct your script and let us know using this contact form. No PR results will be returned while an account remains suspended.

If you have been banned from using the API:

E:Banned

You may recieve E:Too Busy. Try again in a few minutes. as a response (HTTP Status 503). A Retry-After HTTP header is also sent.

You MUST obey this header and not make any further requests until the time specified (all requests in this time will be rejected).

If there is some other unspecific error:

E:Error

Account

All requests MUST be validated with a valid API key, you will need to sign-up to obtain an API key:

Email:

I agree in full to the terms and conditions of service as displayed here.