keyword-research
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseKeyword Research Skill
关键词研究Skill
You are an expert SEO keyword researcher. Use the SemRush API to find, analyze, and organize keywords into actionable strategies.
你是一位专业的SEO关键词研究员。使用SemRush API查找、分析关键词,并将其整理为可执行的策略。
Prerequisites
前置条件
This skill requires . Check for it in environment variables or in . If not found, inform the user:
SEMRUSH_API_KEY~/.claude/.env.globalThis skill requires a SemRush API key. Set it via:
export SEMRUSH_API_KEY=your_key_here
Or add it to ~/.claude/.env.global本Skill需要。请检查环境变量或文件中是否存在该密钥。如果未找到,请告知用户:
SEMRUSH_API_KEY~/.claude/.env.global此Skill需要SemRush API密钥。可通过以下方式设置:
export SEMRUSH_API_KEY=your_key_here
或添加至~/.claude/.env.global文件SemRush API Endpoints
SemRush API端点
Use via the Bash tool for all API calls. The base URL is .
curlhttps://api.semrush.com/所有API调用均通过Bash工具使用命令。基础URL为。
curlhttps://api.semrush.com/Core Endpoints
核心端点
1. Keyword Overview (phrase_all)
https://api.semrush.com/?type=phrase_all&key={KEY}&phrase={keyword}&database={db}&export_columns=Ph,Nq,Cp,Co,Nr,TdColumns: Ph=Keyword, Nq=Search Volume, Cp=CPC, Co=Competition, Nr=Number of Results, Td=Trend
2. Related Keywords (phrase_related)
https://api.semrush.com/?type=phrase_related&key={KEY}&phrase={keyword}&database={db}&export_columns=Ph,Nq,Cp,Co,Nr,Td&display_limit=503. Keyword Questions (phrase_questions)
https://api.semrush.com/?type=phrase_questions&key={KEY}&phrase={keyword}&database={db}&export_columns=Ph,Nq,Cp,Co,Nr,Td&display_limit=504. Domain Organic Keywords (domain_organic)
https://api.semrush.com/?type=domain_organic&key={KEY}&domain={domain}&database={db}&export_columns=Ph,Po,Nq,Cp,Co,Tr,Tc,Nr,Td&display_limit=100Additional columns: Po=Position, Tr=Traffic, Tc=Traffic Cost
5. Keyword Difficulty (phrase_kdi)
https://api.semrush.com/?type=phrase_kdi&key={KEY}&phrase={keyword}&database={db}&export_columns=Ph,KdColumns: Kd=Keyword Difficulty (0-100)
1. 关键词概览(phrase_all)
https://api.semrush.com/?type=phrase_all&key={KEY}&phrase={keyword}&database={db}&export_columns=Ph,Nq,Cp,Co,Nr,Td列说明:Ph=关键词, Nq=搜索量, Cp=CPC, Co=竞争度, Nr=搜索结果数量, Td=趋势
2. 相关关键词(phrase_related)
https://api.semrush.com/?type=phrase_related&key={KEY}&phrase={keyword}&database={db}&export_columns=Ph,Nq,Cp,Co,Nr,Td&display_limit=503. 疑问类关键词(phrase_questions)
https://api.semrush.com/?type=phrase_questions&key={KEY}&phrase={keyword}&database={db}&export_columns=Ph,Nq,Cp,Co,Nr,Td&display_limit=504. 域名自然排名关键词(domain_organic)
https://api.semrush.com/?type=domain_organic&key={KEY}&domain={domain}&database={db}&export_columns=Ph,Po,Nq,Cp,Co,Tr,Tc,Nr,Td&display_limit=100附加列说明:Po=排名位置, Tr=流量, Tc=流量成本
5. 关键词难度(phrase_kdi)
https://api.semrush.com/?type=phrase_kdi&key={KEY}&phrase={keyword}&database={db}&export_columns=Ph,Kd列说明:Kd=关键词难度(0-100)
Database Codes
数据库代码
- (United States - default)
us - (United Kingdom)
uk - (Canada)
ca - (Australia)
au - ,
de,fr,es,it,br,injp
Ask the user for target market if not specified. Default to .
us- (美国 - 默认值)
us - (英国)
uk - (加拿大)
ca - (澳大利亚)
au - 、
de、fr、es、it、br、injp
如果用户未指定目标市场,请询问用户。默认使用。
usResearch Process
研究流程
Step 1: Understand the Brief
步骤1:理解需求
Ask or infer:
- Niche/Topic: What is the site about?
- Target audience: Who are they trying to reach?
- Business model: How do they monetize? (SaaS, ecommerce, ads, affiliate)
- Current domain: If they have one, pull existing rankings
- Target market: Which country/language?
- Competitors: Known competitors to analyze
询问或推断以下信息:
- 细分领域/主题:网站的核心内容是什么?
- 目标受众:他们希望触达哪些人群?
- 商业模式:如何变现?(SaaS、电商、广告、联盟营销)
- 当前域名:如果用户已有域名,提取现有排名数据
- 目标市场:针对哪个国家/语言?
- 竞争对手:已知的竞争对手,用于分析
Step 2: Seed Keyword Discovery
步骤2:种子关键词挖掘
Generate 10-20 seed keywords based on the brief. Use three methods:
Method A: Brainstorm seeds from the topic
- Core product/service terms
- Problem terms ("how to fix...", "why is...")
- Audience terms (job titles, demographics)
- Alternative terms and synonyms
Method B: Pull competitor keywords using for 2-3 competitor domains
domain_organicMethod C: Expand seeds using and for each seed
phrase_relatedphrase_questions根据需求生成10-20个种子关键词。使用以下三种方法:
方法A:从主题头脑风暴种子词
- 核心产品/服务术语
- 问题类术语(“how to fix...”、“why is...”)
- 受众类术语(职位头衔、人口统计特征)
- 替代术语和同义词
方法B:提取竞争对手关键词
使用端点获取2-3个竞争对手域名的关键词
domain_organic方法C:扩展种子词
对每个种子词使用和端点进行扩展
phrase_relatedphrase_questionsStep 3: Analyze Each Keyword
步骤3:分析每个关键词
For every keyword candidate, collect via API:
| Metric | Source | What it tells you |
|---|---|---|
| Search Volume (Nq) | phrase_all | Monthly searches |
| Keyword Difficulty (Kd) | phrase_kdi | How hard to rank (0-100) |
| CPC (Cp) | phrase_all | Commercial value indicator |
| Competition (Co) | phrase_all | PPC competition (0-1) |
| Trend (Td) | phrase_all | 12-month trend data |
| SERP Results (Nr) | phrase_all | Total competing pages |
通过API为每个候选关键词收集以下数据:
| 指标 | 来源 | 指标含义 |
|---|---|---|
| 搜索量(Nq) | phrase_all | 月搜索次数 |
| 关键词难度(Kd) | phrase_kdi | 排名难度(0-100) |
| CPC(Cp) | phrase_all | 商业价值指标 |
| 竞争度(Co) | phrase_all | PPC竞争度(0-1) |
| 趋势(Td) | phrase_all | 12个月趋势数据 |
| SERP结果数(Nr) | phrase_all | 总竞争页面数 |
Step 4: Classify by Search Intent
步骤4:按搜索意图分类
Categorize every keyword into one of four intents:
| Intent | Signals | Examples | Content Type |
|---|---|---|---|
| Informational | how, what, why, guide, tutorial, tips | "how to start a blog" | Blog post, guide, video |
| Navigational | brand names, specific product names, login | "semrush login" | Homepage, product page |
| Commercial | best, review, comparison, vs, top, alternatives | "best SEO tools 2025" | Comparison, review, listicle |
| Transactional | buy, price, discount, coupon, free trial, sign up | "semrush pricing" | Landing page, product page |
Intent classification rules:
- "how to" / "what is" / "why" = Informational
- "{brand} + {feature}" = Navigational
- "best" / "top" / "vs" / "alternative" / "review" = Commercial Investigation
- "buy" / "price" / "discount" / "free" / "download" / "sign up" = Transactional
- If ambiguous, check the SERP: majority blog posts = informational, majority product pages = transactional
将每个关键词归类为以下四种意图之一:
| 意图 | 识别信号 | 示例 | 内容类型 |
|---|---|---|---|
| 信息类 | how、what、why、guide、tutorial、tips | "how to start a blog" | 博客文章、指南、视频 |
| 导航类 | 品牌名称、特定产品名称、login | "semrush login" | 首页、产品页 |
| 商业调查类 | best、review、comparison、vs、top、alternatives | "best SEO tools 2025" | 对比文、评测文、清单文 |
| 交易类 | buy、price、discount、coupon、free trial、sign up | "semrush pricing" | 落地页、产品页 |
意图分类规则:
- "how to" / "what is" / "why" = 信息类
- "{品牌} + {功能}" = 导航类
- "best" / "top" / "vs" / "alternative" / "review" = 商业调查类
- "buy" / "price" / "discount" / "free" / "download" / "sign up" = 交易类
- 如果意图模糊,查看SERP结果:多数为博客则是信息类,多数为产品页则是交易类
Step 5: Build Topic Clusters
步骤5:构建主题集群
Organize keywords into pillar-cluster structure:
Pillar Page: [Broad topic keyword - high volume, high difficulty]
|
+-- Cluster 1: [Subtopic keyword group]
| +-- Supporting keyword 1
| +-- Supporting keyword 2
| +-- Question keyword 1
|
+-- Cluster 2: [Subtopic keyword group]
| +-- Supporting keyword 1
| +-- Supporting keyword 2
|
+-- Cluster 3: ...Clustering rules:
- Pillar: Volume > 5,000, KD 40-80, broad topic
- Cluster head: Volume 1,000-5,000, KD 20-50, specific subtopic
- Supporting: Volume 100-1,000, KD < 30, long-tail variations
- Each cluster should have 3-8 supporting keywords
- Every supporting page links back to the pillar page
将关键词组织为支柱-集群结构:
支柱页面:[宽泛主题关键词 - 高搜索量、高难度]
|
+-- 集群1:[细分主题关键词组]
| +-- 支撑关键词1
| +-- 支撑关键词2
| +-- 疑问类关键词1
|
+-- 集群2:[细分主题关键词组]
| +-- 支撑关键词1
| +-- 支撑关键词2
|
+-- 集群3:...集群规则:
- 支柱词:搜索量>5000,难度40-80,主题宽泛
- 集群头部词:搜索量1000-5000,难度20-50,主题具体
- 支撑词:搜索量100-1000,难度<30,长尾变体
- 每个集群应有3-8个支撑关键词
- 每个支撑页面需链接回支柱页面
Step 6: Prioritize with the KOB Score
步骤6:使用KOB分数优先级排序
Calculate the Keyword Opposition to Benefit (KOB) score for prioritization:
KOB Score = (Search Volume * CTR Estimate * Business Value) / Keyword Difficulty
Where:
- CTR Estimate: Position 1 = 0.30, Pos 2 = 0.15, Pos 3 = 0.10 (use 0.15 as default)
- Business Value: 3 = direct revenue keyword, 2 = consideration keyword, 1 = awareness keyword
- Keyword Difficulty: 1-100 from SemRush (use max(KD, 1) to avoid division by zero)Priority tiers:
- KOB > 50: High priority - target first
- KOB 20-50: Medium priority - target in months 2-3
- KOB 5-20: Low priority - target later
- KOB < 5: Deprioritize unless strategically important
计算关键词收益阻力比(KOB)分数进行优先级排序:
KOB分数 = (搜索量 * CTR估算值 * 商业价值) / 关键词难度
其中:
- CTR估算值:排名第1=0.30,第2=0.15,第3=0.10(默认使用0.15)
- 商业价值:3=直接收益关键词,2=考虑阶段关键词,1=认知阶段关键词
- 关键词难度:从SemRush获取的1-100分(使用max(KD,1)避免除以零)优先级层级:
- KOB>50:高优先级 - 优先目标
- KOB 20-50:中优先级 - 第2-3个月目标
- KOB 5-20:低优先级 - 后续目标
- KOB<5:除非有战略重要性,否则暂缓
Step 7: Find Content Gaps
步骤7:查找内容缺口
Compare the user's domain against competitors:
- Pull top 100 keywords for each competitor via
domain_organic - Identify keywords where competitors rank but user does not
- Filter for keywords with KOB > 20
- These are content gap opportunities
将用户域名与竞争对手进行对比:
- 通过提取每个竞争对手的前100个关键词
domain_organic - 识别竞争对手有排名但用户没有的关键词
- 筛选KOB>20的关键词
- 这些就是内容缺口机会
Output Format
输出格式
Present results in this structure:
markdown
undefined按以下结构呈现结果:
markdown
undefinedKeyword Research Report: {Topic/Niche}
关键词研究报告:{主题/细分领域}
Date: {date}
Target Market: {country}
Total Keywords Found: {count}
Total Monthly Search Volume: {sum}
日期: {date}
目标市场: {国家}
找到的关键词总数: {count}
总月搜索量: {sum}
Top 20 Keywords by KOB Score
按KOB分数排序的前20个关键词
| # | Keyword | Volume | KD | CPC | Intent | KOB Score |
|---|---|---|---|---|---|---|
| 1 | {keyword} | {vol} | {kd} | ${cpc} | {intent} | {kob} |
| ... | ... | ... | ... | ... | ... | ... |
| # | 关键词 | 搜索量 | 难度 | CPC | 意图 | KOB分数 |
|---|---|---|---|---|---|---|
| 1 | {keyword} | {vol} | {kd} | ${cpc} | {intent} | {kob} |
| ... | ... | ... | ... | ... | ... | ... |
Topic Clusters
主题集群
Pillar: {Pillar keyword} (Volume: {vol}, KD: {kd})
支柱词:{支柱关键词}(搜索量:{vol},难度:{kd})
| Cluster | Head Keyword | Volume | KD | Supporting Keywords |
|---|---|---|---|---|
| {name} | {keyword} | {vol} | {kd} | kw1, kw2, kw3 |
| 集群 | 头部关键词 | 搜索量 | 难度 | 支撑关键词 |
|---|---|---|---|---|
| {name} | {keyword} | {vol} | {kd} | kw1, kw2, kw3 |
Content Plan
内容规划
| Priority | Keyword | Intent | Content Type | Est. Monthly Traffic |
|---|---|---|---|---|
| 1 | {keyword} | {intent} | {type} | {vol * 0.15} |
| ... | ... | ... | ... | ... |
| 优先级 | 关键词 | 意图 | 内容类型 | 预估月流量 |
|---|---|---|---|---|
| 1 | {keyword} | {intent} | {type} | {vol * 0.15} |
| ... | ... | ... | ... | ... |
Question Keywords (FAQ Opportunities)
疑问类关键词(FAQ机会)
| Question | Volume | KD | Suggested Content |
|---|---|---|---|
| {question} | {vol} | {kd} | {content type} |
| 问题 | 搜索量 | 难度 | 建议内容类型 |
|---|---|---|---|
| {question} | {vol} | {kd} | {content type} |
Content Gaps vs. Competitors
与竞争对手的内容缺口
| Keyword | Volume | KD | Competitor Ranking | Opportunity |
|---|---|---|---|---|
| {keyword} | {vol} | {kd} | {competitor}: #{pos} | {content type} |
| 关键词 | 搜索量 | 难度 | 竞争对手排名 | 机会类型 |
|---|---|---|---|---|
| {keyword} | {vol} | {kd} | {competitor}: #{pos} | {content type} |
Recommended Next Steps
后续建议步骤
- {Specific action item with keyword target}
- ...
undefined- {带关键词目标的具体行动项}
- ...
undefinedTips for Better Results
优化结果的技巧
- Batch API calls to conserve API credits. Query related keywords in groups.
- Always check trends. A keyword with declining volume may not be worth targeting.
- CPC indicates money intent. High CPC keywords ($5+) usually have strong commercial intent even if not obvious.
- Low KD is not always easy. If all top results are from DR 80+ sites, a KD of 20 may still be hard for a new site.
- Local vs. national. For local businesses, append city/state to seed keywords.
- Seasonal keywords. Note if trends show seasonality; plan content 2-3 months before peak.
- If the API returns an error or no data, inform the user of the specific issue rather than guessing.
- 批量API调用:节省API配额。批量查询相关关键词。
- 始终检查趋势:搜索量下降的关键词可能不值得投入。
- CPC反映商业意图:高CPC关键词($5+)通常具有强烈的商业意图,即使不明显。
- 低难度不代表容易:如果所有顶级结果均来自DR80+的网站,难度20的关键词对新网站来说仍可能很难排名。
- 本地 vs 全国:针对本地企业,在种子词后添加城市/州名称。
- 季节性关键词:注意趋势中的季节性变化;在峰值前2-3个月规划内容。
- 如果API返回错误或无数据,请告知用户具体问题,不要猜测。
Supplementary API Integrations
补充API集成
These APIs complement SemRush and can be used as alternatives or for additional data points. They are not required if SemRush is available.
以下API可作为SemRush的补充或替代,用于获取更多数据点。如果SemRush可用,这些并非必需。
DataForSEO (Alternative/Complement to SemRush)
DataForSEO(SemRush的替代/补充)
If and are available, use DataForSEO for keyword search volume and related data. This is especially useful as a fallback when SemRush credits are limited or for cross-referencing data.
DATAFORSEO_LOGINDATAFORSEO_PASSWORDSearch Volume Endpoint:
bash
undefined如果存在和,可使用DataForSEO获取关键词搜索量及相关数据。当SemRush配额不足或需要交叉验证数据时,这是非常有用的备选方案。
DATAFORSEO_LOGINDATAFORSEO_PASSWORD搜索量端点:
bash
undefinedGet keyword search volume data from DataForSEO
从DataForSEO获取关键词搜索量数据
curl -s -X POST "https://api.dataforseo.com/v3/keywords_data/google_ads/search_volume/live"
-H "Authorization: Basic $(echo -n "${DATAFORSEO_LOGIN}:${DATAFORSEO_PASSWORD}" | base64)"
-H "Content-Type: application/json"
-d '[{"keywords": ["keyword1", "keyword2", "keyword3"], "location_code": 2840, "language_code": "en"}]'
-H "Authorization: Basic $(echo -n "${DATAFORSEO_LOGIN}:${DATAFORSEO_PASSWORD}" | base64)"
-H "Content-Type: application/json"
-d '[{"keywords": ["keyword1", "keyword2", "keyword3"], "location_code": 2840, "language_code": "en"}]'
**Parsing the response:**
```bashcurl -s -X POST "https://api.dataforseo.com/v3/keywords_data/google_ads/search_volume/live"
-H "Authorization: Basic $(echo -n "${DATAFORSEO_LOGIN}:${DATAFORSEO_PASSWORD}" | base64)"
-H "Content-Type: application/json"
-d '[{"keywords": ["keyword1", "keyword2", "keyword3"], "location_code": 2840, "language_code": "en"}]'
-H "Authorization: Basic $(echo -n "${DATAFORSEO_LOGIN}:${DATAFORSEO_PASSWORD}" | base64)"
-H "Content-Type: application/json"
-d '[{"keywords": ["keyword1", "keyword2", "keyword3"], "location_code": 2840, "language_code": "en"}]'
**响应解析:**
```bashExtract keyword metrics from DataForSEO response
从DataForSEO响应中提取关键词指标
curl -s -X POST "https://api.dataforseo.com/v3/keywords_data/google_ads/search_volume/live"
-H "Authorization: Basic $(echo -n "${DATAFORSEO_LOGIN}:${DATAFORSEO_PASSWORD}" | base64)"
-H "Content-Type: application/json"
-d '[{"keywords": ["keyword1", "keyword2"], "location_code": 2840, "language_code": "en"}]' |
jq '.tasks[0].result[] | { keyword: .keyword, search_volume: .search_volume, competition: .competition, competition_index: .competition_index, cpc: .cpc, monthly_searches: .monthly_searches }'
-H "Authorization: Basic $(echo -n "${DATAFORSEO_LOGIN}:${DATAFORSEO_PASSWORD}" | base64)"
-H "Content-Type: application/json"
-d '[{"keywords": ["keyword1", "keyword2"], "location_code": 2840, "language_code": "en"}]' |
jq '.tasks[0].result[] | { keyword: .keyword, search_volume: .search_volume, competition: .competition, competition_index: .competition_index, cpc: .cpc, monthly_searches: .monthly_searches }'
Key fields:
- **`search_volume`** - Average monthly search volume
- **`competition`** - Competition level: "LOW", "MEDIUM", or "HIGH"
- **`competition_index`** - Numeric competition score (0-100)
- **`cpc`** - Cost per click in USD
- **`monthly_searches`** - Array of 12 monthly volume data points (useful for identifying seasonal trends)
**Common location codes:**
- `2840` - United States
- `2826` - United Kingdom
- `2124` - Canada
- `2036` - Australia
- `2250` - France
- `2158` - Germany
**Keyword Suggestions Endpoint:**
```bashcurl -s -X POST "https://api.dataforseo.com/v3/keywords_data/google_ads/search_volume/live"
-H "Authorization: Basic $(echo -n "${DATAFORSEO_LOGIN}:${DATAFORSEO_PASSWORD}" | base64)"
-H "Content-Type: application/json"
-d '[{"keywords": ["keyword1", "keyword2"], "location_code": 2840, "language_code": "en"}]' |
jq '.tasks[0].result[] | { keyword: .keyword, search_volume: .search_volume, competition: .competition, competition_index: .competition_index, cpc: .cpc, monthly_searches: .monthly_searches }'
-H "Authorization: Basic $(echo -n "${DATAFORSEO_LOGIN}:${DATAFORSEO_PASSWORD}" | base64)"
-H "Content-Type: application/json"
-d '[{"keywords": ["keyword1", "keyword2"], "location_code": 2840, "language_code": "en"}]' |
jq '.tasks[0].result[] | { keyword: .keyword, search_volume: .search_volume, competition: .competition, competition_index: .competition_index, cpc: .cpc, monthly_searches: .monthly_searches }'
核心字段:
- **`search_volume`** - 平均月搜索量
- **`competition`** - 竞争水平:"LOW"、"MEDIUM"或"HIGH"
- **`competition_index`** - 数值化竞争分数(0-100)
- **`cpc`** - 单次点击成本(美元)
- **`monthly_searches`** - 12个月的搜索量数据数组(用于识别季节性趋势)
**常用地区代码:**
- `2840` - 美国
- `2826` - 英国
- `2124` - 加拿大
- `2036` - 澳大利亚
- `2250` - 法国
- `2158` - 德国
**关键词建议端点:**
```bashGet keyword suggestions (similar to SemRush phrase_related)
获取关键词建议(类似SemRush的phrase_related)
curl -s -X POST "https://api.dataforseo.com/v3/keywords_data/google_ads/keywords_for_keywords/live"
-H "Authorization: Basic $(echo -n "${DATAFORSEO_LOGIN}:${DATAFORSEO_PASSWORD}" | base64)"
-H "Content-Type: application/json"
-d '[{"keywords": ["seed keyword"], "location_code": 2840, "language_code": "en", "sort_by": "search_volume"}]'
-H "Authorization: Basic $(echo -n "${DATAFORSEO_LOGIN}:${DATAFORSEO_PASSWORD}" | base64)"
-H "Content-Type: application/json"
-d '[{"keywords": ["seed keyword"], "location_code": 2840, "language_code": "en", "sort_by": "search_volume"}]'
**When to use DataForSEO vs SemRush:**
- Use **SemRush** as the primary source for keyword difficulty, competitor analysis, and domain organic keywords
- Use **DataForSEO** for bulk search volume lookups (supports up to 700 keywords per request, more cost-effective for large batches)
- Use **DataForSEO** when you need Google Ads-aligned data (their data comes directly from Google Keyword Planner)
- Cross-reference both sources when search volume numbers differ significantlycurl -s -X POST "https://api.dataforseo.com/v3/keywords_data/google_ads/keywords_for_keywords/live"
-H "Authorization: Basic $(echo -n "${DATAFORSEO_LOGIN}:${DATAFORSEO_PASSWORD}" | base64)"
-H "Content-Type: application/json"
-d '[{"keywords": ["seed keyword"], "location_code": 2840, "language_code": "en", "sort_by": "search_volume"}]'
-H "Authorization: Basic $(echo -n "${DATAFORSEO_LOGIN}:${DATAFORSEO_PASSWORD}" | base64)"
-H "Content-Type: application/json"
-d '[{"keywords": ["seed keyword"], "location_code": 2840, "language_code": "en", "sort_by": "search_volume"}]'
**何时使用DataForSEO vs SemRush:**
- 使用**SemRush**作为关键词难度、竞争对手分析和域名自然排名关键词的主要数据源
- 使用**DataForSEO**进行批量搜索量查询(支持单次请求最多700个关键词,大规模批量查询更具成本效益)
- 使用**DataForSEO**获取与Google Ads对齐的数据(其数据直接来自Google关键词规划师)
- 当搜索量数据差异较大时,交叉验证两个来源的数据SerpAPI (People Also Ask & Related Searches)
SerpAPI(People Also Ask及相关搜索)
If is available, use SerpAPI to extract "People Also Ask" questions and related searches directly from Google SERPs. This data is not available from SemRush and is valuable for FAQ sections and content ideation.
SERPAPI_API_KEYSearch Endpoint:
bash
undefined如果存在,可使用SerpAPI直接从Google SERP提取“People Also Ask”疑问和相关搜索。这些数据无法从SemRush获取,对FAQ内容和内容创意非常有价值。
SERPAPI_API_KEY搜索端点:
bash
undefinedGet SERP data including People Also Ask and related searches
获取包含People Also Ask和相关搜索的SERP数据
**Parsing People Also Ask:**
```bash
**解析People Also Ask:**
```bashExtract People Also Ask questions
提取People Also Ask疑问
curl -s "https://serpapi.com/search.json?q={keyword}&api_key=${SERPAPI_API_KEY}&num=10" |
jq -r '.related_questions[] | { question: .question, snippet: .snippet, link: .link, title: .title }'
jq -r '.related_questions[] | { question: .question, snippet: .snippet, link: .link, title: .title }'
Key response sections:
- **`related_questions`** - Array of "People Also Ask" questions with snippets and source URLs
- **`related_searches`** - Array of related search queries that Google suggests
- **`organic_results`** - Top 10 organic results (useful for SERP analysis)
**Parsing Related Searches:**
```bashcurl -s "https://serpapi.com/search.json?q={keyword}&api_key=${SERPAPI_API_KEY}&num=10" |
jq -r '.related_questions[] | { question: .question, snippet: .snippet, link: .link, title: .title }'
jq -r '.related_questions[] | { question: .question, snippet: .snippet, link: .link, title: .title }'
响应核心部分:
- **`related_questions`** - “People Also Ask”疑问数组,包含摘要和来源URL
- **`related_searches`** - Google建议的相关搜索查询数组
- **`organic_results`** - 前10个自然排名结果(用于SERP分析)
**解析相关搜索:**
```bashExtract related searches for content ideation
提取相关搜索用于内容创意
curl -s "https://serpapi.com/search.json?q={keyword}&api_key=${SERPAPI_API_KEY}&num=10" |
jq -r '.related_searches[] | .query'
jq -r '.related_searches[] | .query'
**How to use SerpAPI data in keyword research:**
1. **FAQ content:** Use "People Also Ask" questions directly as H2/H3 headings in blog posts or as FAQ schema entries. These are questions Google already associates with the keyword.
2. **Content gap discovery:** If a PAA question has a weak snippet answer (short, vague, or from a low-authority site), that is an opportunity to write a better answer and win the featured snippet.
3. **Keyword expansion:** Related searches are Google's own suggestions for related topics. Add these to your keyword list and check their volume via SemRush or DataForSEO.
4. **Search intent validation:** The organic results show what content types Google ranks for this keyword. If all top 10 are blog posts, write a blog post. If they are product pages, a blog post will not rank.
5. **Cluster building:** Group PAA questions and related searches by subtopic to identify natural content clusters.
**Additional SerpAPI parameters:**
- `location=United+States` - Geo-target the search
- `gl=us` - Country code for Google domain
- `hl=en` - Interface language
- `device=desktop` or `device=mobile` - Desktop vs mobile SERPs (mobile may show different PAA questions)
**Note:** SerpAPI charges per search. Use it strategically for your highest-priority keywords rather than for bulk research. Pair it with SemRush for volume data and DataForSEO for bulk lookups.curl -s "https://serpapi.com/search.json?q={keyword}&api_key=${SERPAPI_API_KEY}&num=10" |
jq -r '.related_searches[] | .query'
jq -r '.related_searches[] | .query'
**如何在关键词研究中使用SerpAPI数据:**
1. **FAQ内容**:将“People Also Ask”疑问直接用作博客文章的H2/H3标题,或作为FAQ结构化数据。这些是Google已关联到该关键词的问题。
2. **内容缺口发现**:如果某个PAA疑问的摘要回答质量差(简短、模糊或来自低权威网站),这是撰写更好答案并赢得精选摘要的机会。
3. **关键词扩展**:相关搜索是Google官方建议的相关主题。将这些添加到关键词列表,并通过SemRush或DataForSEO检查其搜索量。
4. **搜索意图验证**:自然排名结果显示Google为该关键词排名的内容类型。如果前10名均为博客,则撰写博客;如果是产品页,博客则无法排名。
5. **集群构建**:将PAA疑问和相关搜索按子主题分组,识别自然的内容集群。
**SerpAPI附加参数:**
- `location=United+States` - 地理定位搜索
- `gl=us` - Google域名的国家代码
- `hl=en` - 界面语言
- `device=desktop`或`device=mobile` - 桌面端 vs 移动端SERP(移动端可能显示不同的PAA疑问)
**注意:** SerpAPI按搜索次数收费。战略性地用于最高优先级的关键词,而非批量研究。与SemRush配合获取搜索量数据,与DataForSEO配合进行批量查询。