# Xiaohongshu PGY keyword search index

Xiaohongshu PGY keyword search index: inspect inputs, keyword history fields, pagination and limits, then run a local simulated request.

Canonical page: https://datanavoapi.com/en/apis/xiaohongshu/pgy/keywords/history/

This is a local simulation. Program-generated samples are not live platform data and do not establish provider availability.

## What this capability does

Xiaohongshu PGY keyword search index uses /v1/xiaohongshu/pgy/keywords/history; GET returns data.item with keyword history objects.

This is a local simulation. Program-generated samples are not live platform data and do not establish provider availability.

- Capability: xiaohongshu.pgy.keywords.history
- Pagination: no cursor pagination; do not repeatedly request another page.

## Input contract

Inspect meanings, examples and conditional rules for the selected method. view and fields control the response without changing the TEST unit price.

- Only send fields defined for this method; unknown fields are rejected before execution.

| Method | Field | Type | Requirement | Meaning | Enum or bound | Example |

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

| GET | keyword | string | Required | One keyword | — | "面膜" |

| GET | view | string | Optional / conditional | 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 | Optional / conditional | Return only these fields of each item, by path (`author.name`). | maxItems: 64 | — |

## Try it locally

Use demo to inspect the fields, then explicitly select simulated with a customer test key to exercise settlement. Never put a customer key in a URL.

```json
{
  "capability": "xiaohongshu.pgy.keywords.history",
  "method": "GET",
  "params": {
    "keyword": "面膜"
  }
}
```

- [Open this capability in the console](https://datanavoapi.com/console/?mode=demo&capability=xiaohongshu.pgy.keywords.history&method=GET&params=%7B%22keyword%22%3A%22%E9%9D%A2%E8%86%9C%22%7D)

## Output fields and interpretation

The keyword_history object permits missing or null values; do not replace missing measurements with zero. This table shows the main structure; the object reference covers nested fields.

| Field | Type | Meaning | Source scope |

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

| keyword | string \| null | The keyword | Xiaohongshu (RedNote) |

| points | array \| null | The figures day by day, one entry a day, oldest first | Xiaohongshu (RedNote) |

| 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 | Xiaohongshu (RedNote) |

| 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 | Xiaohongshu (RedNote) |

| 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 | Xiaohongshu (RedNote) |

| points[].notes | integer \| null | Posts about the keyword that day (standard view and up) | Xiaohongshu (RedNote) |

| points[].impressions | integer \| null | Times those posts were shown that day (standard view and up) | Xiaohongshu (RedNote) |

| points[].views | integer \| null | Times those posts were read that day (standard view and up) | Xiaohongshu (RedNote) |

| points[].engagements | integer \| null | Engagements with those posts that day (standard view and up) | Xiaohongshu (RedNote) |

| approximate | array \| null | Which numbers of this item are approximate or lower bounds; absent when all are exact | Xiaohongshu (RedNote) |

| approximate[].field | string \| null | Path of the field, such as metrics.views | Xiaohongshu (RedNote) |

| approximate[].kind | string \| null | Approximate, or a lower bound | Xiaohongshu (RedNote) |

| ext | object | — | Xiaohongshu (RedNote) |

- [Complete object reference](https://datanavoapi.com/en/docs/objects/keyword_history/)

## Unavailable fields

These published contract notes describe the capability boundary; fixtures do not establish live availability.

| Field | Reason |

| --- | --- |

| points.composite_index | platform |

## Limits and checks

A successful request does not establish full coverage. Preserve the request ID, observation time, parameters and cursor, and inspect the returned items before analysis.

Local simulation uses TEST credits only. Real provider calls, real payments and external email are disabled. Historical reference-site prices are not DataNavoAPI prices.

- Verify media URLs, counts and optional fields individually.

## Related pages

- [Xiaohongshu (RedNote) APIs](https://datanavoapi.com/en/apis/xiaohongshu/)
- [Xiaohongshu (RedNote) MCP](https://datanavoapi.com/en/mcp/xiaohongshu/)
- [Keyword history fields](https://datanavoapi.com/en/docs/objects/keyword_history/)
- [Can I directly compare Douyin and RedNote keyword indices?](https://datanavoapi.com/en/answers/douyin-xiaohongshu-keyword-heat/)
- [How can I look up the Xiaohongshu keyword search index?](https://datanavoapi.com/en/answers/xiaohongshu-keyword-search-index/)
- [Compare RedNote keyword histories and related terms](https://datanavoapi.com/en/guides/xiaohongshu-pgy-keywords/)

[中文](https://datanavoapi.com/apis/xiaohongshu/pgy/keywords/history/)
