/v1/call/xiaohongshu.kol_note_metricsXiaohongshu (RedNote) Pugongying note metrics API
Only on Xiaohongshu.
Get the figures PGY shows a brand for one Xiaohongshu note, by note ID. A call to the Xiaohongshu (RedNote) Pugongying note metrics API costs 24 credits ($0.048 to $0.08 depending on the pack); failed calls are free. Call it over HTTP or from your AI client over MCP.
Last updated:
What you get from the Xiaohongshu (RedNote) Pugongying note metrics API.
From a recorded answer.
A recorded call returned the object below, field by field. Names and text are removed from the sample; the numbers are as recorded.
| Field | In the recorded answer |
|---|---|
| title | removed from the sample |
| url | removed from the sample |
| rank | null |
| heat | null |
| fields.format | image |
| fields.text | removed from the sample |
| fields.published_at | 2026-11-06T08:58:31.000Z |
| fields.images | 2 entries |
| fields.creator_id | removed from the sample |
| fields.creator_name | removed from the sample |
| fields.brand | removed from the sample |
| fields.brand_id | removed from the sample |
| fields.impressions | 24,405 |
| fields.views | 4,482 |
| fields.likes | 203 |
| fields.collects | 171 |
| fields.comments | 46 |
| fields.shares | 36 |
| fields.follows | 22 |
| fields.component_clicks.comment_area | normal |
24 credits a call (≈ $0.048–$0.08): about 125 calls for $10.
Xiaohongshu (RedNote) Pugongying note metrics API: request and response
curl https://socialtoai.app/v1/call/xiaohongshu.kol_note_metrics \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "id": "6a20edfa0000000021020951" }'import osimport uuidimport requestsresponse = requests.post( "https://socialtoai.app/v1/call/xiaohongshu.kol_note_metrics", headers={ "Authorization": f"Bearer {os.environ['SOCIALTOAI_API_KEY']}", # A new key for each request; the same one again retries it without paying twice. "Idempotency-Key": str(uuid.uuid4()), }, json={ "id": "6a20edfa0000000021020951", },)print(response.json())# Connected over MCP? Ask in plain words.Use the Xiaohongshu PGY note metrics interface (xiaohongshu.kol_note_metrics) with id: 6a20edfa0000000021020951.# Your AI calls the call tool with:{ "id": "6a20edfa0000000021020951"}{ "op": "xiaohongshu.kol_note_metrics", "platform": "xiaohongshu", "status": "ok", "items": [ { "platform": "xiaohongshu", "id": "…", "ref": "…", "approx": [], "extra": {}, "type": "entry", "entry_type": "pgy_note", "title": "…", "url": "https://example.com/…", "rank": null, "heat": null, "fields": { "format": "image", "text": "…", "published_at": "2026-11-06T08:58:31.000Z", "images": ["https://example.com/…", "https://example.com/…"], "creator_id": "…", "creator_name": "…", "brand": "…", "brand_id": "…", "impressions": 24405, "views": 4482, "likes": 203, "collects": 171, "comments": 46, "shares": 36, "follows": 22, "component_clicks": { "comment_area": "normal", "content": null, "note_bottom": null } } } ], "unavailable": [], "cost_credits": 24}- entry_type
- pgy_note
- format
- image
- text
- …
- published_at
- 2026-11-06T08:58:31.000Z
- creator_id
- …
- creator_name
- …
- brand
- …
Names and text were removed from the sample; the numbers are as recorded.
Xiaohongshu (RedNote) Pugongying note metrics API parameters.
1 parameter, all required.
Send them as a JSON body with POST. Your key goes in the Authorization header, never in the URL.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string | Required | — | Note ID, 24 hexadecimal characters: the part after explore/ in a Xiaohongshu note link, or an id the PGY creator notes endpoint returns |
Where to get what you send.
idNote ID, 24 hexadecimal characters: the part after explore/ in a Xiaohongshu note link, or an id the PGY creator notes endpoint returns (e.g. 6a20edfa0000000021020951)
Every item these return carries its ref; send it as it is:
searchXiaohongshu (RedNote) Search APIuser_postsXiaohongshu (RedNote) User Posts APItopic_notesXiaohongshu (RedNote) topic notes APIsearch · type=imageXiaohongshu (RedNote) Search APIkol_trending_notesXiaohongshu (RedNote) Pugongying trending notes API
Xiaohongshu (RedNote) Pugongying note metrics API response fields.
What Xiaohongshu cannot give is marked.
| Field | Type | Meaning |
|---|---|---|
| items[].extra | object | What the platform gives of this item beyond the fields below, under the platform's own names (an IP location, a uid, a showcase flag); the interface's extra_fields says what each is. Empty when there is nothing more. Of a comment or a review, never who wrote it. |
| items[].title | string | The entry's title or name. |
| items[].url | string | A link that opens it; null where the platform's list has none. |
| items[].rank | integer | Position on a board, from 1. |
| items[].heat | integer | The platform's heat score. |
| items[].fields.format | string | image for an image note, video for a video note. |
| items[].fields.text | string | The note's text. |
| items[].fields.published_at | string | When it was published. |
| items[].fields.images | string[] | Addresses of its pictures, in order. |
| items[].fields.creator_id | string | The creator's marketplace ID, as the other creator calls take it. |
| items[].fields.creator_name | string | The creator's name. |
| items[].fields.brand | string | The brand it was reported as sponsored by; null when it is no reported sponsored note. |
| items[].fields.brand_id | string | The platform account ID of that brand; null when there is none. |
| items[].fields.impressions | integer | Impressions. |
| items[].fields.views | integer | Reads. |
| items[].fields.likes | integer | Likes. |
| items[].fields.collects | integer | Saves. |
| items[].fields.comments | integer | Comments. |
| items[].fields.shares | integer | Shares. |
| items[].fields.follows | integer | Followers the note brought its creator. |
| items[].fields.component_clicks.comment_area | string | Click band of the brand's comment-area component: normal (0–2%), high (2–10%) or very_high; null when the note has none. |
| items[].fields.component_clicks.content | string | Click band of the in-text component; null when the note has none. |
| items[].fields.component_clicks.note_bottom | string | Click band of the component at the bottom of the note; null when the note has none. |
nullFields Xiaohongshu cannot giveXiaohongshu gives every field of this call. Where one item lacks a value, that field is null.
Every item also has platform, id, ref, approx and type; the response around the items is the same on every call. Response format
Xiaohongshu (RedNote) Pugongying note metrics API: paging and billing.
5 calls per second per key, 20 after a purchase; going over is not charged. Rate limits
A failed call costs 0 credits and is never retried on its own. Error codes
Interface last tested: 2026-11-20. Each call reads from the platform, and fetched_at in the answer is when it was read. The same request sent again with the same key within 5 minutes is a replay (replayed: true): 0 credits, and the answer as first read.
Once connected over MCP, these questions use the Xiaohongshu (RedNote) Pugongying note metrics API.
Get the figures PGY shows a brand for one Xiaohongshu note, by note ID: 6a20edfa0000000021020951.
24 creditscall {"op":"xiaohongshu.kol_note_metrics","id":"6a20edfa0000000021020951"}Search Xiaohongshu for notes about "咖啡", then for the first 3: get the figures PGY shows a brand for one Xiaohongshu note, by note ID.
84 creditssearch {"platform":"xiaohongshu","query":"咖啡"}call {"op":"xiaohongshu.kol_note_metrics","id":"<ref>"} × 3
Give this to your AI.
Copy it into Claude or ChatGPT.
How to connectUse the SocialToAI MCP server (https://socialtoai.app/mcp) for this: Get the figures PGY shows a brand for one Xiaohongshu note, by note ID: 6a20edfa0000000021020951.Call the call tool with {"op":"xiaohongshu.kol_note_metrics","id":"6a20edfa0000000021020951"}. Needed: id.For several, call it once for each: 24 credits each.Before you start, work out how many credits it will take in all and ask me; call it only after I agree.What usually comes next, with the ref or username it returns: comments (Comments).If SocialToAI is not connected yet, tell me how to connect it; never ask me to paste a key into the chat.Answer with a link to every item you used, and tell me how many credits it cost.Paste it into a chat once SocialToAI is connected over MCP. There is no key in it: Claude and ChatGPT sign in, other clients send a key in a header.
Read next.
What its own API allows, who can use it and what it costs, with sources.
Finding creators and reading their data, platform by platform.
connect ChatGPT to Xiaohongshu notes and comments
connect Claude Code and Cursor to Xiaohongshu and Douyin with no QR code or cookie, and what a self-run server costs you
monitor Xiaohongshu, Douyin and Weibo from outside China with AI, in English, with original links
PGY and Xingtu by interface: how each search matches, the IDs they take, what a shortlist costs
Let your AI read Xiaohongshu.