Related Keywords API
The semantic keyword clustering API for the new local SEO stack.
Keyword Suggestions expands one seed into autocomplete variants. This is different: Related Keywords finds the broader topic cluster — keywords in the same semantic space, different phrasings, different angles, different intents but same subject matter. Ahrefs bundles this as 'Related Terms' inside Keywords Explorer ($129/mo), Semrush packages it as 'Related Keywords' in Keyword Magic Tool ($139.95/mo). We expose it as a per-call API. One seed keyword, 50-1000 semantically related terms with volume and competition. 2 credits ($0.01) per call. Your agent clusters content and prevents cannibalization.
POST /v1/keywords/related · 2 credits / call
These prompts are the new semantic keyword clustering workflow.
Connect Local SEO Data as an MCP server once (60 seconds, below). Then your agent discovers related keywords, groups them by intent, and detects cannibalization risk. Replace bracketed keywords with your own.
Find related keywords for [best plumber] in [Denver]. Group by semantic intent. Which related terms have highest volume that I could target on different pages without cannibalizing?
Pull related keywords for [emergency plumber denver]. Flag any related terms with >100 search volume. These might compete with my existing content.
Expand [roof repair] for related keywords. Show me semantic clusters: repair vs replacement vs installation vs maintenance. Design pages for each cluster, one page per intent.
Pull related keywords for [my client's primary service]. Map to adjacent services they could expand into. What related keyword clusters indicate untapped revenue?
What you get back
Live response for 'emergency plumber' seed in Denver. Shows semantic variants in the same topic cluster. Real API response, May 2026.
{
"status": "success",
"credits_used": 2,
"data": {
"seed_keyword": "emergency plumber",
"location": "Denver, Colorado, United States",
"total_results": 156,
"related_keywords": [
{
"keyword": "24 hour plumber",
"search_volume": 580,
"cpc": 58.00,
"competition": 0.89,
"semantic_cluster": "availability"
},
{
"keyword": "emergency plumbing service",
"search_volume": 310,
"cpc": 54.00,
"competition": 0.84,
"semantic_cluster": "service_variant"
},
{
"keyword": "burst pipe emergency",
"search_volume": 185,
"cpc": 28.50,
"competition": 0.61,
"semantic_cluster": "problem_specific"
},
{
"keyword": "after hours plumber",
"search_volume": 220,
"cpc": 52.25,
"competition": 0.78,
"semantic_cluster": "availability"
},
{
"keyword": "plumbing emergency repair",
"search_volume": 145,
"cpc": 45.75,
"competition": 0.72,
"semantic_cluster": "service_variant"
},
{
"keyword": "emergency water damage plumber",
"search_volume": 95,
"cpc": 41.00,
"competition": 0.58,
"semantic_cluster": "problem_specific"
}
]
}
}Everything your agent needs to cluster topics and prevent cannibalization
Keywords grouped by topic cluster and intent variant
Each related keyword is tagged with its semantic cluster (e.g., 'availability', 'service_variant', 'problem_specific'). Helps your agent see which keywords belong on the same page (same cluster) vs different pages (different clusters). This prevents content cannibalization — you don't want two pages competing for the same search intent.
Search volume, CPC, competition index
For each related keyword: monthly search volume, cost-per-click in USD, and competition index (0-1). Your agent ranks by volume within each cluster. 'In the availability cluster, 24-hour-plumber has 580 volume vs after-hours-plumber at 220 — target the higher volume term first.'
All results are location-scoped
Related keywords are specific to your location. 'Emergency plumber' in Denver pulls different semantic variants and volumes than the same seed in Austin. Multi-location operators batch-query by city to build location-specific topical architectures.
Compose discovery, expansion, and validation
Keyword Suggestions expands one seed into autocomplete variants (same keyword type, different modifiers). Related Keywords finds semantic variants (different angles, different intents, same topic). Use both: Suggestions for long-tail discovery, Related Keywords for topical authority and content silo mapping. One agent, two endpoints, complete keyword intelligence.
What SEO operators ship with this endpoint
Content silo architecture for agencies
Agencies pull related keywords for each primary service keyword, map semantic clusters, and build content siloes. 'Roof repair' has clusters for material type, problem type, and geographic intent. One page per cluster, parent page for the umbrella keyword. Prevents cannibalization, improves topical authority, ranks faster.
→ For agenciesCannibalization audits for in-house teams
Pull related keywords for your top 20 target keywords. Map them against your existing content. Which pages are competing for the same semantic clusters? Consolidate or redesign to own clusters instead of scattered rankings across weak pages.
→ For in-house teamsMulti-service business expansion mapping
Franchises and service businesses pull related keywords for their primary service. Identify semantic clusters for adjacent services. 'If I rank well for roof repair, which related keyword clusters suggest I could also target roof installation or maintenance contracts?'
→ For franchisesCompetitive topical authority comparison
Pull related keywords for your target keyword and your competitors' websites. Compare cluster coverage. Are they dominating specific semantic clusters you're absent from? Allocate content budget to underserved clusters.
→ For consultantsWhy not use Ahrefs, Semrush, or standalone semantic clustering tools?
All of them offer keyword clustering, but the business model limits automation. Here's why the API model wins for agents.
| Tool | Related keywords feature | Clustering approach | Cost model | Agent-ready |
|---|---|---|---|---|
| Ahrefs Keywords Explorer ($129/mo) | Related Terms (dashboard view) | SERP-based clustering | $129–299/mo per seat, $1,548–3,588/year | API exists but secondary focus |
| Semrush Keyword Magic Tool ($139.95/mo) | Related Keywords (export view) | Semantic + volume-based | $139.95–499.95/mo per seat, $1,679–5,999/year | CSV export, not agent-native |
| Keyword Cupid (standalone) | Semantic Keyword Clustering | ML-trained semantic grouping | Per-report pricing, higher per-query cost | No MCP, report-oriented |
| Topical Map (standalone) | Topic cluster mapping | Semantic topic modeling | Subscription + per-cluster fees | API available but limited |
| SE Ranking ($65/mo) | Keyword clustering (included) | Basic semantic grouping | $65–159/mo per seat | API available on higher plans |
| LocalSEOData Related Keywords API | Full semantic cluster tagging | Intent-based + semantic grouping | $0.01 per call, no seats | Native MCP + REST, agent-first |
Use it from your agent
Two integration surfaces: MCP for clients that speak MCP, REST API for everything else.
Direct MCP integration
Drop-in support in Claude Desktop, OpenClaw, Hermes Agent, and any MCP-aware client.
Add to your client's MCP config (e.g. claude_desktop_config.json):
{
"mcpServers": {
"localseodata": {
"url": "https://mcp.localseodata.com",
"headers": {
"Authorization": "Bearer sk_live_..."
}
}
}
}REST API
For Perplexity Computer, ChatGPT Custom GPTs, custom agents, and any platform that calls REST endpoints directly.
Base URL:
api.localseodata.comSee the docs for endpoint reference and auth.
Your first call in three lines
Same endpoint, three syntaxes. The `keywords` array accepts 1-20 seed keywords. `location` is required in 'City, State, Country' format. Optional: `limit` (default 50, max 1000), `language` (default 'en'). One call = 2 credits, regardless of how many related keywords are returned.
curl -X POST https://api.localseodata.com/v1/keywords/related \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"keywords": ["emergency plumber"],
"location": "Denver, Colorado, United States",
"limit": 100
}'$0.01 per call
2 credits per search. Free tier on signup includes 50 credits (25 related keyword searches). Monthly plans start at $19 and never expire. No per-seat fees, no team limits.
Common questions
What is the Related Keywords API?+
POST /v1/keywords/related. One call returns structured JSON and costs 2 credits ($0.01). This is the foundational endpoint for content silo architecture and cannibalization prevention — mapping which keywords belong on the same page vs different pages in your topical structure.How is this different from Keyword Suggestions API?+
What are semantic clusters?+
Why do I need both Suggestions and Related Keywords?+
How does this compare to Ahrefs ($129/mo)?+
How does this compare to Semrush ($139.95/mo)?+
What upstream data sources do you use?+
Can I look up multiple seed keywords in one call?+
keywords array accepts 1-20 seed keywords. If you search for ['emergency plumber', 'water heater repair', 'drain cleaning'], you get related keywords for all three seeds, combined and deduplicated. Cost is still 2 credits for the call. This is useful for mapping related keywords across your entire service offering in one batch.How does the competition index work?+
Can AI agents use this directly?+
claude_desktop_config.json (or any MCP-compatible client), and Claude calls this endpoint from your prompt. You say 'find related keywords for my primary service and map semantic clusters' and it happens. REST: Any agent that can make HTTPS calls hits api.localseodata.com with Authorization: Bearer sk_live_.... The agent receives structured JSON with cluster tags and can group results, detect cannibalization, and recommend content silo architecture automatically.Do you support multi-language and multi-location searches?+
location is required and must be in 'City, State, Country' format (e.g., 'Denver, Colorado, United States'). Related keywords are location-specific — the semantic variants you get for 'plumber' in Denver differ from 'plumber' in Austin because intent and available services differ by market. language is optional (default 'en') and accepts language codes. Multi-location operators batch-query by city to build location-specific content silos. Multi-language is fine too — the API returns related keywords in the specified language.What changed in 2026 that made this category exist?+
Often used in the same agent prompt
Keyword Suggestions API
Expand seeds into long-tail autocomplete variants.
POST /v1/keywords/search-volumeSearch Volume API
Validate keywords with volume, CPC, and monthly trends.
POST /v1/keywords/opportunitiesKeyword Opportunities API
Rank keywords by opportunity score and difficulty.
POST /v1/keywords/site-keywordsKeywords for Site API
What keywords competitors rank for.
Map your topic clusters before you start writing.
50 free credits on signup. 25 related keyword searches included. Discover semantic variants and prevent cannibalization in your first agent prompt.