Content Square Notes
Search Xiaohongshu Pugongying Content Square notes by keyword or browse all notes, with business-category, ranking, time-window, and page controls. Use it to discover high-performing campaign content.
Parameters
| Name | Required | Type | Description | Example | Allowed values |
|---|---|---|---|---|---|
search_word |
Optional | string | Keyword for note search. Empty string searches all notes. | — | — |
page_num |
Optional | integer | Page number for results. | 1 |
— |
biz_type |
Optional | string | Business category. Available Values: - `XIAOHONGSHU_HOT`: Xiaohongshu hot - `PRODUCT_SEEDING`: Product seeding - `ECOMMERCE_PROMOTION`: E-commerce promotion - `PUGONGYING_COOPERATION`: Pugongying cooperation - `LEAD_COLLECTION`: Lead collection - `ECOMMERCE_HOT`: E-commerce hot - `SEEDING_DIRECT`: Seeding direct - `APP_PROMOTION`: App promotion | XIAOHONGSHU_HOT |
XIAOHONGSHU_HOTPRODUCT_SEEDINGECOMMERCE_PROMOTIONPUGONGYING_COOPERATIONLEAD_COLLECTIONECOMMERCE_HOTSEEDING_DIRECTAPP_PROMOTION |
order_by |
Optional | string | Ranking metric. Available Values: - `premium_imp_num`: Exposure - `premium_good_read_rate`: Read rate - `premium_read_num`: Read count - `premium_engage_num`: Engagement count - `premium_engage_rate`: Engagement rate - `premium_like_num`: Like count - `premium_fav_num`: Favorite count - `premium_cmt_num`: Comment count | premium_imp_num |
premium_imp_numpremium_good_read_ratepremium_read_numpremium_engage_numpremium_engage_ratepremium_like_numpremium_fav_numpremium_cmt_num |
nd |
Optional | string | Time range in days. Available Values: - `DAY_3`: Last 3 days - `DAY_7`: Last 7 days - `DAY_14`: Last 14 days - `DAY_30`: Last 30 days | DAY_7 |
DAY_3DAY_7DAY_14DAY_30 |
Code samples
curl -G "https://api.mofa-ai.com/v1/xiaohongshu_pgy/api_pgy_content_square_search_note_v2_v1" \
-H "Authorization: Bearer $MOFA_API_KEY" \
--data-urlencode 'page_num=1' \
--data-urlencode 'biz_type=XIAOHONGSHU_HOT' \
--data-urlencode 'order_by=premium_imp_num' \
--data-urlencode 'nd=DAY_7'
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/xiaohongshu_pgy/api_pgy_content_square_search_note_v2_v1",
headers={"Authorization": f"Bearer {os.environ['MOFA_API_KEY']}"},
params={
"page_num": "1",
"biz_type": "XIAOHONGSHU_HOT",
"order_by": "premium_imp_num",
"nd": "DAY_7",
},
timeout=60,
)
body = resp.json()
if body["success"]:
print(body["cost_usd"], body["data"])
else:
print(body["error"], body["message"])
const url = new URL("https://api.mofa-ai.com/v1/xiaohongshu_pgy/api_pgy_content_square_search_note_v2_v1");
url.search = new URLSearchParams({
page_num: "1",
biz_type: "XIAOHONGSHU_HOT",
order_by: "premium_imp_num",
nd: "DAY_7",
});
const resp = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.MOFA_API_KEY}` },
});
const body = await resp.json();
if (body.success) console.log(body.cost_usd, body.data);
else console.error(body.error, body.message);
Try it
Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.
Example response
Captured 2026-11-07, took 1332 ms · Request parameters {"nd": "DAY_7", "biz_type": "XIAOHONGSHU_HOT", "order_by": "premium_imp_num", "page_num": "1"}
JSON
{
"success": true,
"code": 0,
"message": "success",
"request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
"endpoint": "xiaohongshu_pgy.api_pgy_content_square_search_note_v2_v1",
"cost_usd": 0.03,
"data": {
"code": 0,
"data": {
"total": 100,
"noteList": [
{
"noteInfo": {
"title": "笑死了 王濛对唐艺昕说“我喜欢你老公”",
"cmtNum": 1449,
"favNum": 8529,
"noteId": "6ae48fd600000000150059d3",
"bizType": 0,
"likeNum": 127103,
"readNum": 5029737,
"bindType": 4,
"isAdNote": 0,
"noteLink": "https://www.xiaohongshu.com/explore/6ae48fd600000000150059d3?xsec_token=QB1pO6JY98JRfLg_kcQsnQkcYetG5XDeYCAMCH-tLv7YE=&xsec_source=pc_pgy",
"noteType": 2,
"videoUrl": "http://v.xiaohongshu.com/stream/79/110/258/01eae48fd676177b4f037001a18cd1fcfe_258.mp4?sign=02ee4bba1051fff1e104f454477dcb6c&t=6af1ee00",
"noteImages": [
{
"imageUrl": "http://ci.xiaohongshu.com/1040g008326usmi1p6i005pfo1ae2psl09tdqkro?imageView2/2/w/1080/format/jpg",
"imageWidth": 577,
"imageHeight": 432
}
],
"videoDuration": 12,
"notePublishTime": "2026-10-30 20:38:46"
},
"userInfo": {
"avatar": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo323u2e5e4720g5pfo1ae2psl0ugcbvvo?imageView2/2/w/120/format/jpg",
"userId": "65f80a9c000000000b00f2a0",
"fansNum": 2063,
"nickName": "moon",
"userType": 1,
"currentLevel": 0
}
},
{
"noteInfo": {
"title": "刘亦菲穿婚纱走红毯啊啊啊啊美神降临!",
"cmtNum": 5869,
"favNum": 13816,
"noteId": "6ae7316d0000000015009b69",
"bizType": 0,
"likeNum": 146433,
"readNum": 3526964,
"bindType": 4,
"isAdNote": 0,
"noteLink": "https://www.xiaohongshu.com/explore/6ae7316d0000000015009b69?xsec_token=QBpzBeP--Kj7blZ6uL_wpZketEX6IdFK-o9h85-aPcKBA=&xsec_source=pc_pgy",
"noteType": 2,
"videoUrl": "http://v.xiaohongshu.com/stream/79/110/258/01eae7316091b0b34f037001a197193353_258.mp4?sign=6d4f9ee9a5ac408ca16499750e42adfe&t=6af1ee00",
"noteImages": [
{
"imageUrl": "http://ci.xiaohongshu.com/1040g0083271e44ckmg505n9ppb7k92bj9or45v0?imageView2/2/w/1080/format/jpg",
"imageWidth": 1080,
"imageHeight": 1920
}
],
"videoDuration": 11,
"notePublishTime": "2026-11-01 20:32:45"
},
"userInfo": {
"avatar": "https://sns-avatar-qc.xhscdn.com/avatar/1040g2jo31269q295hk005n9ppb7k92bjr0uj7r0?imageView2/2/w/120/format/jpg",
"userId": "5d39cacf0000000011008973",
"fansNum": 114901,
"nickName": "酒酿熊子",
"userType": 2,
"currentLevel": 2
}
},
"… +8"
],
"pageInfoDto": {
"total": 100,
"pageNum": 1,
"pageSize": 10,
"totalPage": 0
}
},
"message": null,
"requestId": "a56cc08b00304665bac0d117a59b7fd6",
"recordTime": "2026-11-08T07:59:09.997963263",
"requestParams": {
"body": null,
"query": {
"nd": "DAY_7",
"bizType": "XIAOHONGSHU_HOT",
"orderBy": "premium_imp_num",
"pageNum": "1"
}
}
}
}