# Xiaohongshu PGY note components

Get the components attached to a single note (content search / comment-area / bottom). Needs note id. Served by TikHub.

Purpose:
- Get the components attached to a single note (content search / comment-area / bottom)
- Mirrors the component tags under the title in the PGY note detail dialog
Request Body Parameters:
- note_id: Note ID, same sources as /get_note_comments
Not a duplicate of compClickData in get_note_detail:
- This endpoint returns component **configuration**: which component, search word,
  brand, blogger, button label, jump target
- compClickData returns component **click-rate tiers**: normal / high / very high
  (thresholds 0-2% / 2%-10% / 10%+)
Return:
- Three component slots under `data.data`, **null when the component is not attached**:
    - noteContent: content component. subType (e.g. NOTE_CONTENT_SEARCH) / searchWord /
      brandName / gameAppId
    - noteComment: comment-area component. componentInfo (subType / name / buttonName /
      content / jumpType, jumpUrl / type) + brandInfo + kolInfo
    - noteBottom: bottom component; empirically null for most notes
- Useful for seeing which conversion component a sponsored note carries and where it points
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-note-components`
- Name in the catalog: Xiaohongshu, Get PGY note components
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [Xiaohongshu posts](/tools/xiaohongshu/posts.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


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

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; daily upstream discounts may reduce provider cost. No discount invented for the customer. 10/second.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "note_id": {
      "type": "string",
      "title": "Note Id",
      "description": "笔记ID/Note ID"
    }
  },
  "required": [
    "note_id"
  ],
  "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_note_components_api_v1_xiaohongshu_pgy_get_note_components_post)

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

---

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