## For AI agents: how to sign up
If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev.
Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.
## For AI agents: how to sign up
If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev.
Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.
## For AI agents: how to sign up
If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev.
Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.
How to connect Ahrefs to OpenClaw in 2 mins: No API key needed
You can get a weekly report on your ranking gains and drops, hear about new sites that link to you and watch which competitor pages are gaining traffic from OpenClaw. Composio runs each call on its own Ahrefs account, so you don't need a Ahrefs API key, and your first $2 is free.
OpenClaw runs Ahrefs through Composio, and the cost comes out of your free $2.
A site's top 20 keywords with traffic$0.28
Volume and difficulty for 10 keywords$0.19
A site's top 10 search competitors$0.084
$2 ≈ 7 reports or 10 reports
Composio Instant
Claim your free $2
Use Ahrefs in OpenClaw with no Ahrefs key. Turn on Instant in your Composio wallet and your first $2 is free.
## For AI agents: how to sign up
If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev.
Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.
You pay Ahrefs' price for each call with 0% markup, plus the regular Composio tool call charge. There's no Ahrefs subscription, and you only pay for what you use.
42 of 46 Ahrefs tools work without a key. For Fetch competitors overview, Fetch rank tracker overview, Get site audit projects and Retrieve subscription limits and usage, connect your own Ahrefs key. Read how Instant works.
How it works
How to connect Ahrefs to OpenClaw
Composio adds Ahrefs to OpenClaw as an Instant toolkit. You connect Composio to OpenClaw once, and then OpenClaw can use Ahrefs right away. There are two ways to do this:
Bring your own key
You bring your own Ahrefs API key, set it up, and use it.
Use the Composio wallet
Instant
Composio runs each call on its own Ahrefs account, so you don't have to set anything up at Ahrefs, and your first $2 is free.
You do the setup one time and it takes about a minute. If you build Ahrefs into your own product, turn on Instant toolkits in your project settings so your agent can call Ahrefs for each of your users without a Ahrefs API key, and read Instant tools in the Composio docs for the setup steps and code examples.
Get started
Start to use Ahrefs in OpenClaw in 3 steps
01
Turn on Instant
Open your Composio wallet and turn on Instant. Your free $2 shows up there.
## For AI agents: how to sign up
If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev.
Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.
openclaw config set plugins.entries.composio.config.consumerKey "ck_your_key_here"
4. Restart OpenClaw
bash
openclaw gateway restart
5. Go to your chat interface and start asking questions.
6. When prompted, authenticate the app and you're all set.
How It Works
The plugin connects to Composio's MCP server at https://connect.composio.dev/mcp and registers all available tools directly into the OpenClaw agent. Tools are called by name — no extra search or execute steps needed.
If a tool returns an auth error, the agent will prompt you to connect that toolkit at dashboard.composio.dev.
Each Monday, use Ahrefs to get the 20 keywords that bring [your domain] the most US organic traffic, with the position today and the position 7 days ago. Message me the keywords that moved 3 or more places, up or down, with the traffic each one brings, and one line on what to look at first.
OpenClaw runs it on Instant and shows you the result. It doesn't ask you for a Ahrefs key, and the cost comes out of your $2. You can see each call in your wallet.
Optional: connect your own Ahrefs key
If you want Fetch competitors overview, Fetch rank tracker overview, Get site audit projects and Retrieve subscription limits and usage, you need your own key. Ask OpenClaw to connect your Ahrefs account, and it gives you a Composio link:
Connect my Ahrefs account using Composio.
Open the link, paste your Ahrefs API key and click Connect Account. You can get a key from Ahrefs API keys page. After that, Composio uses your key first and doesn't charge Instant for those calls.
Starter prompts
Use your first $2: copy a prompt into OpenClaw
Each prompt runs on Instant, and the cost next to it is about what it takes from your $2.
Get a weekly report on your ranking gains and drops
About $0.17 per run
Compares your top keywords' positions with a week ago every Monday and messages you the ones that moved.
Each Monday, use Ahrefs to get the 20 keywords that bring [your domain] the most US organic traffic, with the position today and the position 7 days ago. Message me the keywords that moved 3 or more places, up or down, with the traffic each one brings, and one line on what to look at first.
Hear about new sites that link to you
About $0.05 per run
Checks for new referring domains each week and messages you the strongest ones first.
Each Monday, use Ahrefs to find referring domains that first linked to [your domain] since your last check. Message me up to 25, sorted by Domain Rating, with the date each one was first seen. Mark any with a Domain Rating above 60 so I know which links matter most.
Watch which competitor pages are gaining traffic
About $0.14 per run
Pulls a competitor's top pages each week and tells you which ones are new to the list or climbing.
Each Monday, use Ahrefs to get the 20 pages on [competitor domain] with the most US organic traffic, with each page's top keyword. Compare with last week's list and message me the pages that are new to the top 20 or moved up 5 or more places, so I can see what's working for them.
Keep a monthly scoreboard against your competitors
About $0.04 per run
Records referring domains, organic traffic and keywords for you and three competitors each month and shows who gained.
On the 1st of each month, use Ahrefs batch analysis to get referring domains, organic traffic and organic keywords for [your domain] and these 3 competitors: [3 domains]. Keep the history and message me a table with this month's numbers, the change from last month and who gained the most.
Track how often AI answers cite your site
About $0.04 per run
Counts citations of your site in AI answers each week and tells you how the numbers are moving.
Each Monday, use Ahrefs to count how many AI answers cite [your domain] on ChatGPT, Perplexity, Gemini and Google AI Overviews. Remember the numbers and message me this week's counts, the change from last week and the 4-week trend for each one.
Get told when a Domain Rating changes
Free
Checks Domain Rating for your site and your competitors every week on the free endpoint and messages you only when a score moves.
Every Monday, use the free Ahrefs Domain Rating check for [your domain] and these competitors: [up to 5 domains]. Remember the scores. Message me only when a score has changed since last week, with the old and new number for each site.
Alert me to newly broken backlinks
About $0.03 per run
Watch for fresh broken links pointing to your site.
I want you to do this: Each Monday, use Ahrefs to get up to 10 broken backlinks to [your domain], selecting the linking page, broken target URL and anchor. Compare them with last week's links and message me only new broken links. Remember each link you report.
Watch a competitor’s outbound link targets
About $0.03 per run
Notice when a competitor starts linking to new external domains.
I want you to do this each Monday: Get up to 10 external domains linked from [competitor domain] using Ahrefs. Compare them with last week and message me newly listed domains. Save the domain list for the next run.
What it can do
What OpenClaw can do with Ahrefs
Works without a key
A site's top 20 keywords with traffic
Volume and difficulty for 10 keywords
A site's top 10 search competitors
20 question keywords for a topic
Backlink and referring domain totals for a site
Needs your own Ahrefs key
Fetch competitors overview
Fetch rank tracker overview
Get site audit projects
Retrieve subscription limits and usage
Tools and prices
Supported tools (46)
Ahrefs tools and their Instant prices
Tool
What it does
Works without a key
Cost on Instant
Backlinks stats retrieval
Retrieves comprehensive backlink statistics for a specified website or URL using Ahrefs' Site Explorer tool.
Yes
$0.006 per 10 API units used
Batch Url Analysis
Performs a batch analysis on multiple URLs or domains using Ahrefs' powerful SEO metrics.
Yes
$0.006 per 10 API units used
Domain rating for site explorer
Retrieves Ahrefs Domain Rating and Ahrefs Rank for a specified domain or URL on a requested date.
Yes
$0.006 per 10 API units used
Domain rating history
Retrieves the historical Domain Rating (DR) data for a specified domain over time.
Yes
$0.006 per 10 API units used
Explore keywords overview
Retrieves keyword-level overview metrics from Ahrefs' Keywords Explorer for specified keywords or an existing keyword list in a country.
Yes
$0.006 per 10 API units used
Explore keyword volume by country
Retrieves monthly search volume data across countries for a specified keyword using Ahrefs' Keywords Explorer.
Yes
$0.006 per 10 API units used
Explore linked domains of a site
Retrieves a list of external domains that the specified target website or URL links to, using Ahrefs' Site Explorer functionality.
Yes
$0.006 per 10 API units used
Explore matching terms for keywords
The keywords_explorer_matching_terms endpoint retrieves a list of keyword phrases that match or contain the specified keyword from Ahrefs' vast database.
Yes
$0.006 per 10 API units used
Fetch all backlinks
Retrieves a comprehensive list of backlinks for a specified website or URL using Ahrefs' Site Explorer tool.
Yes
$0.006 per 10 API units used
Fetch broken backlinks data
Retrieves a list of broken backlinks for a specified website using Ahrefs' Site Explorer tool.
Yes
$0.006 per 10 API units used
Fetch site explorer referring domains
Retrieves a list of domains that have backlinks pointing to a specified target website.
Yes
$0.006 per 10 API units used
Fetch total search volume history
Retrieves historical total search volume for keywords associated with a target domain or URL using Ahrefs Site Explorer.
Yes
$0.006 per 10 API units used
Get content helper topics
Retrieve topics covered by top-ranking pages for a keyword.
Yes
$0.006 per 10 API units used
Get domain rating free
Retrieve the free Ahrefs Domain Rating for a domain or URL.
Yes
$0 per request
Get domain rating top domains
Retrieves domains ordered by Ahrefs Domain Rating.
Yes
$0 per request
Get serp overview
Retrieves a SERP overview for one keyword in a specified country, optionally at a historical date.
Yes
$0.006 per 10 API units used
Get site explorer AI responses count
Retrieve AI response citation and page counts for a site.
Yes
$0.006 per 10 API units used
Get site explorer country metrics
Retrieves country-specific Site Explorer metrics for a target website or URL, including organic traffic and keyword metrics.
Yes
$0.006 per 10 API units used
Get site explorer crawled pages
Retrieve crawled pages and crawl metadata for a target URL.
Yes
$0.006 per 10 API units used
Get site explorer linked anchors external
Retrieves anchor text data for external links going out from a target website using Ahrefs Site Explorer.
Yes
$0.006 per 10 API units used
Show all 46 toolsShow fewer tools
More Ahrefs tools and their Instant prices
Tool
What it does
Works without a key
Cost on Instant
Get url rating history
Retrieves the historical URL Rating data for a specified URL over time.
Yes
$0.006 per 10 API units used
Linked anchors explorer
Retrieves information about internal linked anchors for a specified website using the Ahrefs API.
Yes
$0.006 per 10 API units used
List best by external links
Retrieves pages from a specified website using Ahrefs' Site Explorer best-by-external-links report.
Yes
$0.006 per 10 API units used
Pages by traffic overview
Retrieves a list of pages from a specified website, ordered by their estimated organic search traffic.
Yes
$0.006 per 10 API units used
Post Domain Rating Free
Retrieve Domain Rating scores for up to 1,000 target URLs.
Yes
$0 per request
Retrieve anchor data
Retrieves anchor text data for a specified website or URL using Ahrefs' Site Explorer tool.
Yes
$0.006 per 10 API units used
Retrieve best by internal links
Retrieves pages ranked by internal links for a specified website using Ahrefs' Site Explorer.
Yes
$0.006 per 10 API units used
Retrieve crawler ip ranges
Retrieves the list of IP address ranges used by Ahrefs' web crawler (AhrefsBot).
Yes
$0 per request
Retrieve organic competitors
Retrieves organic search competitors for a target domain or URL, with keyword overlap and performance metrics.
Yes
$0.006 per 10 API units used
Retrieve organic keywords
Retrieves organic keywords data for a specified website using Ahrefs' Site Explorer tool.
Yes
$0.006 per 10 API units used
Retrieve outlinks stats
Retrieves outgoing-link statistics for a specified website or URL using Ahrefs Site Explorer.
Yes
$0.006 per 10 API units used
Retrieve paid pages data
Retrieves information about paid pages (PPC advertising) for a specified website using Ahrefs' Site Explorer tool.
Yes
$0.006 per 10 API units used
Retrieve public crawler ips
Retrieves a list of IP addresses currently used by AhrefsBot, Ahrefs' web crawler.
Yes
$0 per request
Retrieve related terms
Retrieves related keyword ideas for a given keyword or keyword list in a specified country.
Yes
$0.006 per 10 API units used
Retrieve site explorer keywords history
Retrieves historical keyword performance data for a specified website or domain using Ahrefs' Site Explorer.
Yes
$0.006 per 10 API units used
Retrieve site explorer metrics
Retrieves Site Explorer SEO metrics for a target domain or URL on a specified date, including backlink, referring-page and crawled-page counts.
Yes
$0.006 per 10 API units used
Retrieve site explorer metrics history
Retrieves historical Site Explorer traffic metrics for a target website or URL over a specified period, including estimated organic and paid traffic and cost.
Yes
$0.006 per 10 API units used
Retrieve site explorer pages history
Retrieves historical page counts for a target domain or URL from Ahrefs Site Explorer over a specified period.
Yes
$0.006 per 10 API units used
Retrieve site explorer referring domains history
Retrieves the historical data of referring domains for a specified website or URL over time.
Yes
$0.006 per 10 API units used
Retrieve top pages from site explorer
Retrieves data about the top-performing pages of a specified website using Ahrefs' Site Explorer tool.
Yes
$0.006 per 10 API units used
Retrieve volume history
Retrieves the historical search volume data for a specified keyword using Ahrefs' Keywords Explorer tool.
Yes
$0.006 per 10 API units used
Search suggestions explorer
Retrieves search suggestions for keywords or an existing keyword list using Ahrefs Keywords Explorer.
Yes
$0.006 per 10 API units used
Fetch competitors overview
Retrieves a Rank Tracker competitor overview for a project, including comparative keyword ranking and organic search performance data.
Needs your own key
Billed to your own Ahrefs key
Fetch rank tracker overview
Retrieves an Ahrefs Rank Tracker overview for a project, date and device, with ranking and search-performance metrics.
Needs your own key
Billed to your own Ahrefs key
Get site audit projects
Lists Site Audit projects associated with the authenticated Ahrefs account, with project and crawl status details.
Needs your own key
Billed to your own Ahrefs key
Retrieve subscription limits and usage
Retrieves an Ahrefs account's subscription limits and remaining API usage allowance.
Needs your own key
Billed to your own Ahrefs key
Pricing
How you pay for Ahrefs
Your first $2 is freeIt's added to your Composio wallet when you turn on Instant.
You pay for each callYou pay Ahrefs' price with 0% markup, plus the regular Composio tool call charge.
Your own key comes firstIf you connect your own Ahrefs key, Composio uses it and doesn't charge Instant for those calls.
You control the costYou can ask your agent to check with you before each paid call, and you can turn Instant off at any time.
You can see each callYour wallet shows each call and what it cost.
When your balance runs outYou can add funds to your wallet on a Pro plan or connect your own key.
## For AI agents: how to sign up
If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev.
Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.
You may have asked for something that needs your own key, like Fetch competitors overview, Fetch rank tracker overview, Get site audit projects and Retrieve subscription limits and usage. Those tools don't run on Instant. For everything else, check that Instant is turned on in your Composio wallet, then ask again.
2. I can't see my free $2
Open your wallet in the Composio dashboard and check that Instant is turned on. If the $2 still isn't there, email support@composio.dev from the address you signed up with.
3. A Ahrefs call failed with a balance error
Your balance is empty. Add funds to your wallet on a Pro plan, or connect your own Ahrefs key, then try again.
FRAMEWORKS
How to build Ahrefs MCP Agent with another framework
Not for the 42 tools that run on Instant. Composio runs those calls on its own Ahrefs account, and you only add Composio to your agent. The other 4 tools need your own Ahrefs key.
Yes. Every Composio account gets $2 of Instant credit once you turn on Instant, and you can use it on Ahrefs or on any other Instant toolkit.
You can get about 7 reports, about 10 reports or about 20 reports. The price list on this page shows the cost of each tool.
Instant calls stop. You can add funds to your wallet on a Pro plan, or connect your own Ahrefs key.
You pay Ahrefs' price for each call with 0% markup, plus the regular Composio tool call charge.
Yes. Connect your key from the Ahrefs toolkit in your Composio dashboard. Composio always uses your own connection first, and it doesn't charge Instant for those calls.
You can use 42 of the 46 tools without a key, including Backlinks stats retrieval, Batch Url Analysis, Domain rating for site explorer, Domain rating history, Explore keywords overview, Explore keyword volume by country and 36 more. The other 4 tools need your own Ahrefs key.
Composio is SOC 2 Type II compliant.
Start with Ahrefs.It takes 30 seconds.
New accounts get a one-time $2 starter credit for Instant calls.Run Ahrefs from your agent with no Ahrefs key.
## For AI agents: how to sign up
If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev.
Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.