Business research5 min readBy Purrkey team

How to find shared keywords for two domains with DataForSEO

Identify the Google keywords two domains both rank for, with volume, difficulty and each domain's position and traffic

On this page

You have two competitor domains for a content-gap review and need the Google keywords both rank for, with volume, difficulty and both positions, in a table you can sort before deciding which terms deserve a comparison page

One call to dataforseo.labs.domain_intersection returns that intersection. This article designs the worksheet and the agent prompt; no run has been executed, so the result table is a design, with placeholder values

Example pair and the table you build

Example input (invented; replace both targets with live bare domains): acme-plumbing.example and acme-heating.example

target1target2
acme-plumbing.exampleacme-heating.example

The worksheet has one row per keyword returned. Values here are placeholders showing the shape

keywordsearchVolumecpccompetitioncompetitionLevelkeywordDifficultyintenttarget1Ranktarget1Urltarget1Etvtarget2Ranktarget2Urltarget2EtvsharedOpportunity
example keyword00.000.0level0intent0target1 URL0.00target2 URL0.0review

The table is not a result. It is the shape the agent should fill after one call for the pair

Input fields that shape the comparison

The call needs target1 and target2, both bare domains. The schema pattern does not accept a scheme or path. Use location_code for the market; 2840 is the United States and is the default. language_code defaults to en, and values follow ^[a-z]{2}(-[A-Za-z]{2,4})?$, so en and zh-TW fit the shape. limit defaults to 25 and can be set from 1 to 100

If you need a single domain's ranked keyword list before comparing pairs, the companion guide covers listing a domain's ranked keywords

Read the output fields before you rank the rows

The response has a keywords array, an integer matched field, and echoed target1 and target2 values. Each item in keywords carries keyword, searchVolume, cpc, competition, competitionLevel, keywordDifficulty, intent, target1Rank, target1Url, target1Etv, target2Rank, target2Url and target2Etv

Sort on searchVolume first, then keywordDifficulty. Read target1Rank and target2Rank to see whether both pages are present, and use target1Etv and target2Etv to compare the traffic each domain draws from the shared term. intent and competitionLevel help split commercial terms from informational ones. Any of these fields can be null, so treat a missing rank or traffic value as unknown rather than zero

The sharedOpportunity column is not returned by the tool. Set it in your worksheet: yes when both rank fields are populated and the volume and difficulty fit your brief, otherwise no or review

Set the limit before a content-gap sprint

A single call returns at most 100 keywords. The limit input defaults to 25 and can be set from 1 to 100. For a content-gap sprint across ten domain pairs, set limit to 100 on each call if you want the widest slice each response can carry. If you need more than 100 shared terms for one pair, one call cannot return them

Agent prompt for a two-domain intersection

The prompt below tells the agent to check current inputs and price, then return a table. Swap the example pair for your own before running

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to compare two domains for shared Google keywords. Check the current inputs and price of dataforseo.labs.domain_intersection before running. Use target1 acme-plumbing.example and target2 acme-heating.example with location_code 2840, language_code en, and limit 100. Return a table with one row per keyword and the columns keyword, searchVolume, cpc, competition, competitionLevel, keywordDifficulty, intent, target1Rank, target1Url, target1Etv, target2Rank, target2Url, target2Etv and sharedOpportunity. Set sharedOpportunity to yes when both rank fields are present and the row fits the brief, otherwise no or review. Do not invent rows.

Replace the example targets with live bare domains. Keep the first run to one pair so you can inspect the rows before a ten-pair sprint

Estimated tool cost

The catalog entry for dataforseo.labs.domain_intersection is POST /v1/runs, unit max_call, up to $0.03 per call (unitPriceMicros 30000), priceRevision dataforseo-receipt-2026-11-17, read through the Purrkey catalog on November 22, 2026. The max_call unit means "Maximum per call. Successful runs settle at the actual AnyAPI charge." The catalog price rule records DataForSEO's actual charge with no markup. Totals below are ceilings, and agent model fees are not counted

StepFormulaUnit pricePlanned quantityTotal
One pair comparisoncalls x max priceup to $0.03 per call1$0.03
Ten-pair content-gap sprintcalls x max priceup to $0.03 per call10$0.30

One pair comparison is 1 call. A ten domain pair sprint is 10 calls

Next action

Open DataForSEO Domain Intersection and run the pair with the limit you chose

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with DataForSEO.
Explore DataForSEO tools and pricing

FAQ

How do I find shared keywords for two domains with DataForSEO?

Call dataforseo.labs.domain_intersection with two bare domains in target1 and target2. The response returns a keywords array with volume, difficulty, intent, each domain's rank, URL and traffic, plus matched and the echoed targets.

What inputs does dataforseo.labs.domain_intersection take?

The inputs used here are target1, target2, location_code, language_code and limit. target1 and target2 are required bare domains; location_code defaults to 2840 for the United States, language_code defaults to en, and limit defaults to 25.

How many keywords can one domain intersection call return?

A single call returns at most 100 keywords. The limit input defaults to 25 and can be set from 1 to 100, so raise it when you want a larger slice for a pair.

What fields in the response drive the comparison?

Use searchVolume, keywordDifficulty, intent, target1Rank, target1Etv, target2Rank and target2Etv to sort and compare rows. cpc, competition and competitionLevel add context, and any nullable field can be missing rather than zero.

What is sharedOpportunity in the worksheet?

sharedOpportunity is a derived column you set, not a field returned by the tool. Mark it yes when both rank fields are present and the row fits your brief, otherwise no or review.

How much does one pair comparison cost?

One call is up to $0.03 at the catalog max_call price, and ten calls for a content-gap sprint are up to $0.30.

Do target1 and target2 need https or a path?

No. target1 and target2 take bare domains, and the schema pattern does not accept a scheme or path.

Next step

Try this with DataForSEO

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See DataForSEO tools

Share this article