WorkHacker
9 min read05SEO automation9 sources

Keyword clustering by SERP overlap, not spelling

Group keywords by the results Google already returns for them. How many shared URLs make one page, a cheap way to check, and where overlap misleads.

Lam Hoang · Systems and engineering

Fine gray and orange threads on a black background gather into a folded, knot-like ribbon at the center.

Google already shows which keywords share a page: it ranks the same URLs for them. Keyword clustering reads that signal back. It groups keywords whose search results overlap, and each group gets one page.

Spelling is a weaker signal. Two keywords can share every word and want different pages. Two others can share none and want the same one.

What is keyword clustering by SERP overlap?

Keyword clustering by SERP overlap compares the results pages (SERPs) for two keywords and merges them when enough URLs match. Ahrefs describes the method this way: keyword clustering is typically done by grouping keywords with the same or similar search results . Same pages ranking means same or similar intent, so one page can target both.

The premise is simple. The Search Engine Journal tutorial on clustering with Python puts it as: "It follows that if the intent for two keywords is the same, then the SERPs are likely to be similar." The word is "likely". Overlap is evidence of intent, not a measurement of it.

Grouping by shared words skips that evidence. HubSpot's guide lists semantic grouping as fast and scalable, then names its limit: it ignores actual search intent, so keywords that read alike can carry different user goals.

A worked case, hypothetical and not a measured SERP. Take three keywords: running shoes, best running shoes, and running shoe sizing. A spelling-based tool puts all three in one cluster. An overlap check pulls the top 10 for each and compares three pairs. The first two will probably share product and review pages. The third will probably return size charts and fit guides. If the counts show that, sizing gets its own page.

Run the comparison before you assign anything. The spelling guess costs nothing, but a wrong merge costs a rewrite.

How many shared results make two keywords one article?

No published rule is settled; four guides give four cutoffs, and none publishes test data.

SourceCutoffResults compared
HubSpot3 or more shared URLsTop 10
Search Atlas4 or more shared URLsTop 10
OnCrawl4 to 6 shared URLs recommended; 2-3 is more inclusiveFirst page
Keyword Insights40% shared by default, adjustableTop 7

Source: HubSpot's guide , Search Atlas's guide , OnCrawl's script guide , Keyword Insights documentation

Forty percent of 7 is 2.8, so the Keyword Insights default works out to about 3 shared URLs. That lands near HubSpot, not near OnCrawl. The same page explains the top 7: Google no longer consistently shows 10 traditional links, because of features like AI Overviews and featured snippets.

Vincent Schmalbach's guide to SERP overlap makes the general point: "It is a workflow choice, not a Google standard or a proven universal cutoff."

Count versus Jaccard: label the measure

A shared-URL count and a percentage are different measures. Schmalbach gives the example: two top-10 lists share four URLs. That is 40% of each list. Jaccard similarity divides shared URLs by all distinct URLs in both lists. Here that is 16 distinct URLs, so 4/16, or 25%.

The table runs the same arithmetic for other counts, assuming two 10-result lists with no duplicates.

Shared URLsDistinct URLsShare of each listJaccard
31730%18%
41640%25%
51550%33%
61460%43%

Our calculation: shared URLs divided by 10, and shared URLs divided by (20 minus shared URLs).

A "40% cutoff" means 4 shared URLs under one measure and 6 under the other. Write the measure next to the number every time.

Pick a starting cutoff and write it down

Start at 4 shared URLs in the top 10, which is 25% Jaccard. Treat 3 as a review flag, not a merge. Then check 20 borderline pairs by hand and move the line if your own pages say otherwise. This is a starting point, not a tested optimum.

How do you cluster keywords on a budget?

Collect the same results for every keyword, compare pairs, and review each group before it gets a URL. The cost sits in the data pull, so control that first.

  1. Fix the conditions. The steps in Schmalbach's SERP overlap guide : one search engine, country, language and device, a fixed result count such as the top 10, and pulls made at roughly the same date.
  2. Compare URLs, not domains. Strip tracking parameters and follow redirects the same way for every row. Two pages from one site are two URLs.
  3. Compare pairs and flag overlap. Record each keyword, its URLs, the overlap measure, the likely searcher goal and the page you would assign.
  4. Review the group. Check that every member shares a goal and a page type before assigning a URL.

For two keywords, no tooling is needed. Ahrefs' guide to keyword clustering says to eyeball the results, or use its Keywords Explorer "Compare with" feature, which returns a SERP similarity score out of 100. For a list, the same Ahrefs page records a run in a dedicated clustering tool, Keyword Insights: 4,703 keywords in 51 minutes for a dollar on its trial, or $24.98 to $45.46 on a paid plan.

The free route is a script. OnCrawl's guide uses a Python notebook and a SERP API, a paid service that returns search results as data, whose free plan, it says, typically supports up to 2,500 test queries. At one query per keyword, that covers a 200-keyword list about 12 times, if one request returns the top 10. The Search Engine Journal tutorial offers a second script that also weights result order.

Depth is where the cost goes. In September 2025, Search Engine Journal reported that Google appeared to have disabled the &num=100 parameter . Keyword Insights said what that meant for its own pulls: 10 requests where there had been 1. Stay at the top 10 or fewer. Overlap on the first page carries the intent signal, and the deep pages cost 10 times as much.

Refreshing the pull each month is a scheduled job, the sort of recurring task that SEO automation covers. What SEO automation is, and what to automate sorts the tasks that suit a script from those that need a person, and the review step above is the second kind. The wider tool question has its own post on what AI SEO tools automate and what they miss.

Where does SERP overlap misread a keyword?

Overlap misreads intent in four situations. Run each pair that crosses your cutoff through this checklist before merging.

  1. Mixed-intent results. The SERP holds pages for two goals, so overlap is partial and the label is wrong.
  2. Volatile SERPs. The count moves between pulls, so a pair sits above the line one week and below it the next.
  3. Chained overlap. A overlaps B and B overlaps C. That does not put A and C on one page.
  4. Authority gaps. Overlap shows who ranks, not who could.

Ahrefs' guide to keyword clustering has the clearest case of the first. Both Ahrefs and the clustering tool it tested grouped best chocolate cake recipe with coffee under chocolate cake, because Google ranks a mix of plain chocolate cake recipes and coffee ones for that query. Ahrefs then compared the pages: the plain-recipe pages averaged Domain Rating (DR), Ahrefs' 0-100 score of a site's backlink strength, of 74 and 318 linking sites, and the coffee pages averaged DR 33 and 11. Its conclusion: "Clustering, as the tools suggested, would probably be a mistake."

On volatility, HubSpot's guide to keyword clustering lists overlap that fluctuates as a drawback, because clusters can shift over time. Search Atlas's clustering guide names the same failure for strict clustering: it can split closely related queries into too many small pages when SERPs fluctuate. A pair at 3 shared URLs one week and 5 the next is not two different keywords. It is noise around your cutoff, so pull twice, a few weeks apart, and keep pairs that stay on one side.

Schmalbach's SERP overlap guide adds the chaining warning above, and a data warning. In his check on November 11, 2026, eight Google queries returned 65 organic rows, and 63 held Google goto URLs, not destinations. A string comparison found no shared URLs across four query pairs, which proved nothing: the page URLs were unresolved. Inspect raw rows before trusting a zero.

The last item is the one to remember. His summary: overlap does not prove identical intent, that Google will rank your page for both, or that one page is right for every site. The cluster is a hypothesis you test by publishing.

How do you check clusters against your own data?

Pull your own query and page rows from Search Console and see which of your pages already rank for each cluster's keywords. Schmalbach's SERP overlap guide lists the step: use Search Console to see which pages appear for which queries.

The Search Console API documentation sets the limits. A request can return 1 to 25,000 rows, with startRow for paging, and the method "does not guarantee to return all data rows but rather top ones." For a small site that is enough. For a large one, page through the rows and split requests by date.

Then join the rows to your clusters and count the distinct pages per cluster.

A hypothetical result, to show how to read it. A cluster has six keywords. Two of your pages split them, four for one page and two for another. That is the consolidation signal: both pages target the same intent and each holds part of the impressions. Search Atlas's clustering guide describes the same pattern as cannibalization: one query with several of your URLs alternating impressions.

The reverse reading matters too. If one page already ranks for all six, the cluster has a home, and the job is to improve that page. If no page ranks, the cluster is a content gap.

Search Console reports only your own site. It does not show the competing results, so it validates your page map but cannot replace the overlap pull.

What to do this week

  1. Export 50 to 200 keywords for one topic from your keyword tool.
  2. Pull the top 10 results for each, with the same country, language and device. Strip tracking parameters first.
  3. Compute shared URLs and Jaccard for each pair. Write the cutoff down, 4 shared URLs to start, with the measure beside it.
  4. Review pairs at 3 and 4 shared URLs by hand for search goal and page type. Split any pair whose results mix intents.
  5. Join the clusters to a Search Console export and count the distinct pages that rank in each cluster.
  6. Re-run the pull in a month and compare. Pairs that moved across the line are the ones to review again.

Tools change. The check does not: same results, same page.

FAQ

What is keyword clustering?

Keyword clustering groups keywords that should be targeted by one page. Ahrefs says it is typically done by grouping keywords with the same or similar search results. The overlap in ranking URLs stands in for shared intent.

How many shared URLs should two keywords have to be clustered?

Published guides range from 3 or more of the top 10 (HubSpot) to 4 or more (Search Atlas), 4 to 6 (OnCrawl), or 40% of the top 7 (Keyword Insights). None gives test data. Start at 4 in the top 10, then adjust after a manual review of borderline pairs.

Can I do keyword clustering for free?

Yes, at small scale. Compare two keywords by hand in the results pages, or run a script. OnCrawl's guide says the Serper.dev free plan typically supports up to 2,500 test queries, and Search Engine Journal publishes a Python approach. Review the output manually either way.

Sources you can check.

The references behind this article, with their publication and checked dates.

  1. How To Do Keyword Clustering the Easy WayAhrefs

    Published: Checked:

  2. Keyword clustering using Python and the SERP APIOnCrawl

    Published: undatedChecked:

  3. How to cluster SEO keywords with SERP overlapVincent Schmalbach

    Published: undatedChecked:

  4. Keyword clustering (Keyword Insights docs)Keyword Insights

    Published: undatedChecked:

  5. How To Automate SEO Keyword Clustering By Search Intent With PythonSearch Engine Journal

    Published: Checked:

  6. What is keyword clustering?HubSpot

    Published: undatedChecked:

  7. How to do keyword clusteringSearch Atlas

    Published: undatedChecked:

  8. Method: Search Analytics: query (Search Console API)Google for Developers

    Published: undatedChecked:

  9. Google modifies search results parameter affecting SEO toolsSearch Engine Journal

    Published: Checked:

Where this fits

Managed SEO and automation

Managed SEO services led by Rob Garner. Improve existing pages, investigate technical issues and review progress with scope and approval before release.

Choose a Free Search Check to identify a useful first priority. See what the Free Search Check includes

More on SEO automation

All SEO automation notes
Rob Garner
Rob GarnerSearch and strategy
Portrait of Lam Hoang
Lam HoangSystems and engineering

Let's find the work worth building next.

Bring the page, process or publishing idea. We'll work out the first useful step together.