# Xiaohongshu PGY related keywords

What users search before and after this keyword ("Related Inspiration" card). Needs search word. Served by TikHub.

Purpose:
- What users search **before** and **after** this keyword ("Related Inspiration" card)
- Typical use: expand one seed keyword into a candidate list, then compare each with
  `/get_keyword_stat` to find low-competition but decent-volume terms
Request Body Parameters:
- search_word: keyword, e.g. "面膜"
Return:
- `upSearchWords[]` (upstream terms) and `downSearchWords[]` (downstream terms)
- Each term carries `searchScore`, `readTotalCount`, `noteNum`, `relevanceRank`, `brandTag`

Response shape (two layers):
- `resp["data"]` is PGY's raw envelope (with `code`/`msg`/`success`); the payload is one level deeper
- Correct access: `data = resp["data"]["data"]` — every field listed under "Return" lives here

- Tool ID: `tikhub/xiaohongshu-pgy-get-keyword-related`
- Name in the catalog: Xiaohongshu, PGY related keywords
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [Xiaohongshu posts](/tools/xiaohongshu/posts.md)
- Price: $0.02 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.02
}
```

Pricing source: [https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info](https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info). Official per-success route price USD 0.02; daily upstream discounts may reduce provider cost. No discount invented for the customer. 10/second.

Price verification date: 2026-10-05.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "search_word": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "title": "Search Word",
      "description": "关键词，如 面膜/Keyword"
    }
  },
  "required": [
    "search_word"
  ],
  "additionalProperties": false
}
```

## Published example

No example input is published for this tool. Ask for the inputs required by its schema.

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://api.tikhub.io/#/Xiaohongshu-PGY-API/get_keyword_related_api_v1_xiaohongshu_pgy_get_keyword_related_post)

[REST inspection](https://api.agentik.cc/v1/tools/tikhub/xiaohongshu-pgy-get-keyword-related) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tikhub/xiaohongshu-pgy-get-keyword-related) · [Agent index](/llms.txt)
