linked_domains - Ahrefs API

Documentation - linked_domains

Contains the external domains that the target has links to.

Each request to linked_domains costs 1 row.
Each result in the response costs 1 row.
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.
domain_to_ahrefs_top int + Ahrefs rank of the external domain.

Examples



Request

https://apiv2.ahrefs.com?from=linked_domains&target=ahrefs.com&mode=domain&limit=3&output;=json

Response

{
  "domains":[
    {
      "domain_from":"ahrefs.com",
      "domain_to":"negocioseninternet.com.ve",
      "links":2,
      "unique_pages":2,
      "domain_to_rating":46,
      "domain_to_ahrefs_top":34
    },
    {
      "domain_from":"ahrefs.com",
      "domain_to":"wedigg.co.uk",
      "links":1,
      "unique_pages":1,
      "domain_to_rating":50,
      "domain_to_ahrefs_top":36
    },
    {
      "domain_from":"ahrefs.com",
      "domain_to":"stokedseo.co.uk",
      "links":2,
      "unique_pages":2,
      "domain_to_rating":50,
      "domain_to_ahrefs_top":36
    }
  ]
}