How to do competitor keyword analysis with an AI agent
Updated · 1ToolRing team
Competitor keyword analysis finds the sites you compete with in search, then lists the keywords and pages that earn them visits. With 1ToolRing your agent finds organic competitors with dataforseo/labs/competitors-domain, pulls each one's ranked keywords with dataforseo/labs/ranked-keywords, and returns a table with a suggested action per row. Each run is paid per result from your prepaid balance, and a failed call is free.
The competitor list in most marketing plans comes from sales calls: the companies that show up in deals. Search has its own set. A publisher, a marketplace or a documentation site can take the clicks on your topics without selling anything like your product, while a rival you meet in every deal may barely rank.
Stopping at the domain level is the other common mistake. A report that says two sites share a few hundred keywords confirms the overlap without naming a phrase in it. So the agent finds the competitors first, you check that each one belongs in the study, and only then does it collect keyword rows you can act on.
Paste this into your agent
Works in Claude, ChatGPT, Cursor, Codex, n8n and any MCP client. Change the placeholders, keep the row cap.
Set up 1ToolRing from 1toolring.com/install, then find the organic search competitors of example.com in the United States with dataforseo/labs/competitors-domain, capped at 10 rows. Inspect the price first. Flag any result that is a large general platform or part of the same company. For the 3 most relevant competitors, pull up to 100 ranked keywords each with dataforseo/labs/ranked-keywords, positions 1 to 20 only, and return one table with keyword, competitor, position, ranking URL, volume and a suggested action (update, new page or skip).First time? Set up takes one command or one connector URL:
set up 1ToolRing - https://1toolring.com/llms.txtPaste this into your agent's chat (Claude Code, Codex, Cursor, ChatGPT, claude.ai). Your agent sets up 1ToolRing and you sign in.
Tools this workflow uses
Your agent finds these with discover_tools and reads each input schema and price with inspect_tool. Both are free. Only a successful run is charged.
| Tool | What it does here | Price |
|---|---|---|
dataforseo/labs/competitors-domain | Lists the domains that rank for the same keywords as yours, with shared keyword counts and traffic figures, so the agent can build a shortlist. | $0.00017 / result + $0.016 / runRp3 / result + Rp283 / run |
dataforseo/labs/serp-competitors | Starts from a set of your topic keywords and returns the domains that keep appearing in their results, which catches specialists a domain comparison can miss. | $0.00017 / result + $0.016 / runRp3 / result + Rp283 / run |
dataforseo/labs/ranked-keywords | Lists the keywords one competitor ranks for, with position and ranking page, so a shared count becomes rows you can judge. | $0.00017 / result + $0.016 / runRp3 / result + Rp283 / run |
dataforseo/labs/keyword-overview | Adds volume, CPC, difficulty and intent for up to 700 keywords in one run, for the rows that survive review. | $0.00017 / result + $0.016 / runRp3 / result + Rp283 / run |
Step by step
- Fix the market before collecting. Write down the country, the language and whether you are comparing a whole domain or one section of it. Every competitor and keyword pulled later inherits these settings. Counts from mixed markets cannot be compared.
- Pull a capped competitor list. Have the agent run
inspect_toolondataforseo/labs/competitors-domainto read the inputs and the price, then run it for your domain with a cap of 10 or 20 rows. Save the shared keyword count and traffic figure for each domain exactly as returned. - Cross-check from your topics. Give
dataforseo/labs/serp-competitors20 to 50 keywords you want to own. Domains that appear on both lists are your strongest candidates. A domain that shows up only here may be a specialist site that covers your topics and little else, which makes it worth a look. - Review the shortlist by hand. Remove domains owned by your own company and mark broad platforms such as marketplaces, encyclopedias and social sites. They rank for a little of everything and tell you little about your niche. Keep two or three competitors and write one sentence on why each belongs.
- Collect keyword rows per competitor. Run
dataforseo/labs/ranked-keywordsonce per kept competitor with a row cap and a position filter, so you only see terms where they sit on page one or two. Keep the ranking URL, because it tells you what kind of page wins the term. - Add metrics and decide. Send the deduplicated keywords to
dataforseo/labs/keyword-overviewin a single run. Then give each row an action and a short reason: update a page you already have, write a new one, or skip it.
What is competitor keyword analysis?
Competitor keyword analysis is the work of finding which sites compete with you in search results and which of their keywords deserve a place in your own content plan. It answers two questions in order. First, who you are up against for your topics. Second, which of their rankings point to something your readers need and you can write well.
A related job, the keyword gap analysis, starts once the first question is settled and compares two known domains head to head.
How do I find my real search competitors?
Build two lists and trust the overlap. A domain-based list starts from your site and asks who ranks for the same terms. A keyword-based list starts from the topics you care about and asks who keeps showing up. Each catches sites the other misses.
| Tool | Starts from | Good for | Watch out for |
|---|---|---|---|
dataforseo/labs/competitors-domain | Your domain | A first shortlist when you already rank for a fair number of terms | Broad platforms and sister sites near the top |
dataforseo/labs/serp-competitors | A list of your topic keywords | New sites, or one product line inside a large site | The result is only as good as the keywords you feed it |
dataforseo/labs/ranked-keywords | One competitor domain or page | The actual terms and ranking URLs | Large sites return many rows, so set a cap |
dataforseo/labs/keyword-overview | Your kept keywords | Volume, CPC, difficulty and intent for a final list | Run it after review, on the short list only |
Which columns should the competitor keyword table keep?
Returned fields go first and your decisions sit in the last two columns.
- Keyword and competitor domain, so every row can be traced.
- Competitor position and ranking URL. The URL shows whether a guide, a tool page or a category page wins the term.
- Your position, left empty when you do not rank in the sample.
- Search volume and difficulty from the keyword overview. Volume is a rough size of demand and says nothing about the clicks you would get.
- Intent, which tells you the format the searcher expects.
- Your existing page, if one already covers the topic.
- Action and reason: update, new page or skip, with one sentence another editor could follow.
Why is a shared keyword count not enough?
A shared keyword count tells you two sites overlap in search and roughly by how much. It hides which phrases sit inside the number, how high either site ranks for them and whether any of them matter to your readers.
Ask the agent for the rows behind the count with dataforseo/labs/ranked-keywords and tell it not to guess examples. Asked to fill in likely keywords for a competitor, a language model writes plausible phrases with no evidence behind them. When the data has no rows, leave the column empty.
When should I use other data instead?
To improve pages you already have, start from Search Console, which holds the real impressions and clicks for your own site. Who bids against you on ads is an auction question with its own data, covered in paid search competitor analysis.
Treat the traffic figures that come back with competitor lists as model estimates built from rankings. They work for ordering competitors against each other and make poor evidence of a competitor's real visits or revenue.
What does it cost?
One capped competitor list, keyword rows for three competitors at 100 rows each, then metrics for 150 kept keywords. Each per-result tool also carries a fixed fee per run.
| Call | Tool | Count | USD | IDR |
|---|---|---|---|---|
| Competitor shortlist, 10 rows | dataforseo/labs/competitors-domain | 101 run | $0.017 | Rp313 |
| Ranked keywords, 3 competitors x 100 rows | dataforseo/labs/ranked-keywords | 3003 runs | $0.097 | Rp1.749 |
| Metrics for 150 kept keywords | dataforseo/labs/keyword-overview | 1501 run | $0.041 | Rp733 |
| Total | $0.155 | Rp2.795 | ||
Computed from list prices as of 2026-11-10. A run is held at its maximum and settled to the real cost, and a failed call is not charged. See how pricing works.
Questions
How do I see what keywords a competitor ranks for?
dataforseo/labs/ranked-keywords on their domain with a row cap and a position filter. Each row gives the keyword, their position and the page that ranks. Start with 100 rows and raise the cap once the columns look right.How many competitors should I analyze?
Why does a big platform show up as my top competitor?
Do I need an SEO subscription for this?
inspect_tool before it runs.