指标历史
API + MCPGET/v3/site-explorer/metrics-history
查询参数
selectstring
要返回的列(逗号分隔)。有效的列标识符请参见响应 Schema。
默认:date,org_cost,org_traffic,paid_cost,paid_traffic
modestring
目标对象的范围。
允许的值:exactprefixdomainsubdomains
默认:subdomains
targetstring (url)必填
搜索目标:域名或 URL。
protocolstring
目标的协议。
允许的值:bothhttphttps
默认:both
countrystring
由两个字母组成的国家/地区代码(ISO 3166-1 alpha-2)。
允许的值:adaeafagaialamaoarasatauawazba…
date_fromstring (date)必填
历史时间段的开始日期,格式为 YYYY-MM-DD。
date_tostring (date)
历史时间段的结束日期,格式为 YYYY-MM-DD。
history_groupingstring
用于对历史数据进行分组的时间间隔。
允许的值:dailyweeklymonthly
默认:monthly
volume_modestring
搜索量计算模式:月度或平均值。它会影响搜索量、流量和流量价值。
允许的值:monthlyaverage
默认:monthly
traffic_modestring
自然搜索流量的计算模式:静态或自适应。该模式会影响自然搜索流量和流量价值。
允许的值:staticadaptive
默认:static
outputstring
输出格式。
允许的值:jsoncsvxmlphp
响应
metricsarray<object>
datestring (date)
org_costinteger
(10单位)目标每月自然搜索流量的预估成本,以美元美分计。
org_trafficinteger
(10单位)目标从自然搜索中获得的预估月访问量。
paid_costinteger
(10单位)目标每月付费搜索流量的预估成本,以美元美分计。
paid_trafficinteger
(10单位)目标通过付费搜索获得的预估月访问量。
errorstring
errorstring
errorstring
errorstring
errorstring