# 微信指数

微信指数：查看输入、关键词历史字段、分页与使用边界，并在本地运行模拟请求。

规范页面: https://datanavoapi.com/apis/wechat/index/keywords/history/

当前为本地模拟模式；样本由程序生成，不代表平台实时数据，也不证明真实供应商的可用性。

## 这条能力做什么

微信指数以 /v1/wechat/index/keywords/history 为入口；GET 返回 data.items，对象为关键词历史。

当前为本地模拟模式；样本由程序生成，不代表平台实时数据，也不证明真实供应商的可用性。

- 能力标识：wechat.index.keywords.history
- 分页：此能力没有游标分页，不应无限重复调用。

## 输入合同

按所选方法查看参数含义、示例和条件规则；view 与 fields 控制返回内容，不改变 TEST 单价。

- 只传本方法定义的参数；未知字段在执行前拒绝。

| 方法 | 字段 | 类型 | 要求 | 含义 | 枚举或边界 | 示例 |

| --- | --- | --- | --- | --- | --- | --- |

| GET | keyword | string | 必填 | One keyword | — | "咖啡" |

| GET | view | string | 可选/条件 | How much of each item: compact (the most used fields, long text cut short), standard, or full (adds `ext`). | ["compact","standard","full"] | — |

| GET | fields | array | 可选/条件 | Return only these fields of each item, by path (`author.name`). | maxItems: 64 | — |

## 在本地试一次

先使用 demo 验证字段，再用客户测试 Key 显式选择 simulated 演练结算。不要把客户 Key 写入网址。

```json
{
  "capability": "wechat.index.keywords.history",
  "method": "GET",
  "params": {
    "keyword": "咖啡"
  }
}
```

- [打开这条能力的调试台](https://datanavoapi.com/console/?mode=demo&capability=wechat.index.keywords.history&method=GET&params=%7B%22keyword%22%3A%22%E5%92%96%E5%95%A1%22%7D)

## 返回字段与解释

统一对象 keyword_history 允许空值；缺失字段不能替换成零。当前页展示主要结构，完整嵌套字段见对象文档。

| 字段 | 类型 | 含义 | 字段来源 |

| --- | --- | --- | --- |

| keyword | string \| null | The keyword | 微信搜一搜 |

| points | array \| null | The figures day by day, one entry a day, oldest first | 微信搜一搜 |

| points[].date | string \| null | The day: a calendar day in China time (UTC+8), written as midnight UTC of its date (8 a.m. that day in China); passed back as since or until it asks for that same day | 微信搜一搜 |

| points[].search_index | integer \| null | Search index of the day: the platform's index of how much the keyword was searched, not a count of searches | 微信搜一搜 |

| points[].composite_index | integer \| null | Composite index of the day: the platform's index of how much attention content about the keyword drew, not a count | 微信搜一搜 |

| points[].notes | integer \| null | Posts about the keyword that day (standard view and up) | 微信搜一搜 |

| points[].impressions | integer \| null | Times those posts were shown that day (standard view and up) | 微信搜一搜 |

| points[].views | integer \| null | Times those posts were read that day (standard view and up) | 微信搜一搜 |

| points[].engagements | integer \| null | Engagements with those posts that day (standard view and up) | 微信搜一搜 |

| approximate | array \| null | Which numbers of this item are approximate or lower bounds; absent when all are exact | 微信搜一搜 |

| approximate[].field | string \| null | Path of the field, such as metrics.views | 微信搜一搜 |

| approximate[].kind | string \| null | Approximate, or a lower bound | 微信搜一搜 |

| ext | object | — | 微信搜一搜 |

- [完整对象字段](https://datanavoapi.com/docs/objects/keyword_history/)

## 明确缺失的字段

以下缺失原因来自公开合同，用于解释本接口边界；本地样本不证明真实平台可用。

| 字段 | 缺失原因 |

| --- | --- |

| points.search_index | platform |

| points.notes | platform |

| points.impressions | platform |

| points.views | platform |

| points.engagements | platform |

## 边界与核对

接口成功不等于覆盖全部公开内容。保留请求编号、采样时间、参数和分页位置，先核对返回条目，再进行分析。

本地模拟只使用 TEST 积分；真实 API、正式支付和外部邮件均关闭。原站历史价格不作为DataNavoAPI收费标准。

- 媒体地址、计数和显示字段的可用性应逐项核验。

## 相关页面

- [微信搜一搜接口](https://datanavoapi.com/apis/wechat/)
- [微信搜一搜 MCP](https://datanavoapi.com/mcp/wechat/)
- [关键词历史字段](https://datanavoapi.com/docs/objects/keyword_history/)
- [如何读取微信指数的关键词走势？](https://datanavoapi.com/answers/wechat-index-keyword-trends/)
- [每周关键词采样怎样保持可复核？](https://datanavoapi.com/answers/wechat-weekly-keyword-collection/)

[English](https://datanavoapi.com/en/apis/wechat/index/keywords/history/)
