Documentation - ahrefs_rank

Contains the URLs and their rankings.


Each request to ahrefs_rank costs 1 row.
Each result costs 1 row.
Using 'offset' costs 5 rows.
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

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

Response

<?xml version="1.0" encoding="UTF-8"?>
<AhrefsApiResponse>
  <pages>
    <page>
      <url>
        http://ahrefs.com/
      </url>
      <ahrefs_rank>
        12.789203
      </ahrefs_rank>
    </page>
    <page>
      <url>
        https://ahrefs.com/
      </url>
      <ahrefs_rank>
        12.509206
      </ahrefs_rank>
    </page>
    <page>
      <url>
        http://ahrefs.com/api/toolbar_integration.php
      </url>
      <ahrefs_rank>
        12.130302
      </ahrefs_rank>
    </page>
  </pages>
</AhrefsApiResponse>