Loading...
Loading...
Compare original and translation side by side
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.globalSEMRUSH_API_KEY~/.claude/.env.global此Skill需要SemRush API密钥。可通过以下方式设置:
export SEMRUSH_API_KEY=your_key_here
或添加至~/.claude/.env.global文件curlhttps://api.semrush.com/curlhttps://api.semrush.com/https://api.semrush.com/?type=phrase_all&key={KEY}&phrase={keyword}&database={db}&export_columns=Ph,Nq,Cp,Co,Nr,Tdhttps://api.semrush.com/?type=phrase_related&key={KEY}&phrase={keyword}&database={db}&export_columns=Ph,Nq,Cp,Co,Nr,Td&display_limit=50https://api.semrush.com/?type=phrase_questions&key={KEY}&phrase={keyword}&database={db}&export_columns=Ph,Nq,Cp,Co,Nr,Td&display_limit=50https://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=100https://api.semrush.com/?type=phrase_kdi&key={KEY}&phrase={keyword}&database={db}&export_columns=Ph,Kdhttps://api.semrush.com/?type=phrase_all&key={KEY}&phrase={keyword}&database={db}&export_columns=Ph,Nq,Cp,Co,Nr,Tdhttps://api.semrush.com/?type=phrase_related&key={KEY}&phrase={keyword}&database={db}&export_columns=Ph,Nq,Cp,Co,Nr,Td&display_limit=50https://api.semrush.com/?type=phrase_questions&key={KEY}&phrase={keyword}&database={db}&export_columns=Ph,Nq,Cp,Co,Nr,Td&display_limit=50https://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=100https://api.semrush.com/?type=phrase_kdi&key={KEY}&phrase={keyword}&database={db}&export_columns=Ph,Kdusukcaaudefresitbrinjpususukcaaudefresitbrinjpusdomain_organicphrase_relatedphrase_questionsdomain_organicphrase_relatedphrase_questions| 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 |
| 指标 | 来源 | 指标含义 |
|---|---|---|
| 搜索量(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 | 总竞争页面数 |
| 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 |
| 意图 | 识别信号 | 示例 | 内容类型 |
|---|---|---|---|
| 信息类 | 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" | 落地页、产品页 |
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: ...支柱页面:[宽泛主题关键词 - 高搜索量、高难度]
|
+-- 集群1:[细分主题关键词组]
| +-- 支撑关键词1
| +-- 支撑关键词2
| +-- 疑问类关键词1
|
+-- 集群2:[细分主题关键词组]
| +-- 支撑关键词1
| +-- 支撑关键词2
|
+-- 集群3:...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)KOB分数 = (搜索量 * CTR估算值 * 商业价值) / 关键词难度
其中:
- CTR估算值:排名第1=0.30,第2=0.15,第3=0.10(默认使用0.15)
- 商业价值:3=直接收益关键词,2=考虑阶段关键词,1=认知阶段关键词
- 关键词难度:从SemRush获取的1-100分(使用max(KD,1)避免除以零)domain_organicdomain_organicundefinedundefined| # | Keyword | Volume | KD | CPC | Intent | KOB Score |
|---|---|---|---|---|---|---|
| 1 | {keyword} | {vol} | {kd} | ${cpc} | {intent} | {kob} |
| ... | ... | ... | ... | ... | ... | ... |
| # | 关键词 | 搜索量 | 难度 | CPC | 意图 | KOB分数 |
|---|---|---|---|---|---|---|
| 1 | {keyword} | {vol} | {kd} | ${cpc} | {intent} | {kob} |
| ... | ... | ... | ... | ... | ... | ... |
| Cluster | Head Keyword | Volume | KD | Supporting Keywords |
|---|---|---|---|---|
| {name} | {keyword} | {vol} | {kd} | kw1, kw2, kw3 |
| 集群 | 头部关键词 | 搜索量 | 难度 | 支撑关键词 |
|---|---|---|---|---|
| {name} | {keyword} | {vol} | {kd} | kw1, kw2, kw3 |
| Priority | Keyword | Intent | Content Type | Est. Monthly Traffic |
|---|---|---|---|---|
| 1 | {keyword} | {intent} | {type} | {vol * 0.15} |
| ... | ... | ... | ... | ... |
| 优先级 | 关键词 | 意图 | 内容类型 | 预估月流量 |
|---|---|---|---|---|
| 1 | {keyword} | {intent} | {type} | {vol * 0.15} |
| ... | ... | ... | ... | ... |
| Question | Volume | KD | Suggested Content |
|---|---|---|---|
| {question} | {vol} | {kd} | {content type} |
| 问题 | 搜索量 | 难度 | 建议内容类型 |
|---|---|---|---|
| {question} | {vol} | {kd} | {content type} |
| Keyword | Volume | KD | Competitor Ranking | Opportunity |
|---|---|---|---|---|
| {keyword} | {vol} | {kd} | {competitor}: #{pos} | {content type} |
| 关键词 | 搜索量 | 难度 | 竞争对手排名 | 机会类型 |
|---|---|---|---|---|
| {keyword} | {vol} | {kd} | {competitor}: #{pos} | {content type} |
undefinedundefinedDATAFORSEO_LOGINDATAFORSEO_PASSWORDundefinedDATAFORSEO_LOGINDATAFORSEO_PASSWORDundefined
**Parsing the response:**
```bash
**响应解析:**
```bash
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:**
```bash
核心字段:
- **`search_volume`** - 平均月搜索量
- **`competition`** - 竞争水平:"LOW"、"MEDIUM"或"HIGH"
- **`competition_index`** - 数值化竞争分数(0-100)
- **`cpc`** - 单次点击成本(美元)
- **`monthly_searches`** - 12个月的搜索量数据数组(用于识别季节性趋势)
**常用地区代码:**
- `2840` - 美国
- `2826` - 英国
- `2124` - 加拿大
- `2036` - 澳大利亚
- `2250` - 法国
- `2158` - 德国
**关键词建议端点:**
```bash
**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 significantly
**何时使用DataForSEO vs SemRush:**
- 使用**SemRush**作为关键词难度、竞争对手分析和域名自然排名关键词的主要数据源
- 使用**DataForSEO**进行批量搜索量查询(支持单次请求最多700个关键词,大规模批量查询更具成本效益)
- 使用**DataForSEO**获取与Google Ads对齐的数据(其数据直接来自Google关键词规划师)
- 当搜索量数据差异较大时,交叉验证两个来源的数据SERPAPI_API_KEYundefinedSERPAPI_API_KEYundefined
**Parsing People Also Ask:**
```bash
**解析People Also Ask:**
```bash
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:**
```bash
响应核心部分:
- **`related_questions`** - “People Also Ask”疑问数组,包含摘要和来源URL
- **`related_searches`** - Google建议的相关搜索查询数组
- **`organic_results`** - 前10个自然排名结果(用于SERP分析)
**解析相关搜索:**
```bash
**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.
**如何在关键词研究中使用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配合进行批量查询。