Keyword Opportunities API
The ranked keyword recommendations API for the new local SEO stack.
Traditional keyword research dumps 10,000 keywords on a human to sift through. Ahrefs Keyword Difficulty, Semrush Keyword Magic Tool, Moz Keyword Explorer, KWFinder, and Surfer all return raw lists — volume, difficulty, intent — and call that research. We built something different. This endpoint returns the 50 best keywords ranked by opportunity: keywords with high search volume, low competition relative to your current rank, and strong commercial intent. Your agent doesn't need 10K keywords to act on. It needs 50 ranked recommendations it can implement.
POST /v1/keywords/opportunities · 4 credits / call
These prompts are the new keyword opportunity workflow.
Connect Local SEO Data as an MCP server once (60 seconds, below). Then your agent discovers keywords, ranks them by difficulty vs your current rank, and prioritizes what to write. Replace bracketed business names with your own.
Find keyword opportunities for [my plumbing business in Denver]. Show me the top 5 keywords I don't rank for yet but have search volume >200 and estimated difficulty <40.
Pull keyword opportunities for all 12 client locations. Rank by opportunity score. Flag any keyword with volume >500 that none of the locations are targeting yet.
Get keyword opportunities for [my salon in Austin]. Compare my current rank to my top 3 local competitors. Show me keywords where they rank but I don't.
For [my auto-repair franchise across 5 cities], find keyword opportunities that apply to all locations. Which keywords should I target in every market?
What you get back
Live response for a Denver plumbing business. The API returns opportunities ranked by estimated difficulty vs current position.
{
"status": "success",
"credits_used": 4,
"data": {
"business": "Joe\'s Plumbing",
"location": "Denver, Colorado",
"total_opportunities": 47,
"opportunities": [
{
"keyword": "emergency plumber denver",
"opportunity_score": 9.2,
"search_volume": 890,
"estimated_difficulty": 38,
"your_current_rank": null,
"top_competitor_rank": 2,
"commercial_intent": "high",
"reason": "High volume, low difficulty, no current rank"
},
{
"keyword": "pipe repair denver",
"opportunity_score": 8.7,
"search_volume": 340,
"estimated_difficulty": 28,
"your_current_rank": 18,
"top_competitor_rank": 3,
"commercial_intent": "high",
"reason": "High commercial intent, currently ranked but can move to top 3"
},
{
"keyword": "water heater replacement denver",
"opportunity_score": 8.4,
"search_volume": 520,
"estimated_difficulty": 42,
"your_current_rank": null,
"top_competitor_rank": 5,
"commercial_intent": "high",
"reason": "Strong volume and intent, moderate difficulty"
},
{
"keyword": "drain cleaning service",
"opportunity_score": 7.9,
"search_volume": 1200,
"estimated_difficulty": 61,
"your_current_rank": 42,
"top_competitor_rank": 1,
"commercial_intent": "high",
"reason": "Very high volume but high difficulty; major competitors entrenched"
}
]
}
}Everything ranked by real opportunity
0-10 composite ranking what to target first
Combines search volume, estimated keyword difficulty, your current rank (if you rank), and commercial intent into a single 0-10 score. Higher is better. Your agent acts on opportunities >8 first.
Volume in monthly searches, difficulty 0-100
Volume comes from DataForSEO's aggregated data. Difficulty is based on how many high-authority domains rank for the keyword — estimated from SERP composition. Low difficulty + high volume = quick win.
Where you rank, where competitors rank
If you rank for the keyword, we show your position. We also show the top competitor rank. If you're position 18 and the top competitor is position 2, there's work to do. If you don't rank at all but competitors are only in position 5-10, it's a gap.
High, medium, low intent signals
Scored by presence of commercial modifiers ('near me', 'cost', 'best', 'professional', etc.), CPC data, and SERP composition (how many ads appear). High-intent keywords drive faster ROI.
What AI-native operators ship with this
Content prioritization for agencies
Agencies pull keyword opportunities for each client location, rank by opportunity score, and hand off to the content team. 'Write about these 5 keywords first because they have the highest volume and lowest difficulty.' Cuts content planning time in half.
→ For agenciesQuick-win discovery for consultants
Before a pitch call, pull keyword opportunities for the prospect's business. Walk in with 'you're not ranking for 12 high-volume, low-difficulty keywords you should own.' Positioning as the person who sees what's missing (not just what's wrong) closes deals.
→ For consultantsLocal multi-location keyword strategy
Agencies managing 10+ franchise locations batch-call this endpoint across all locations. Identify which keywords apply to all markets (regional scalable content) vs. which are location-specific. Allocate content budget accordingly.
→ For franchisesCompetitive keyword gap filling
Pair this endpoint with [Keywords for Site](/keywords-for-site-api) to find keywords competitors rank for but you don't. Your agent runs: 'pull top 100 keywords for competitor X, cross-check against my opportunities, flag gaps.' Reverse-engineer competitive strategy.
→ Keywords for Site APIWhy not use Ahrefs Keyword Difficulty, Semrush Keyword Magic, or Moz Keyword Explorer?
Those tools return raw keyword lists ranked by volume or difficulty. They hand you 10,000 keywords and let you decide what to target. We return 50 opportunities ranked by difficulty vs your current position. Here's how the shapes differ.
| Tool | Output shape | Actionability | Setup | Agent-ready |
|---|---|---|---|---|
| Ahrefs Keyword Difficulty ($129/mo) | Volume + Difficulty ranking | High volume / low difficulty = target, but you sort manually | Dashboard UI + API available | API exists but dashboard-first |
| Semrush Keyword Magic Tool ($139.95/mo) | Volume + Difficulty + Intent | Better intent signals, but still a list to read | Dashboard UI | CSV export, no native API |
| Moz Keyword Explorer ($99/mo) | Volume + Difficulty + Opportunity | Has an 'Opportunity' metric but designed for humans | Dashboard UI | No API, manual interface |
| Surfer Content Editor (part of suite) | Volume + Difficulty + SERP analysis | SERP-focused, for content optimization not discovery | Dashboard-based | No standalone API |
| KWFinder by Mangools ($29.90/mo) | Volume + Difficulty + Local keywords | Good local focus, but a list you filter yourself | Dashboard UI | API available but not agent-native |
| SE Ranking Keyword Opportunities ($159/mo Core) | Difficulty vs current rank + volume | Ranked recommendations, similar concept | Dashboard UI | API available but subscription-locked |
| Local SEO Data Keyword Opportunities API | Ranked opportunities 0-10 score | Top 50 sorted by actual opportunity, your rank vs competitors | API key + 1-line MCP config | Native MCP, agent-first, $0.02/call |
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
Core parameters: `business_name` and `location` (required). Optional: `category` to expand beyond primary business type. One call returns up to 50 ranked opportunities sorted by opportunity score (highest first). Cost: 4 credits (~$0.02).
curl -X POST https://api.localseodata.com/v1/keywords/opportunities \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"business_name": "Joes Plumbing",
"location": "Denver, Colorado"
}'$0.02 per call
Pay-as-you-go starts at $5. Monthly plans from $19. Funds never expire. No seat fees. One call returns up to 50 ranked opportunities.
Common questions
What is the Keyword Opportunities API?+
POST /v1/keywords/opportunities; one call costs 4 credits (~$0.02). Instead of dumping 10K keywords and making you decide, this endpoint does the ranking work: 'here are your top 50 keywords to target, sorted by estimated ROI impact.' This is the shape of keyword research optimized for agents and content teams, not dashboards.How is opportunity score calculated?+
How does this differ from Search Volume API?+
How does this compare to Ahrefs Keyword Difficulty or Semrush Keyword Magic Tool?+
Where does the data come from?+
How fresh is the data?+
Can I look up opportunities for a specific category (not just primary business type)?+
category parameter lets you expand beyond the business's primary category. A plumber might also target 'water damage restoration' or 'sump pump repair'. Pass category: 'emergency plumbing' to get opportunities scoped to that category instead. Without a category parameter, the API infers from the business name and primary type.Can my AI agent use this directly?+
claude_desktop_config.json (or OpenClaw, Hermes Agent, etc.) and your Claude agent calls this endpoint from any prompt. REST: any agent that can make HTTPS calls (ChatGPT Custom GPTs, Perplexity Computer, custom Python agents) hits api.localseodata.com directly with your Bearer token. The agent receives ranked opportunities and can prioritize content, flag gaps, or pass to a content team. No integration code. Just write the prompt.What does it cost compared to Ahrefs ($129/mo) or Semrush ($139.95/mo)?+
Does this work for multi-location businesses?+
How does this pair with other keyword endpoints?+
What changed in 2026 that made this category exist?+
Often used in the same agent prompt
Search Volume API
Raw volume, CPC, competition, and 12-month trends for keyword lists.
POST /v1/keywords/suggestionsKeyword Suggestions API
Long-tail keyword discovery from a seed term with volume and difficulty.
POST /v1/keywords/site-keywordsKeywords for Site API
Every keyword a competitor ranks for. Reverse-engineer their strategy.
POST /v1/keywords/relatedRelated Keywords API
Semantically related keywords. Cluster by topic, avoid cannibalization.
Stop sifting through keyword lists. Start acting on opportunities.
50 free credits on signup. 250 opportunity scans included. Pull your first keyword strategy in your first agent prompt.