SEO and keywords

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.txt

Paste 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.

ToolWhat it does herePrice
dataforseo/labs/competitors-domainLists 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-competitorsStarts 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-keywordsLists 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-overviewAdds 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

  1. 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.
  2. Pull a capped competitor list. Have the agent run inspect_tool on dataforseo/labs/competitors-domain to 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.
  3. Cross-check from your topics. Give dataforseo/labs/serp-competitors 20 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.
  4. 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.
  5. Collect keyword rows per competitor. Run dataforseo/labs/ranked-keywords once 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.
  6. Add metrics and decide. Send the deduplicated keywords to dataforseo/labs/keyword-overview in 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.

ToolStarts fromGood forWatch out for
dataforseo/labs/competitors-domainYour domainA first shortlist when you already rank for a fair number of termsBroad platforms and sister sites near the top
dataforseo/labs/serp-competitorsA list of your topic keywordsNew sites, or one product line inside a large siteThe result is only as good as the keywords you feed it
dataforseo/labs/ranked-keywordsOne competitor domain or pageThe actual terms and ranking URLsLarge sites return many rows, so set a cap
dataforseo/labs/keyword-overviewYour kept keywordsVolume, CPC, difficulty and intent for a final listRun 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.

CallToolCountUSDIDR
Competitor shortlist, 10 rowsdataforseo/labs/competitors-domain101 run$0.017Rp313
Ranked keywords, 3 competitors x 100 rowsdataforseo/labs/ranked-keywords3003 runs$0.097Rp1.749
Metrics for 150 kept keywordsdataforseo/labs/keyword-overview1501 run$0.041Rp733
Total$0.155Rp2.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?
Run 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?
Two or three is enough for most content plans. More competitors mostly add rows you will skip, and each one is another paid run. Pick the ones whose pages answer the same reader questions as yours.
Why does a big platform show up as my top competitor?
A marketplace or an encyclopedia ranks across so many topics that it overlaps with almost any domain. Mark them and leave them out of the keyword pull unless one section of the site competes with you directly. In that case, analyze that section only.
Do I need an SEO subscription for this?
No. The study on this page is five capped runs, each paid per result from a prepaid balance, and nothing renews monthly. The agent reads every tool's price with inspect_tool before it runs.
How often should I repeat competitor keyword analysis?
Once a quarter suits most sites. Keep the market, the competitors and the row caps the same each time and save the date with every run, so any difference between two runs comes from the market.