ahrefs_rank - Ahrefs API

Documentation - ahrefs_rank

Contains the URLs and their rankings.


Each request to ahrefs_rank costs 1 row.
Each result costs 1 row.
Using 'where' costs 5 rows.
Using 'having' costs 5 rows.

metrics

Column Type Where Having Description
url string + + Target of the request.
ahrefs_rank int + URL Rating of the target.

Examples



Request

https://apiv2.ahrefs.com?from=ahrefs_rank&target=ahrefs.com&mode=domain&limit=3&order_by=ahrefs_rank%3Adesc&output=json

Response

{
  "pages":[
    {
      "url":"https://ahrefs.com/",
      "ahrefs_rank":85
    },
    {
      "url":"http://ahrefs.com/",
      "ahrefs_rank":81
    },
    {
      "url":"http://ahrefs.com/api/toolbar_integration.php",
      "ahrefs_rank":12
    }
  ]
}