# How can I look up the Xiaohongshu keyword search index?

How can I look up the Xiaohongshu keyword search index? Follow concrete contracts, examples and reviewable steps using Xiaohongshu (RedNote).

Canonical page: https://datanavoapi.com/en/answers/xiaohongshu-keyword-search-index/

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

## Answer

Start by inspecting the contracts and local samples for Xiaohongshu PGY keyword search index, Xiaohongshu PGY related keywords. Establish the input for xiaohongshu.pgy.keywords.history, then check whether its keyword_history object contains the fields your task needs.

Document the input scope, sampling rule and intended use, and preserve request IDs and missing-field markers. An API supplies the contracted sample; interpretation still requires checks of context and representativeness.

## Relevant contracts

| Capability | Object | Shape | Pagination |

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

| xiaohongshu.pgy.keywords.history | Keyword history | item | No cursor |

| xiaohongshu.pgy.keywords.related | Related keyword | items | No cursor |

- [Xiaohongshu PGY keyword search index](https://datanavoapi.com/en/apis/xiaohongshu/pgy/keywords/history/)
- [Xiaohongshu PGY related keywords](https://datanavoapi.com/en/apis/xiaohongshu/pgy/keywords/related/)

## 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 | — |

## Complete one verification

Run one local fixture for a listed capability and inspect the object structure. Then filter, classify or export according to the question. A local sample cannot replace evidence for a real-platform conclusion.

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

## Related pages

- [Xiaohongshu PGY keyword search index](https://datanavoapi.com/en/apis/xiaohongshu/pgy/keywords/history/)
- [Xiaohongshu PGY related keywords](https://datanavoapi.com/en/apis/xiaohongshu/pgy/keywords/related/)
- [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/)
- [Compare RedNote keyword histories and related terms](https://datanavoapi.com/en/guides/xiaohongshu-pgy-keywords/)
- [Can I directly compare Douyin and RedNote keyword indices?](https://datanavoapi.com/en/answers/douyin-xiaohongshu-keyword-heat/)

[中文](https://datanavoapi.com/answers/xiaohongshu-keyword-search-index/)
