> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fetchhive.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 关键词难度

> 配置一个工作流步骤，为关键词在 Google 中获得排名的难度打 0 到 100 分

# 关键词难度

当你想知道一组关键词在 Google 中获得排名的难度时，使用 **Keyword Difficulty**。每个关键词会得到 0 到 100 的分数，分数越高越难。典型用途是把关键词列表从易到难排序，或在后续步骤中筛掉竞争过于激烈的关键词。

## 配置

| 选项 | 必填 | 说明 |
| - | - | - |
| Name | 否 | 工作流画布上的步骤标签。 |
| Keywords | 是 | 每行一个关键词，或用逗号分隔。最多 1000 个关键词，每个不超过 250 个字符。此字段支持通过 **Insert Variable** 使用工作流变量。 |
| Language | 否 | 结果的语言，例如英语。可从列表中选择或启用 **Custom Value**。 |
| Location | 否 | 评分所针对的国家或地区。可从列表中选择，或启用 **Custom Value** 并填写数字位置代码（例如美国为 `2840`）或解析为位置代码的变量。 |
| When the step fails | 否 | 控制此步骤失败时工作流应 **Terminate Workflow** 还是 **Continue**。 |

从 **Search steps...** 的 **Research** 分组中添加此步骤。

空行和重复的关键词会被忽略。

## 输出

点击步骤标题中的 **Run** 进行测试。运行完成后，Fetch Hive 会在 **Output** 中显示分数。

在后续步骤中使用变量选择器插入该次运行可用的精确输出路径。已评分关键词的列表为：

```text theme={null}
{{step_2.output.items}}
```

输出还包含 `items_count`，以及所使用的 `location_code` 和 `language_code`。`items` 中的每一项包括：

| 字段 | 含义 |
| - | - |
| `keyword` | 关键词。 |
| `keyword_difficulty` | 0 到 100 的分数，越高越难获得排名。当该关键词没有数据时为空。 |

要使用第一个关键词的分数：

```text theme={null}
{{step_2.output.items[0].keyword_difficulty}}
```

搜索意图不包含在此步骤中。要获取某个域名已有排名的关键词的搜索意图，请使用 [排名关键词](https://docs.fetchhive.com/zh/workflows/steps/web-research/ranked-keywords.md)。

## 示例

从 **Search steps...** 的 **Research** 分组中添加 **Keyword Difficulty**。

将 **Name** 设为类似 `关键词分数` 的名称。

在 **Keywords** 中输入关键词，每行一个或用逗号分隔。如果列表来自先前步骤，点击 **Insert Variable** 并添加该引用。

选择 **Language** 和 **Location**，然后点击 **Run**，在 **Output** 中查看分数，再在后续步骤中使用。

## 说明

* 单次运行最多可发送 1000 个关键词。每个关键词最多 250 个字符。
* 此步骤会返回所提交关键词的完整结果集，没有分页。
* 分数来自 Google 关键词数据，可能因位置和语言而不同。
* 托管运行会将记录的服务费用加上 6% 服务费转换为任务积分。请参阅 [任务费用](https://docs.fetchhive.com/zh/resources/task-costs.md)。

另请参阅：[排名关键词](https://docs.fetchhive.com/zh/workflows/steps/web-research/ranked-keywords.md)、[竞争域名](https://docs.fetchhive.com/zh/workflows/steps/web-research/competitor-domains.md)、[创建和编辑](https://docs.fetchhive.com/zh/workflows/creating-and-editing.md)、[测试与迭代](https://docs.fetchhive.com/zh/workflows/testing-and-iteration.md) 和 [错误处理](https://docs.fetchhive.com/zh/workflows/error-handling.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.