← All Skills
A

SEO & growth

Ahrefs

Pull SEO metrics, backlinks, and keyword data.

Ahrefs is an SEO and marketing platform offering site audits, keyword research, content analysis, and competitive insights to improve search rankings and drive organic traffic

Triggers0

Things that can wake up your Ahrefs coworker.

No triggers published for Ahrefs yet — but you can still run it on a schedule or from a chat.

Actions10

Things your coworker can do in Ahrefs.

  • Backlinks stats retrieval

    Retrieves comprehensive backlink statistics for a specified website or URL using Ahrefs' Site Explorer tool. This endpoint provides crucial data for SEO analysis, including the total number of backlinks, referring domains, and potentially the Domain Rating (DR). It's essential for understanding a site's link profile, assessing its SEO performance, and conducting competitive analysis. The tool is particularly useful when users need detailed insights into a website's backlink structure or when comparing the backlink profiles of multiple domains. Note that the data returned is based on Ahrefs' extensive web crawl and may not include very recent backlinks.

    AHREFS_BACKLINKS_STATS_RETRIEVAL
  • Fetch all backlinks

    Retrieves a comprehensive list of backlinks for a specified website or URL using Ahrefs' Site Explorer tool. This endpoint provides detailed information about the backlink profile of the target, including the source URLs, link attributes, and potentially other SEO metrics like Domain Rating (DR) or URL Rating (UR) of the linking pages. It's particularly useful for analyzing a website's link-building efforts, identifying potential link-building opportunities, and assessing the overall health of a site's backlink profile. The endpoint can handle large-scale backlink data, making it suitable for in-depth SEO analysis and competitive research. However, users should be aware that for websites with a substantial number of backlinks, multiple API calls or pagination may be necessary to retrieve the complete dataset.

    AHREFS_FETCH_ALL_BACKLINKS
  • Fetch competitors overview

    Retrieves a comprehensive overview of competitor data in relation to keyword rankings and organic search performance. This endpoint is part of Ahrefs' Rank Tracker feature and provides a comparative analysis of your website against multiple competitors. It offers insights into keyword positions, traffic share, and SERP features across all tracked keywords. Use this endpoint when you need a high-level view of your SEO performance relative to your competitors. The data returned helps identify ranking opportunities, track your market share in organic search, and understand how you stack up against your competition in terms of visibility and traffic. Note that this endpoint may have limitations on the number of competitors it compares against and the historical data range available.

    AHREFS_FETCH_COMPETITORS_OVERVIEW
  • Fetch rank tracker overview

    The GetRankTrackerOverview endpoint retrieves a comprehensive summary of keyword rankings and SEO performance data from Ahrefs' Rank Tracker tool. It provides a high-level overview of a website's ranking positions, SERP features, and performance against competitors across multiple search engines and countries. This endpoint is ideal for quickly assessing the overall SEO health and progress of a website without delving into specific keyword details. It should be used when you need a snapshot of your SEO performance or to track changes in your overall ranking landscape over time. Note that while this overview gives a broad picture, it may not include in-depth data for individual keywords or specific SERP features.

    AHREFS_FETCH_RANK_TRACKER_OVERVIEW
  • Get serp overview

    Retrieves a comprehensive overview of Search Engine Results Pages (SERP) data for specified keywords or queries. This endpoint provides valuable insights into search performance, including historical data, search intent analysis, and detailed metrics for each keyword. It's particularly useful for SEO professionals and digital marketers looking to optimize their content strategy and improve their website's search engine visibility. The SERP Overview can help identify trends, analyze competition, and inform content creation efforts based on real search data. Note that while this endpoint offers a wealth of information, it may not provide real-time data and should be used for strategic planning rather than immediate tactical decisions.

    AHREFS_GET_SERP_OVERVIEW
  • Retrieve anchor data

    Retrieves anchor text data for a specified website or URL using Ahrefs' Site Explorer tool. This endpoint provides valuable insights into the anchor text distribution of backlinks pointing to the target URL or domain. It helps SEO professionals analyze the quality and diversity of anchor texts, which can influence search engine rankings. Use this endpoint when you need to understand how other websites are linking to a specific page or domain, and to identify potential opportunities for link building or anchor text optimization. The tool does not provide information about the linking pages themselves, focusing solely on the anchor text data.

    AHREFS_RETRIEVE_ANCHOR_DATA
  • Retrieve crawler ip ranges

    Retrieves the list of IP address ranges used by Ahrefs' web crawler (AhrefsBot). This endpoint provides essential information for website administrators to identify and potentially whitelist Ahrefs' crawler traffic. Use this endpoint when you need to configure your server's firewall rules, analyze server logs, or verify the authenticity of crawler requests claiming to be from Ahrefs. The returned data includes the current set of IP ranges, which may change over time, so it's recommended to check this endpoint periodically for updates. Note that while this information helps in identifying Ahrefs' crawler, it should not be used as the sole method of authentication for the crawler.

    AHREFS_RETRIEVE_CRAWLER_IP_RANGES
  • Retrieve outlinks stats

    Retrieves comprehensive statistics about outgoing links (outlinks) from a specified website using Ahrefs' Site Explorer tool. This endpoint provides valuable insights into a website's external linking practices, which is crucial for SEO analysis and understanding a site's overall link profile. Use this tool to gather data on the number of outlinks, the diversity of linked domains, and the distribution of follow vs. nofollow links. It's particularly useful for competitive analysis, identifying potential link-building opportunities, and assessing a site's overall linking strategy. Note that this endpoint focuses solely on outgoing links and does not provide information about backlinks or internal links.

    AHREFS_RETRIEVE_OUTLINKS_STATS
  • Retrieve site explorer keywords history

    Retrieves historical keyword performance data for a specified website or domain using Ahrefs' Site Explorer. This endpoint provides insights into how keywords have performed over time, including changes in rankings, search volume, and potential traffic. It's particularly useful for analyzing SEO trends, understanding the impact of optimization efforts, and identifying seasonal patterns in keyword performance. The tool should be used when you need a comprehensive view of a website's keyword history to inform SEO strategies and content planning. It does not provide real-time data and may have limitations on the historical range available.

    AHREFS_RETRIEVE_SITE_EXPLORER_KEYWORDS_HISTORY
  • Search suggestions explorer

    Retrieves search suggestions for a given keyword or phrase using Ahrefs' Keywords Explorer tool. This endpoint provides autocomplete-style suggestions that can help uncover related keywords, long-tail variations, and potential content ideas based on real search data. It's particularly useful for expanding keyword lists, finding low-competition keywords, and understanding user search intent. The suggestions returned may include both informational and transactional keywords, offering insights into various stages of the user journey. This tool should be used when conducting keyword research, planning content strategies, or optimizing for search engine visibility. It does not provide detailed metrics like search volume or keyword difficulty; for such data, additional API calls may be necessary.

    AHREFS_SEARCH_SUGGESTIONS_EXPLORER