Docs
搜索文档...⌘K

竞争对手指标

API + MCP
GET/v3/rank-tracker/competitors-stats

对此端点的请求免费,不会消耗任何 API 单位。

查询参数

selectstring必填

要返回的列的逗号分隔列表。有效的列标识符请参见响应 Schema。

datestring必填

用于报告指标的日期,格式为 YYYY-MM-DD。

devicestring必填

在移动端和桌面端排名之间选择。

允许的值:desktopmobile
project_idinteger必填

项目的唯一标识符。您可以在 Ahrefs 中 Rank Tracker 项目的 URL 里找到它:https://app.ahrefs.com/rank-tracker/overview/#project_id#

volume_modestring

搜索量计算模式:按月或按平均值。它会影响搜索量、流量和流量价值。

允许的值:monthlyaverage
默认:monthly
outputstring

输出格式。

允许的值:jsoncsvxmlphp

响应

competitors-metricsarray<object>
ai_overview_countinteger

目标在 AI Overview 中排名的追踪关键词总数。

average_positionnumber or null

在所有追踪关键词中目标对象的最高自然排名的平均值。

competitorstring

竞争对手的 URL。

discussions_countinteger

目标在“讨论”和论坛中排名的追踪关键词总数。

featured_snippet_countinteger

目标在精选摘要中排名的追踪关键词总数。

image_pack_countinteger

目标在图片包中排名的追踪关键词总数。

knowledge_card_countinteger

目标在知识卡片中排名的追踪关键词总数。

knowledge_panel_countinteger

目标在知识面板中排名的追踪关键词总数。

pos_11_20integer

目标网站的最高自然排名在第 11 至 20 位之间的追踪关键词总数。

pos_1_3integer

目标网站最高自然排名位于前 3 名的追踪关键词总数。

pos_21_50integer

目标网站最高自然排名在第 21 至 50 位之间的追踪关键词总数。

pos_4_10integer

目标网站最高自然排名在第 4 至 10 位之间的追踪关键词总数。

pos_51_plusinteger

目标网站最高自然排名在第 51 位及以后的追踪关键词总数。

pos_no_rankinteger

目标网站未获得排名的追踪关键词总数。

share_of_traffic_valuenumber

在所有追踪关键词中,目标对象的自然搜索流量价值占总自然搜索流量价值的份额。

share_of_voicenumber

在所有追踪关键词中,目标对象的自然搜索流量占总自然搜索流量的份额。

sitelinks_countinteger

目标网站在站点链接中获得排名的追踪关键词总数。

thumbnail_countinteger

目标网站在“缩略图”中获得排名的追踪关键词总数。

top_stories_countinteger

目标网站在“热门新闻”中获得排名的追踪关键词总数。

trafficinteger or null

通过所有追踪的关键词,目标网站从自然搜索中获得的月度预估访问量。

traffic_valueinteger or null

通过所有追踪的关键词,为目标网站带来的月度自然搜索流量预估值。

video_preview_countinteger

目标网站在“视频预览”中获得排名的追踪关键词总数。

videos_countinteger

目标网站在“视频”中获得排名的追踪关键词总数。

x_countinteger

目标网站在 X(Twitter)小组件中获得排名的追踪关键词总数。