GET /broken-backlinks
Servers
- https://api.ahrefs.com/v3/site-explorer
Query parameters
Name | Type | Required | Description |
---|---|---|---|
where |
String | No |
The filter expression. The following column identifiers are recognized (this differs from the identifiers recognized by the ahrefs_rank_source: The strength of the referring domain's backlink profile compared to the other websites in our database, with rank #1 being the strongest. ahrefs_rank_target: The strength of the target domain's backlink profile compared to the other websites in our database, with rank #1 being the strongest. alt: The alt attribute of the link. anchor: The clickable words in a link that point to a URL. class_c (5 units): The number of unique class_c subnets linking to the referring page. domain_rating_source: The strength of the referring domain's backlink profile compared to the others in our database on a 100-point scale. domain_rating_target: The strength of the referring domain's backlink profile compared to the others in our database on a 100-point scale. encoding: The character set encoding of the referring page HTML. first_seen: The date the referring page URL was first discovered. first_seen_link: The date we first found a backlink to your target on a given referring page. http_code: The return code from HTTP protocol returned during the referring page crawl. http_code_target: The return code from HTTP protocol returned during the target page crawl. http_crawl: The link was discovered without executing javascript and rendering the page. ip_source: The referring domain IP address. is_alternate: The link with the rel=“alternate” attribute. is_canonical: The link with the rel=“canonical” attribute. is_content: The link was found in the biggest piece of content on the page. is_dofollow: The link has no special nofollow attribute. is_form: The link was found in a form HTML tag. is_frame: The link was found in an iframe HTML tag. is_homepage_link: The link was found on the homepage of a referring website. is_image: The link is a regular link that has an image inside their href attribute. is_nofollow: The link or the referring page has the nofollow attribute set. is_non_html: The link points to a URL with non-HTML content. is_redirect: The link pointing to your target via a redirect. is_root_source: The referring domain name is a root domain name. is_root_target: The target domain name is a root domain name. is_rss: The link was found in an RSS feed. is_sponsored: The link has the Sponsored attribute set in the referring page HTML. is_text: The link is a standard href hyperlink. is_ugc: The link has the User Generated Content attribute set in the referring page HTML. js_crawl: The link was discovered after executing javascript and rendering the page. languages: The languages listed in the referring page metadata or detected by the crawler to appear in the HTML. last_seen: The date we discovered that the link was lost. last_visited: The date we last re-crawled the referring page to verify the backlink is alive. last_visited_target: The date we last re-crawled the target page to verify that it is broken. len_url_redirect: The number of redirect chain URLs. link_group_count: The number of backlinks that were grouped together based on the aggregation parameter. This field cannot be used with aggregation 'all'. link_type: The kind of the backlink. linked_domains_source_domain: The number of unique root domains linked from the referring domain. linked_domains_source_page: The number of unique root domains linked from the referring page. linked_domains_target_domain: The number of unique root domains linked from the target domain. links_external: The number of external links from the referring page. links_internal: The number of internal links from the referring page. name_source: The complete referring domain name, including subdomains. name_target: The complete target domain name, including subdomains. page_size: The size in bytes of the referring page content. port_source: The network port of the referring page URL. port_target: The network port of the target page URL. positions: The number of keywords that the referring page ranks for in the top 100 positions. positions_source_domain: The number of keywords that the referring domain ranks for in the top 100 positions. powered_by: Web technologies used to build and serve the referring page content. redirect_code: The HTTP status code of a referring page pointing to your target via a redirect. redirect_kind: The HTTP status codes returned by the target redirecting URL or redirect chain. refdomains_source (5 units): The number of unique referring domains linking to the referring page. refdomains_source_domain (5 units): The number of unique referring domains linking to the referring domain. refdomains_target_domain (5 units): The number of unique referring domains linking to the target domain. root_name_source: The root domain name of the referring domain, not including subdomains. root_name_target: The root domain name of the target domain, not including subdomains. snippet_left: The snippet of text appearing just before the link. snippet_right: The snippet of text appearing just after the link. source_page_author: The author of the referring page. title: The html title of the referring page. tld_class_source: The top level domain class of the referring domain. tld_class_target: The top level domain class of the target domain. traffic (10 units): The referring page's estimated monthly organic traffic from search. traffic_domain (10 units): The referring domain's estimated monthly organic traffic from search. url_from: The URL of the page containing a link to your target. url_from_plain: The referring page URL optimized for use as a filter. url_rating_source: The strength of the referring page's backlink profile compared to the others in our database on a 100-point scale. url_redirect: The target redirecting URL or redirect chain. url_to: The URL the backlink points to. url_to_plain: The target page URL optimized for use as a filter. |
limit |
Integer | No |
The number of results to return. |
protocol |
String | No |
The protocol of your target. Possible values:
Default value: "both" |
output |
String | No |
The output format. Possible values:
|
target |
String | Yes |
The target of the search: a domain or a URL. |
timeout |
Integer | No |
A manual timeout duration in seconds. |
mode |
String | No |
The scope of the search based on the target you entered. Possible values:
Default value: "subdomains" |
select |
String | Yes |
A comma-separated list of columns to return. See response schema for valid column identifiers. |
offset |
Integer | No |
[Deprecates on 31 May 2024] Returned results will start from the row indicated in the offset value. |
order_by |
String | No |
A column to order results by. See response schema for valid column identifiers. |
aggregation |
String | No |
The backlinks grouping mode. Possible values:
Default value: "similar_links" |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.