General usage

Hello! API is as easy as pie:


where YOUR-API-KEY is your personal API key and URL is URL to check.

Response example (json):

    "details": null,
    "rank": 9,
    "success": true,
    "url": "http://google.com"

Create account for free

How service control resources

You can monitor resource usage via X-RateLimit-Remaining response header. Service records how much requests you did in a calendar day and resets measurement at UTC. When a quota is depleted, service returns HTTP 403 error.

Parsing response

Responses are encoded by json. Here's example using Python and excellent requests library:

import requests
import json

URL = 'google.com'

response = requests.get('https://api.rankapi.net/v1/pagerank?key=%s&url=%s' % (API_KEY, URL))
if response.status_code == 200:
    result = json.loads(response.text)
    if result['success']:
        print result['rank'], result['url']

Request limit, HTTP methods, Character Encoding

  • Request limit — Request quota depends on your API key
  • HTTP methods — Only GET method supported
  • Character Encoding — UTF-8

HTTP Response Status Codes

  • 200 — Everything is fine
  • 400 — Bad request, check request URL
  • 403 — Access denied because of invalid api key, quota limitation etc.
  • 404 — URL not found
  • 500 — Something wrong with the server

This website is not affiliated with Google. "PageRank" is a trademark of Google Inc.