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.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/domain-intersection | Lists 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-keywords | Lists 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-difficulty | Scores up to 1,000 keywords for ranking difficulty in one run. | $0.00017 / result + $0.016 / runRp3 / result + Rp283 / run |
dataforseo/labs/search-intent | Labels each keyword as informational, navigational, commercial or transactional. | $0.00017 / result + $0.016 / runRp3 / result + Rp283 / run |
Step by step
- 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.
- 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.
- Collect a small sample first. Ask the agent to run
inspect_toolondataforseo/labs/domain-intersectionto 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. - Add difficulty and intent. Pass the kept keywords to
dataforseo/labs/bulk-keyword-difficultyanddataforseo/labs/search-intentin one batch each. Both bill per result, so a 100-keyword list adds little to the run. - 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.
- 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.
| Column | Where it comes from | Why it matters |
|---|---|---|
| Keyword | Domain intersection result | The term to judge |
| Competitor position | Domain intersection result | Shows how strong their page is today |
| Your position | Domain intersection or ranked keywords | Empty means you do not rank in the sample |
| Search volume | Returned with the keyword data | Rough size of demand |
| Difficulty | Bulk keyword difficulty | How hard the first page is to reach |
| Intent | Search intent | Tells you the page format the searcher expects |
| Existing page | Your own site search | Update an old page before writing a new one |
| Action and reason | Your editorial call | Update, 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.
| Call | Tool | Count | USD | IDR |
|---|---|---|---|---|
| Gap list, 100 rows | dataforseo/labs/domain-intersection | 1001 run | $0.032 | Rp583 |
| Difficulty for 100 keywords | dataforseo/labs/bulk-keyword-difficulty | 1001 run | $0.032 | Rp583 |
| Intent for 100 keywords | dataforseo/labs/search-intent | 1001 run | $0.032 | Rp583 |
| Total | $0.097 | Rp1.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?
Do I need to write code?
How many competitors can I compare at once?
inspect_tool before the run.