Documentation - linked_domains

Contains the external domains that the target has links to.

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

domains

Column Type Where Having Description
domain_from string + Target of the request.
domain_to string + External domain that has links from the target.
links int + Number of external links from the target that link to the external domain.
unique_pages int + Number of unique pages from the target that link to the external domain.
domain_to_rating int + Domain Rating of the external domain.

Examples



Request

http://apiv2.ahrefs.com?from=linked_domains&target=ahrefs.com&mode=domain&limit=3&output=xml

Response

<?xml version="1.0" encoding="UTF-8"?>
<AhrefsApiResponse>
  <domains>
    <domain>
      <domain_from>
        ahrefs.com
      </domain_from>
      <domain_to>
        negocioseninternet.com.ve
      </domain_to>
      <links>
        2
      </links>
      <unique_pages>
        2
      </unique_pages>
      <domain_from_rating>
        46.949200
      </domain_from_rating>
    </domain>
    <domain>
      <domain_from>
        ahrefs.com
      </domain_from>
      <domain_to>
        wedigg.co.uk
      </domain_to>
      <links>
        1
      </links>
      <unique_pages>
        1
      </unique_pages>
      <domain_from_rating>
        50.024800
      </domain_from_rating>
    </domain>
    <domain>
      <domain_from>
        ahrefs.com
      </domain_from>
      <domain_to>
        stokedseo.co.uk
      </domain_to>
      <links>
        2
      </links>
      <unique_pages>
        2
      </unique_pages>
      <domain_from_rating>
        50.152400
      </domain_from_rating>
    </domain>
  </domains>
</AhrefsApiResponse>