/v1/call/xiaohongshu.kol_searchXiaohongshu (RedNote) KOL search API (Pugongying)
Only on Xiaohongshu.
Search Xiaohongshu creators on PGY by terms, matched against what they write about: creator ID, name, handle, location, content categories, followers. The creator ID the other PGY endpoints take comes from here. A call to the Xiaohongshu (RedNote) KOL search API (Pugongying) 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 tested 2026-11-02.
Last updated:
Daily watch: tell your AI “watch this daily” and this call runs by itself every day, sending only what is new: at most 744 credits a month, about $2.48. How to set it up
What you get from the Xiaohongshu (RedNote) KOL search API (Pugongying).
From a recorded answer.
A recorded call returned 20 items; here is the first, field by field. Names and text are removed from the sample; the numbers are as recorded.
Lighter for your AI: the same recorded data (20 items) is about 27,374 tokens as the platform's raw JSON and about 2,826 as this interface returns it, 89% fewer (measured 2026-11-06). How it was measured
| Field | In the recorded answer |
|---|---|
| title | removed from the sample |
| url | null |
| rank | null |
| heat | null |
| fields.account_id | removed from the sample |
| fields.username | removed from the sample |
| fields.location | removed from the sample |
| fields.categories | 1 entry |
| fields.subcategories | 2 entries |
| fields.followers | 30,634 |
24 credits a call (≈ $0.048–$0.08): about 125 calls for $10.
Xiaohongshu (RedNote) KOL search API (Pugongying): request and response
curl https://api.socialtoai.com/v1/call/xiaohongshu.kol_search \ -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "query": "咖啡" }'import osimport uuidimport requestsresponse = requests.post( "https://api.socialtoai.com/v1/call/xiaohongshu.kol_search", 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={ "query": "咖啡", },)print(response.json())# Connected over MCP? Ask in plain words.Use the Xiaohongshu PGY creator search interface (xiaohongshu.kol_search) with query: 咖啡.# Your AI calls the call tool with:{ "query": "咖啡"}{ "op": "xiaohongshu.kol_search", "platform": "xiaohongshu", "status": "ok", "items": [ { "platform": "xiaohongshu", "id": "…", "ref": "…", "approx": [], "type": "entry", "entry_type": "creator", "title": "…", "url": null, "rank": null, "heat": null, "fields": { "account_id": "…", "username": "…", "location": "…", "categories": ["…"], "subcategories": ["…", "…"], "followers": 30634 } } ], "unavailable": [], "page": { "has_more": true, "cursor": "cur_…", "cursor_expires_at": "2026-10-12T22:25:09.000Z" }, "cost_credits": 24}- entry_type
- creator
- account_id
- …
- username
- …
- location
- …
- followers
- 30634
Names and text were removed from the sample; the numbers are as recorded.
Xiaohongshu (RedNote) KOL search API (Pugongying) parameters.
2 parameters, 1 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 |
|---|---|---|---|---|
| query | string | Required | — | Search terms, matched against what creators' notes are about; for terms no creator matches the platform still returns loosely related creators, not an empty result |
| cursor | string | Optional | — | Pass page.cursor from the last response to get the next page. |
Xiaohongshu (RedNote) KOL search API (Pugongying) response fields.
What Xiaohongshu cannot give is marked.
| Field | Type | Meaning |
|---|---|---|
| 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.account_id | string | The creator's account ID on the platform, which the platform's account calls take. |
| items[].fields.username | string | The creator's handle. |
| items[].fields.location | string | Where the creator is based, in the platform's words. |
| items[].fields.categories | string[] | Content categories, first level, in the platform's words. |
| items[].fields.subcategories | string[] | Content categories, second level, in the platform's words. |
| items[].fields.followers | integer | Followers. |
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) KOL search API (Pugongying): 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
“Last tested” above is the last day a real call of this interface succeeded. 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) KOL search API (Pugongying).
Search Xiaohongshu creators on PGY by terms, matched against what they write about: 咖啡.
24 creditscall {"op":"xiaohongshu.kol_search","query":"咖啡"}
Give this to your AI.
Copy it into Claude or ChatGPT.
How to connectUse the SocialToAI MCP server (https://mcp.socialtoai.com/mcp) for this: Search Xiaohongshu creators on PGY by terms, matched against what they write about: 咖啡.Call the call tool with {"op":"xiaohongshu.kol_search","query":"咖啡"}. Needed: query.For more, send page.cursor back as cursor; each page costs 24 credits.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: call xiaohongshu.kol_profile (PGY creator detail), call xiaohongshu.kol_audience (PGY creator audience profile).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.
These ready-made tools call it when they run.
find-creatorsCreators who make that content, with their size, recent posts and how well each fits
creator-cardTheir accounts on other platforms, the numbers on each, and how sure the match is
The interface of the same name on other platforms.
All platforms and prices/v1/call/xiaohongshu.kol_search{ "query": "咖啡" }24 creditsper callRead 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.