{"sourceKeyword": "coffee","country": "us","searchEngine": "Google","ideas": [...],"questions": [...]}
价格
Ahrefs 关键词建议 API 价格
试一试
一个请求获取 Ahrefs 关键词建议
这个示例展示了 17 个字段中的 16 个。查看全部字段
{
"found": true,
"data": {
"items": [
{
"sourceKeyword": "coffee",
"country": "us",
"searchEngine": "Google",
"ideas": [
{
"keyword": "coffee shops near me",
"difficulty": "E",
"volume": "A",
"updatedAt": "2026-09-14T00:00:00Z"
},
{
"keyword": "best coffee beans",
"difficulty": "M",
"volume": "B",
"updatedAt": "2026-09-14T00:00:00Z"
},
{
"keyword": "cold brew coffee recipe",
"difficulty": "E",
"volume": "C",
"updatedAt": "2026-09-10T00:00:00Z"
}
],
"questions": [
{
"keyword": "how much caffeine is in coffee",
"difficulty": "E",
"volume": "B",
"updatedUtc": 1757808000
},
{
"keyword": "is coffee good for you",
"difficulty": "M",
"volume": "C",
"updatedUtc": 1757462400
}
]
}
]
}
}完整的参数与响应参考:这个接口的每个字段、类型和示例。
参考
一个请求,一种响应结构。
你发送的每个字段和收到的每个字段,都附有真实示例。
最近验证于 2026-11-14 · 可用率和延迟按 30d 统计
请求体
JSON,POST 到这个接口。
- keywordstring
coffee
要扩展为相关建议的种子关键词(例如 "coffee")。
- countrystring
us
限定建议范围的两字母国家代码(例如 us、gb、de)。
响应
JSON,每个字段一个示例值。
Keyword-idea records: the seed keyword and its related keyword suggestions, each with an Ahrefs difficulty and search-volume bucket. Populated whenever the provider has data for the entity.
- countrystring
us
Two-letter country code the suggestions are scoped to.
- searchEnginestring
Google
Search engine the suggestions are drawn from (e.g. Google).
- sourceKeywordstring
coffee
The seed keyword the suggestions were expanded from. Populated whenever the provider has data for the entity.
Related keyword suggestions for the seed term. Populated whenever the provider has data for the entity.
- difficultystring
E
Relative Ahrefs difficulty bucket (a letter such as E, M, or H), not an exact number.
- keywordstring
coffee shops near me
The suggested related keyword. Populated whenever the provider has data for the entity.
- updatedAtstring
2026-09-14T00:00:00Z
Timestamp the suggestion metrics were last updated.
- volumestring
A
Relative search-volume bucket (a letter grade), not an exact number.
Question-shaped keyword suggestions for the seed term.
- difficultystring
E
Relative Ahrefs difficulty bucket (a letter such as E, M, or H), not an exact number.
- keywordstring
how much caffeine is in coffee
The suggested question keyword.
- updatedUtcnumber
1757808000
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- volumestring
B
Relative search-volume bucket (a letter grade), not an exact number.
- foundboolean
true
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
常见问题
关于 Ahrefs 关键词建议 API
AnyAPI 的 Ahrefs 关键词建议 API 只需一次 POST 请求 /v1/run/ahrefs.keyword_ideas,就以统一格式的 JSON 返回 Ahrefs 数据。为任意种子词获取相关关键词建议,每条附带 Ahrefs 难度和搜索量区间。无论哪个数据源提供服务,AnyAPI 都返回同一套统一的 schema。费用:每千次请求 US$5.01 起,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 Ahrefs 关键词建议 API 调用中有 99.7% 成功,响应时间中位数为 7.9 秒,共测量 324 次调用。