App Logo
ahrefs.com

Ahrefs API: get keyword ideas with search volume

Automatically get keyword ideas with search volume on ahrefs.com. An unofficial Ahrefs keyword API: keyword and question ideas for a seed, with monthly search volume and difficulty, free, no account. Get keyword ideas for a seed keyword from Ahrefs' free keyword generator, with each one's monthly Google search volume range and ranking difficulty in a chosen country. Returns the first 20 keywords that contain the seed, the first 20 phrased as questions, and how many of each Ahrefs knows in total. Volume comes as a range, as the free tool shows it: fewer than 100, or more than 100, 1,000, 10,000 or 100,000 searches a month. No login required. Run seeds one after another on one browser: several at once from the same browser can go unanswered.

Input

keyword required

The seed keyword, e.g. "apartment hunting".

country optional

Two-letter country code, lowercase, e.g. us, gb, fr.

Default: "us"

Output

ideas required
total required

How many keywords containing the seed Ahrefs knows; ideas holds the first 20.

country required
keyword required
questions required
questionTotal required

FAQ

An unofficial Ahrefs keyword API: keyword and question ideas for a seed, with monthly search volume and difficulty, free, no account. Get keyword ideas for a seed keyword from Ahrefs' free keyword generator, with each one's monthly Google search volume range and ranking difficulty in a chosen country. Returns the first 20 keywords that contain the seed, the first 20 phrased as questions, and how many of each Ahrefs knows in total. Volume comes as a range, as the free tool shows it: fewer than 100, or more than 100, 1,000, 10,000 or 100,000 searches a month. No login required. Run seeds one after another on one browser: several at once from the same browser can go unanswered.
Ask an AI agent connected to Reduck to run reduck/ahrefs.com/get_keyword_ideas, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/ahrefs.com/get_keyword_ideas
You do not need one. "Ahrefs API: get keyword ideas with search volume" drives the real ahrefs.com pages in a browser, so it works whether or not ahrefs.com offers an API for this.
Required: keyword. Optional: country.
It returns ideas, total, country, keyword, questions, questionTotal.
No. It only uses pages of ahrefs.com that are reachable without signing in.
It only reads. It looks things up on ahrefs.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/ahrefs.com/get_keyword_ideas, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/ahrefs.com/get_keyword_ideas
It is part of Reduck's official curated catalogue.

Start building not clicking