Xiaohongshu (RedNote) PGY creator search API
Search Xiaohongshu creators on PGY by terms, matched against what they write about: creator ID, name, handle, location, content categories, followers, and in the full view what an image note and a video note cost and median reads and interactions. The creator ID the other PGY endpoints take comes from here. Up to 20 items a call; $0.0400 per call. Errors and timeouts are not charged; an empty result is charged $0.0400.
Try it
Change a value and the request on the right follows.Sign in to run it; it runs on your own balance. New accounts can try this endpoint free, up to 2 calls.
Used to call POST /v1/xiaohongshu/pgy/bloggers/search? It is this address now. What changed for old endpoints
curl -G "https://api.dataxapi.com/v1/xiaohongshu/pgy/creators/search" \ --data-urlencode "query=咖啡" \ -H "Authorization: Bearer $DATAXAPI_API_KEY"
{
"code": "ok",
"request_id": "925f8cc7-d891-4f23-8d87-46f8515c35e9",
"data": {
"items": [
{
"id": "6acd5beb00000000c8b10386",
"account_id": "6d5583880000000059f95d40",
"username": "ajie_diy",
"name": "阿杰爱折腾",
"avatar_url": "https://sns-avatar-qc.xhscdn.com/avatar/68d7218800000000a4989fa3.jpg",
"location": "北京",
"categories": ["生活"],
"subcategories": ["咖啡", "家居好物"],
"metrics": { "followers": 30634 }
},
// … 19 more
]
},
"page": {
"next_cursor": "c1.tanuG8dT9ozo4D_Rnm44jKf3-2o-wxDT8ESWtMQB",
"cursor_expires_at": "2026-10-12T22:55:09.000Z",
"has_more": true,
"returned": 20
},
"warnings": [],
"meta": {
"capability": "xiaohongshu.pgy.creators.search",
"result_status": "complete",
"fetched_at": "2026-10-12T21:55:09.000Z",
"cached": false,
"replayed": false,
"unavailable": {},
"billing": {
"amount": "0.04",
"currency": "USD",
"balance_after": "9.96"
}
}
}From a response recorded 2026-10-12 21:55 UTC. Names, text and IDs are examples, and so are the links: none is the recorded one (the page shows no one's personal data); the figures are as recorded. Long lists are cut. The request ID, cursor and balance are made up.
Size as sent: 7.8 KB in the standard view (4.1 KB compact, 10.2 KB full).
{
"code": "ok",
"request_id": "088700a7-de0f-4ecd-89ad-ccdc650c2936",
"data": { "items": [] },
"page": {
"next_cursor": null,
"cursor_expires_at": null,
"has_more": false,
"returned": 0
},
"warnings": [],
"meta": {
"capability": "xiaohongshu.pgy.creators.search",
"result_status": "empty",
"fetched_at": "2026-10-12T21:55:09.000Z",
"cached": false,
"replayed": false,
"unavailable": {},
"billing": {
"amount": "0.04",
"currency": "USD",
"balance_after": "9.96"
}
}
}From a recording of 2026-10-12 21:55 UTC, edited by hand to show this case. The request ID and balance are made up.
Size as sent: 414 B in the standard view (414 B compact, 414 B full).
curl -G "https://api.dataxapi.com/v1/xiaohongshu/pgy/creators/search" \ --data-urlencode "query=咖啡" \ -H "Authorization: Bearer $DATAXAPI_API_KEY"
from dataxapi import DataXAPI dx = DataXAPI() # reads DATAXAPI_API_KEY result = dx.xiaohongshu.pgy.creators.search(query="咖啡") print(result["data"]["items"])
import { DataXAPI } from "@dataxapi/sdk";
const dx = new DataXAPI(); // reads DATAXAPI_API_KEY
const result = await dx.xiaohongshu.pgy.creators.search({ query: "咖啡" });
console.log(result.data.items);dataxapi call xiaohongshu.pgy.creators.search 'query=咖啡'{
"mcpServers": {
"dataxapi": {
"type": "http",
"url": "https://api.dataxapi.com/mcp",
"headers": {
"Authorization": "Bearer ${DATAXAPI_API_KEY}"
}
}
}
}Add this to your MCP client, then ask your agent to call xiaohongshu.pgy.creators.search.
Parameters
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. Example: 咖啡.
Cursor returned by the previous page. Pass page.next_cursor of the page before, unchanged. Each page is charged as a call of its own.
How much of each item to return. All three cost the same. Values: compact, standard (default), full.
Return only these fields. Each by its path, such as author.name.
Known limits
- 20 items a page. The page size is the platform's;
limitis not accepted. - For the next page pass
page.next_cursorascursor; a cursor is valid for 1 hour.page.has_moreis false on the last page.
Returned fields
data.items is a list of creator objects. Preview: the structure may change, announced beforehand.
The creator's ID in the marketplace
ID of the creator's account on the platform, as the platform's account endpoints take it
Handle
Display name
Avatar
Where the creator is based, in the platform's words
Show all 18 fields →
Content categories, first level, in the platform's words
Content categories, second level, in the platform's words
Creator counts
Followers
Rate for an image note, in yuan
Rate for a video note, in yuan
Number of sponsored notes
Median reads of a note
Median interactions of a note
Which numbers of this item are approximate or lower bounds; absent when all are exact
Path of the field, such as metrics.views
Approximate, or a lower boundapproximatelower_bound
Typical size of one item: compact 186 B, standard 379 B, full 502 B (measured on the response recorded 2026-10-12 21:55 UTC).
When you are charged
X-Max-Price to refuse anything above your own limit)Prices as read 2026-10-21 09:10 UTC, under price book 2, in effect since 2026-10-17 11:00 UTC; the Playground reads the price in force before a run.
Errors
What this endpoint can answer with; codes all endpoints share are on the full list.
invalid_paramsA parameter is invalidRetry: After a fixNocursor_mismatchThe cursor was issued for another endpoint or other parametersRetry: After a fixNoinsufficient_balanceThe balance is too lowRetry: After a fixNocursor_expiredThe cursor expired; start again from the first pageRetry: NoNoupstream_failedThe data source failedRetry: YesNotimeoutThe data did not arrive in time; retry with the same idempotency keyRetry: YesNoQuestions
How much does the Xiaohongshu (RedNote) PGY creator search API cost?
$0.0400 per call. The most one call can cost is $0.0400.
When am I not charged?
Errors and timeouts are not charged; an empty result is charged $0.0400.
How many items does one call return, and how do I get the next page?
20 items a page. The page size is the platform's; limit is not accepted. For the next page pass page.next_cursor as cursor; a cursor is valid for 1 hour. page.has_more is false on the last page.
The same thing on other platforms
All 21 Xiaohongshu (RedNote) endpoints
Use it in your AI
Copy this prompt
Your API key is built in, so there is nothing to configure.
No account yet? Sign-up takes an email and no card, and a failed call is never charged.
Paste it into your agent
It reads the page the prompt points to and connects itself.
Now ask something
Use one of these, or your own words.
Prefer to set it up by hand?
dataxapi setupgives the agents on your machine (Claude Code, Codex, Cursor) the DataXAPI MCP server and the base skill. The key is read from DATAXAPI_API_KEY; none is written into a file.MCP server: https://api.dataxapi.com/mcp. The entry for your client is under MCP in the request examples of this page; then ask your agent to call xiaohongshu.pgy.creators.search.Other clients →Show the text
Use the DataXAPI endpoint xiaohongshu.pgy.creators.search (Xiaohongshu (RedNote) PGY creator search). Search Xiaohongshu creators on PGY by terms, matched against what they write about: creator ID, name, handle, location, content categories, followers, and in the full view what an image note and a video note cost and median reads and interactions. The creator ID the other PGY endpoints take comes from here. Call GET https://api.dataxapi.com/v1/xiaohongshu/pgy/creators/search with the header "Authorization: Bearer $DATAXAPI_API_KEY". Read the key from the environment variable DATAXAPI_API_KEY; never write it into code. Parameters: - query (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. Example: 咖啡. - cursor: Cursor returned by the previous page. Pass page.next_cursor of the page before, unchanged. Each page is charged as a call of its own. - view: How much of each item to return. All three cost the same. Values: compact, standard (default), full. - fields: Return only these fields. Each by its path, such as author.name. Price: $0.0400 per call. Errors and timeouts are not charged; an empty result is charged $0.0400. The answer is JSON: data.items holds creator; meta.billing.amount is what this call was charged. Example: curl -G "https://api.dataxapi.com/v1/xiaohongshu/pgy/creators/search" \ --data-urlencode "query=咖啡" \ -H "Authorization: Bearer $DATAXAPI_API_KEY" Full reference in Markdown: https://dataxapi.com/apis/xiaohongshu/pgy/creators/search.md
Names and identifiers
- In Chinese
- 小红书蒲公英博主搜索 API
- Endpoint ID
xiaohongshu.pgy.creators.search- Endpoint
GET /v1/xiaohongshu/pgy/creators/search
Start with one key.
207 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.