Docs
搜索文档...⌘K

概览历史 - 提及次数

API + MCP
POST/v3/brand-radar/mentions-history

Requests to this endpoint consume API units based on the prompts parameter: requests returning only custom prompt data are free, while requests including Ahrefs prompt data follow standard API unit pricing.

Every entity provided in brands (and competitors, when applicable) must include at least one value in names. Entities consisting only of url_groups are not supported here because mentions are matched against brand names.

请求正文

whereobject

筛选表达式。支持以下列标识符(注意:这与 select 参数支持的标识符不同)。

report_idstring

要使用的报告 ID。如果提供该值,其他参数将从报告中获取(国家/地区、筛选条件)。如果另外提供了国家/地区或筛选条件,它们将覆盖报告中的设置。你可以在 Ahrefs 的 Brand Radar 报告 URL 中找到它:https://app.ahrefs.com/brand-radar/reports/#report_id#/...

brandsarray<object>

要搜索的品牌名称和网站列表。

Default:[]
At least one of names or url_groups is required
namesarray<string>

品牌/竞争对手的名称

Example:["ahrefs","ahrefs seo"]
url_groupsarray<object>
targetstring (domain)required

目标对象的域名

Example:ahrefs.com
scopestringrequired

目标对象的范围。

允许的值:urlpathdomainsubdomains
data_sourcearray<string>Required

聊天机器人模型列表。所有模型都可相互组合。claude 模块仅支持自定义提示词。
google_ai_overviews_keywordsgoogle_ai_mode_keywords 模型报告的是基于 Google 搜索查询(关键词)而非提示词得出的 AI Overview / AI Mode 可见性。

允许的值:chatgptgoogle_ai_overviewsgoogle_ai_modegeminiperplexitycopilotclaudegrokgoogle_ai_overviews_keywordsgoogle_ai_mode_keywords
countryarray<string>

两位字母国家/地区代码列表(ISO 3166-1 alpha-2)。

允许的值:adaeafagaialamaoarasatauawazba
Default:[]
promptsstring

要使用的提示词类型。如果未指定,将同时使用两者。自定义提示词需要提供 report_id。

允许的值:ahrefscustom
date_fromstring (date)Required

历史时间段的开始日期,格式为 YYYY-MM-DD。

date_tostring (date)

历史时间段的结束日期,格式为 YYYY-MM-DD。

search_volume_typestring

AI 可见性报告正在切换为使用 AI 调整后的搜索量。它能更好地估算不同聊天机器人与 AI 搜索平台上的 AI 响应需求。其计算方法是:将 Google 搜索量按各 AI 平台相对于 Google 的预估使用量进行调整。此参数将于 2026 年 9 月 30 日弃用;届时所有请求都将使用新的 AI 调整后的搜索量。

允许的值:ask_volumekeyword_volume
Default:ask_volume
tags_filterobject

用于筛选提示词标签的表达式。必须提供 report_id。使用 筛选语法,但须遵守以下限制:唯一有效的字段名是 "tag";有效运算符仅包括:"eq""neq""substring""isubstring""phrase_match""iphrase_match""prefix""suffix""empty"andor 的最大嵌套深度为 2。

Example:{"or":[{"field":"tag","is":["eq","branded"]},{"field":"tag","is":["eq","competitor"]}]}
outputstring

输出格式。

允许的值:jsoncsvxmlphp

响应

metricsarray<object>
datestring (date)
mentionsinteger

基于提及该品牌的响应所估算的提及次数。