Competitive Analysis

Referring domains

Changed on
post/competitive-analysis/link-intersect-refdomains

Request

  • Base URL
    https://api.ahrefs.com/v3
  • URL
    https://api.ahrefs.com/v3/competitive-analysis/link-intersect-refdomains
  • Auth
    HTTP bearer

Request body

selectstring[] required

A list of columns to return. See response schema for valid column identifiers.

whereobject

The filter expression. The following column identifiers are recognized (this differs from the identifiers recognized by the select parameter).

anchor: The clickable words in a link that point to a URL.
type: string

domain: The referring domain.
type: string

domain_rating: The Domain Rating of the referring domain.
type: float

intersect: Number of competitors linked from this result.
type: integer

is_content: The link was found in the biggest piece of content on the page.
type: boolean

is_dofollow: The link has no special nofollow attribute.
type: boolean

is_homepage_link: The link was found on the homepage of a referring website.
type: boolean

is_nofollow: The link or the referring page has the nofollow attribute set.
type: boolean

is_root_domain: The referring domain name is a root domain name.
type: boolean

is_sponsored: The link has the Sponsored attribute set in the referring page HTML.
type: boolean

is_ugc: The link has the User Generated Content attribute set in the referring page HTML.
type: boolean

languages: The languages listed in the referring page metadata or detected by the crawler to appear in the HTML.
type: array(string)

link_type: The kind of the backlink.
type: string
enum: "redirect" "frame" "text" "form" "canonical" "alternate" "rss" "image"

linked_domains: The number of unique root domains linked from the referring page.
type: integer

links_external: The number of external links from the referring page.
type: integer

links_to_competitor_1: Number of links from the referring domain to competitor 1.
type: integer

links_to_competitor_2: Number of links from the referring domain to competitor 2.
type: integer

links_to_competitor_3: Number of links from the referring domain to competitor 3.
type: integer

links_to_competitor_4: Number of links from the referring domain to competitor 4.
type: integer

links_to_competitor_5: Number of links from the referring domain to competitor 5.
type: integer

links_to_competitor_6: Number of links from the referring domain to competitor 6.
type: integer

links_to_competitor_7: Number of links from the referring domain to competitor 7.
type: integer

links_to_competitor_8: Number of links from the referring domain to competitor 8.
type: integer

links_to_competitor_9: Number of links from the referring domain to competitor 9.
type: integer

links_to_competitor_10: Number of links from the referring domain to competitor 10.
type: integer

links_to_competitor_11: Number of links from the referring domain to competitor 11.
type: integer

links_to_competitor_12: Number of links from the referring domain to competitor 12.
type: integer

links_to_competitor_13: Number of links from the referring domain to competitor 13.
type: integer

links_to_competitor_14: Number of links from the referring domain to competitor 14.
type: integer

links_to_competitor_15: Number of links from the referring domain to competitor 15.
type: integer

links_to_competitor_16: Number of links from the referring domain to competitor 16.
type: integer

links_to_competitor_17: Number of links from the referring domain to competitor 17.
type: integer

links_to_competitor_18: Number of links from the referring domain to competitor 18.
type: integer

links_to_competitor_19: Number of links from the referring domain to competitor 19.
type: integer

links_to_competitor_20: Number of links from the referring domain to competitor 20.
type: integer

links_to_target: Number of links from the referring domain to the target.
type: integer

page_category: Comma-separated list of AI-predicted hierarchical category paths for the referring page. Each value is a slash-prefixed path (e.g. /Business_and_Industrial/Advertising_and_Marketing/Marketing). See Page type and category classifications for the taxonomy and filtering examples.
type: string nullable

page_type: Comma-separated list of AI-predicted hierarchical page type paths for the referring page. Each value is a slash-prefixed path (e.g. /Article/How_to). See Page type and category classifications for the taxonomy and filtering examples.
type: string nullable

positions: The number of keywords that the referring page ranks for in the top 100 positions.
type: integer

powered_by: Web technologies used to build and serve the referring page content.
type: array(string)

refdomains (5 units): The number of unique referring domains linking to the referring page.
type: integer

snippet_left: The snippet of text appearing just before the link.
type: string

snippet_right: The snippet of text appearing just after the link.
type: string

source_page_author: The author of the referring page.
type: string nullable

title: The html title of the referring page.
type: string

traffic_domain (10 units): The estimated monthly organic traffic of the referring domain.
type: integer

traffic_page (10 units): The referring page's estimated monthly organic traffic from search.
type: integer

url_from: The URL of the page containing a link to your target.
type: string

order_bystring[]

A list of columns to order results by, with optional direction. See response schema for valid column identifiers.

limitinteger

The number of results to return.

timeoutinteger

A manual timeout duration in seconds.

output'json' | 'csv' | 'xml' | 'php'

The output format.

Example request

{
  "select": [
    "field_a",
    "field_b"
  ],
  "order_by": [
    "field_a",
    "field_b:asc",
    "field_c:desc"
  ]
}

Response

OK

Changes