SEO Domain intersection API
Get AnyAPI SEO keyword overlap for two domains with each domain's rankings, URLs, volume, CPC, and difficulty as normalized JSON.
$0.18864/1k results, pay per request, no subscription.
{"keyword":Â "git repository hosting","searchVolume":Â 18100,"cpc":Â 4.21,"keywordDifficulty":Â 58,"firstRank":Â 2,"firstUrl":Â "https://github.com/features","secondRank":Â 5,"secondUrl":Â "https://gitlab.com/features",... 7 more fields}
Pricing
SEO Domain intersection API pricing
Call it
Get SEO domain intersection in one request
import os, requests res = requests.post( "https://api.getanyapi.com/v1/run/seo.domain_intersection", headers={"Authorization": f"Bearer {os.environ['ANYAPI_KEY']}"}, json={ "target1": "", "target2": "" }, ) print(res.json())
This sample shows 18 of 19 fields. See every field
{
"found": true,
"data": {
"keywords": [
{
"keyword": "git repository hosting",
"searchVolume": 18100,
"cpc": 4.21,
"keywordDifficulty": 58,
"firstRank": 2,
"firstUrl": "https://github.com/features",
"secondRank": 5,
"secondUrl": "https://gitlab.com/features",
"updatedUtc": 1758844800,
"competition": "MEDIUM",
"searchIntent": "commercial",
"bidLow": 2.1,
"bidHigh": 6.8,
"firstTitle": "GitHub Features: Everything you need to ship faster",
"secondTitle": "GitLab Features | The DevOps Platform"
},
{
"keyword": "private git repository free",
"searchVolume": 9900,
"cpc": 3.4,
"keywordDifficulty": 46,
"firstRank": 1,
"firstUrl": "https://github.com/pricing",
"secondRank": 3,
"secondUrl": "https://gitlab.com/pricing",
"updatedUtc": 1758844800,
"competition": "LOW",
"searchIntent": "transactional",
"bidLow": 1.6,
"bidHigh": 4.9,
"firstTitle": "GitHub Pricing",
"secondTitle": "GitLab Pricing"
},
{
"keyword": "ci cd pipeline tool",
"searchVolume": 6600,
"cpc": 5.75,
"keywordDifficulty": 62,
"firstRank": 6,
"firstUrl": "https://github.com/features/actions",
"secondRank": 1,
"secondUrl": "https://gitlab.com/features/continuous-integration",
"updatedUtc": 1758844800,
"competition": "HIGH",
"searchIntent": "commercial",
"bidLow": 3.2,
"bidHigh": 9.1,
"firstTitle": "GitHub Actions",
"secondTitle": "GitLab CI/CD"
}
]
}
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
One request, one response shape.
Every field you send and every field you get back, each with a real example.
Last verified 2026-10-31 · uptime and latency measured over 30d
Request body
JSON, posted to this endpoint.
- target1string
github.com
First domain to compare, without a protocol or leading www.
- target2string
gitlab.com
Second domain to compare, without a protocol or leading www.
- intersectionsboolean
true
When true (the default), return keywords both domains rank for (overlap). When false, return keywords the first domain ranks for that the second domain does NOT (the content-gap query); in that mode secondRank and secondUrl are absent.
- languagestring
en
Language code for SEO overlap metrics.
- limitinteger
10
Maximum number of keywords to return. You are billed per returned result, so a lower limit costs less.
- locationinteger
2840
Location code for SEO overlap metrics. The default is the United States.
- orderByenum
volume_desc
Sort order for the returned keywords: by search volume, cost per click, or keyword difficulty, ascending or descending. Omit for the default order.
Response
JSON, one example value per field.
SEO keyword records both domains rank for. Populated whenever the provider has data for the entity.
- bidHighnumber
6.8
Upper bound of the estimated paid-search top-of-page bid in USD.
- bidLownumber
2.1
Lower bound of the estimated paid-search top-of-page bid in USD.
- competitionstring
MEDIUM
Paid-search competition level for the keyword (LOW, MEDIUM, HIGH).
- cpcnumber
4.21
Average paid-search cost per click in USD.
- firstRankinteger
2
Absolute organic ranking position for the first domain. Populated whenever the provider has data for the entity.
- firstTitlestring
GitHub Features: Everything you need to ship faster
Search-result title of the first domain's ranking page.
- firstUrlstring
https://github.com/features
Ranking URL for the first domain.
- keywordstring
git repository hosting
Keyword phrase both domains rank for. Populated whenever the provider has data for the entity.
- keywordDifficultyinteger
58
Estimated organic ranking difficulty on a 0-100 scale.
- searchIntentstring
commercial
Primary SEO search intent for the keyword.
- searchVolumeinteger
18100
Average monthly search volume for the keyword.
- secondRankinteger
5
Absolute organic ranking position for the second domain. Absent when intersections is false (the second domain does not rank for this keyword).
- secondTitlestring
GitLab Features | The DevOps Platform
Search-result title of the second domain's ranking page. Absent when the second domain does not rank for this keyword.
- secondUrlstring
https://gitlab.com/features
Ranking URL for the second domain. Absent when intersections is false.
- updatedUtcnumber
1758844800
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- foundboolean
true
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
FAQ
About the SEO Domain intersection API
The AnyAPI SEO Domain intersection API returns SEO domain intersection data as normalized JSON from one POST call to /v1/run/seo.domain_intersection. Get AnyAPI SEO keyword overlap for two domains with each domain's rankings, URLs, volume, CPC, and difficulty as normalized JSON. AnyAPI returns one normalized schema whichever source serves it. It costs $0.19 per 1,000 results, and never more than $0.18864 for a single request, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of SEO domain intersection calls through AnyAPI succeeded, with a median response time of 1.3 seconds across 46 measured calls.