# Xiaohongshu PGY note featured comments

Get the featured comments of a single note, including the blogger's own replies. Needs note id. Served by TikHub.

Purpose:
- Get the featured comments of a single note, including the blogger's own replies
- Mirrors the "精选评论" (Featured Comments) block in the PGY note detail dialog
Request Body Parameters:
- note_id: Note ID, e.g. "6a85646a0000000006005aea"
  (from /get_blogger_notes list[].noteId, /get_blogger_notes_v2
  noteList[].noteInfo.noteId, or /get_content_square results)
No paging:
- Upstream always returns **5 items** and does not support paging, so this endpoint
  exposes no paging parameters
- Verified: pageIndex 0/1/2/5/20 and pageSize 5/10/20/50/100 all return the very same
  batch (identical comment.idStr) — it is a fixed "top 5 featured", not a comment feed
Return:
- `data.data` is an **array** (not an object); each item is one comment thread:
    - comment: top-level comment. content / createTime / likeCount /
      subCommentCount / idStr / userIdStr
    - l1L2Comments[]: replies under it — **the blogger's replies live here**;
      same fields as comment, targetCommentId points at the parent
    - userMap: {userIdStr: {userNickName, imageUrl, gender}}
- ⚠️ **Join userMap for nicknames/avatars** — comment and l1L2Comments[] carry only userIdStr
- ⚠️ id / noteId / userId exceed JS safe integers; always use idStr / noteIdStr / userIdStr
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-comments`
- Name in the catalog: Xiaohongshu, Get PGY note featured comments
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [Xiaohongshu comments](/tools/xiaohongshu/comments.md)
- Price: $0.01 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.01
}
```

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.01; 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": {
    "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_comments_api_v1_xiaohongshu_pgy_get_note_comments_post)

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

---

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