SEO and keywords

How to run a keyword gap analysis with an AI agent

Updated · 1ToolRing team

A keyword gap analysis lists the search terms a competitor ranks for that your site does not. With 1ToolRing your agent pulls both domains' ranked keywords through dataforseo/labs/domain-intersection and dataforseo/labs/ranked-keywords, adds difficulty and intent, and hands you a table to decide on. You pay per result from one prepaid balance, and a failed call costs nothing.

Most gap reports start as two keyword exports in a spreadsheet. A term that shows up on one side and is missing on the other says nothing yet about whether a page is worth writing, and sorting by volume pushes brand searches, products you do not sell and terms from markets you do not serve to the top.

Keep the collection small. You set the competitor, the market and the row cap, the agent fetches the data, and every row ends with one of three calls: update a page, write a new one, or drop it.

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 compare example.com with competitor.com in the United States. Use dataforseo/labs/domain-intersection to find keywords where competitor.com ranks in the top 20 and example.com does not rank. Inspect the price first and cap the run at 100 rows. Add difficulty and search intent, mark brand terms, and return a table with keyword, volume, difficulty, intent, competitor position 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/domain-intersectionLists keywords two domains rank for, with each domain's position, so the agent can spot where only the competitor shows up.$0.00017 / result + $0.016 / runRp3 / result + Rp283 / run
dataforseo/labs/ranked-keywordsLists every keyword one domain ranks for, which fills in your own coverage before you call something a gap.$0.00017 / result + $0.016 / runRp3 / result + Rp283 / run
dataforseo/labs/bulk-keyword-difficultyScores up to 1,000 keywords for ranking difficulty in one run.$0.00017 / result + $0.016 / runRp3 / result + Rp283 / run
dataforseo/labs/search-intentLabels each keyword as informational, navigational, commercial or transactional.$0.00017 / result + $0.016 / runRp3 / result + Rp283 / run

Step by step

  1. Pick one real competitor. Choose a domain that answers the same reader questions in the same market as you. A bigger site in a different niche gives you a long list of terms you will never use. Write down why this competitor belongs in the comparison.
  2. Fix the market and the question. Set one country and one language for the whole run. Decide whether you want terms only the competitor ranks for, or terms you both rank for where they are ahead. Put that choice at the top of the sheet.
  3. Collect a small sample first. Ask the agent to run inspect_tool on dataforseo/labs/domain-intersection to read the input fields and the price, then run it with a low row limit. Check the columns that come back before you raise the limit.
  4. Add difficulty and intent. Pass the kept keywords to dataforseo/labs/bulk-keyword-difficulty and dataforseo/labs/search-intent in one batch each. Both bill per result, so a 100-keyword list adds little to the run.
  5. Check your own pages. For each candidate, search your own site for a page that already covers the topic. Coverage and ranking position are separate questions, and a topic you already explain well may only need an update.
  6. Decide row by row. Give every keyword an action and a one-line reason another editor could follow: update, new page or skip. Keep the market and the collection date beside the decision so the next refresh compares like with like.

What is a keyword gap?

A keyword gap is the difference between the search topics your site ranks for and the topics a relevant competitor ranks for. Each gap is a lead to check. It becomes a brief once you know a reader needs the answer and you can give it.

Which columns should the gap table keep?

Keep the source fields apart from your own judgment, so a reviewer can see what came from the data and what came from you.

ColumnWhere it comes fromWhy it matters
KeywordDomain intersection resultThe term to judge
Competitor positionDomain intersection resultShows how strong their page is today
Your positionDomain intersection or ranked keywordsEmpty means you do not rank in the sample
Search volumeReturned with the keyword dataRough size of demand
DifficultyBulk keyword difficultyHow hard the first page is to reach
IntentSearch intentTells you the page format the searcher expects
Existing pageYour own site searchUpdate an old page before writing a new one
Action and reasonYour editorial callUpdate, new page or skip, with one sentence why

How do I keep brand terms out of the gap?

Brand searches often carry the biggest volumes in a gap report, and almost none of them can become an educational article on your site. Ask the agent to flag any keyword that contains the competitor's name or a product name, and to sort those into their own group. Keep them aside for a possible comparison page and judge the rest of the list without them.

Domain level, page level or a keyword list?

Pick the comparison that matches the decision you are making.

  • Domain against domain, with dataforseo/labs/domain-intersection, when you are planning a content calendar for a whole site.
  • Page against page, with dataforseo/labs/page-intersection, when you are briefing one article and want to see what the top pages share.
  • A list you already have, with dataforseo/labs/bulk-keyword-difficulty, when you only need to screen ideas before writing.

When is keyword gap analysis the wrong tool?

A gap report finds topics you have not covered yet. To decide which existing pages deserve work, use Search Console, which has real impressions and clicks for your own site. Whether a new page will bring customers is a business call that stays in your editorial review.

What does it cost?

One competitor comparison capped at 100 rows, then difficulty and intent for the same 100 keywords. Each per-result tool also carries a fixed fee per run.

CallToolCountUSDIDR
Gap list, 100 rowsdataforseo/labs/domain-intersection1001 run$0.032Rp583
Difficulty for 100 keywordsdataforseo/labs/bulk-keyword-difficulty1001 run$0.032Rp583
Intent for 100 keywordsdataforseo/labs/search-intent1001 run$0.032Rp583
Total$0.097Rp1.749

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

Is keyword gap analysis free?
Comparing two exports you already have costs nothing, though the brand filtering and intent labels are then yours to do by hand. Through 1ToolRing, a 100-row comparison is three paid runs: the gap list, difficulty and intent, each priced before it starts.
Do I need to write code?
No. Give your agent the prompt on this page in plain words and it makes the calls. You still choose the competitor, the market and the row cap, and you review the actions it suggests.
How many competitors can I compare at once?
Start with one competitor and a small row limit, then add more once the columns look right. The exact limits for each tool are in its input schema, which your agent reads with inspect_tool before the run.
Does every missing keyword need a new article?
No. Check that the term fits your readers, that you do not already cover it, and that you can answer it well. Many gaps end up as an update to an existing page or as a skip.
Can I repeat the analysis every month?
Yes. Keep the same competitor, market and row cap, and save the date with each run. Comparing two runs set up the same way shows which topics are new and which ones you closed.