Documentation - refips

Returns the referring IP addresses that have at least one link to the target.

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

refdomains

Column Type Where Having Description
refip string + + The referring IP address that links to the target.
refdomain string + + The domain name for the referring IP address.
backlinks int + + The number of backlinks from the referring IP address with particular domain name.

Examples



Request

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

Response

<?xml version="1.0" encoding="UTF-8"?>
<AhrefsApiResponse>
  <refdomains>
    <refdomain>
      <refip>
        204.225.190.144
      </refip>
      <refdomain>
        nydailynews.com
      </refdomain>
      <backlinks>
        960541
      </backlinks>
    </refdomain>
    <refdomain>
      <refip>
        204.225.190.144
      </refip>
      <refdomain>
        torontosun.com
      </refdomain>
      <backlinks>
        260570
      </backlinks>
    </refdomain>
    <refdomain>
      <refip>
        161.111.47.11
      </refip>
      <refdomain>
        webometrics.info
      </refdomain>
      <backlinks>
        246135
      </backlinks>
    </refdomain>
    <refdomain>
      <refip>
        204.225.190.144
      </refip>
      <refdomain>
        enidnews.com
      </refdomain>
      <backlinks>
        126253
      </backlinks>
    </refdomain>
    <refdomain>
      <refip>
        65.254.53.187
      </refip>
      <refdomain>
        netinfo.org.ua
      </refdomain>
      <backlinks>
        120625
      </backlinks>
    </refdomain>
  </refdomains>
</AhrefsApiResponse>