Xiaohongshu PGY blogger filter options
https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-filter-optionsGet PGY blogger filter options on Xiaohongshu. Returns the platform data as structured JSON.
- 價格
- $0.02美元/次呼叫
- 方法
- POST
- 回應
- JSON
- 參數
- 0 個必填 · 0 個選填
Playground
您的輸出會顯示在這裡
完成輸入後,點擊執行。
API README
Xiaohongshu PGY blogger filter options API
Returns the filter options that the Xiaohongshu PGY blogger search uses. It covers activity campaigns, region trees, audience groups and industry tags. The request takes no input.
Use cases
- Build a filter form for a blogger search tool with the same region and audience choices that PGY shows.
- Look up the code behind a region, audience or industry tag label before you filter bloggers.
- Track which PGY blogger campaigns are listed and when they start and end.
- Map industry tag ids to their Chinese labels when you read other PGY data.
Request
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-filter-options" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"activities": [
{
"activityLabel": "平台优选",
"activityName": "双11博主团",
"buttonLink": "https://doc.weixin.qq.com/sheet/e3_AX0A8QY2AP0CNt7iNjy4dS0qoo0aa?scode=ANAAyQcbA…",
"buttonName": "见具体规则",
"code": "6adb6413e4b078c833452df1",
"content": "活动期间合作平台推荐博主,有机会享受流量激励扶持",
"endTime": "11/15/26 11:59 PM",
"kolDownloadStatus": 0,
"priority": 3,
"show": false,
"startTime": "10/23/26 12:00 AM"
}
],
"areas": [
{
"children": [
{
"children": [
{
"children": null,
"code": "东城区",
"level": 0,
"name": "东城区"
}
],
"code": "北京",
"level": 0,
"name": "北京"
}
],
"code": "中国",
"level": 0,
"name": "中国"
}
],
"audience20": [
{
"children": [
{
"children": null,
"disabled": false,
"label": "挑战极限者",
"value": "挑战极限者"
}
],
"disabled": false,
"label": "自在户外",
"value": "自在户外"
}
],
"automotiveIndustryTag": [
{
"children": [
{
"children": [
{
"children": [
{
"children": null,
"disabled": false,
"label": "环清-新装除甲醛",
"value": "19347660"
}
],
"disabled": false,
"label": "场景",
"value": "6ae964ad1f150517da6dfecf"
}
],
"disabled": false,
"label": "家用清洁",
"value": "6ae964ad1f150517da6dfece"
}
],
"disabled": false,
"label": "日化家清",
"value": "6ae964ad1f150517da6dfecd"
}
],
"consumerBehavior": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [
{
"children": [],
"disabled": false,
"label": "保时捷911",
"value": "保时捷911"
}
],
"disabled": false,
"label": "Porsche",
"value": "Porsche"
}
],
"disabled": false,
"label": "预估车主作者",
"value": "预估车主作者"
}
],
"disabled": false,
"label": "汽车",
"value": "汽车"
}
],
"disabled": false,
"label": "内容行为预估",
"value": "内容行为预估"
}
],
"contentScenes": [
{
"children": [
{
"children": [
{
"children": [
{
"label": "政策",
"tooltip": "",
"value": "696e2a28f057cb1c2dda6727"
}
],
"label": "选车攻略",
"tooltip": "",
"value": "696e2a28f057cb1c2dda6726"
}
],
"label": "理性决策",
"tooltip": "",
"value": "696e2a28f057cb1c2dda6725"
}
],
"label": "汽车",
"showNew": true,
"tooltip": "",
"value": "696e2a28f057cb1c2dda6724"
}
],
"contentTags": [
{
"taxonomy1Tag": "美妆",
"taxonomy2Tags": [
"整体妆容"
]
}
],
"contentTheme": [
{
"children": [
{
"children": null,
"disabled": false,
"label": "沉浸式开车",
"value": "69786d48f02b11619e76b96a"
}
],
"disabled": false,
"label": "汽车特色",
"value": "69786d48f02b11619e76b969"
}
],
"fansAreas": [
{
"children": [
{
"children": [
{
"children": null,
"code": "安庆",
"level": 3,
"name": "安庆"
}
],
"code": "安徽",
"level": 2,
"name": "安徽"
}
],
"code": "中国",
"level": 1,
"name": "中国"
}
],
"featureTags": [
{
"id": 1,
"orderId": null,
"taxonomy1Tag": "形式",
"taxonomy2Tag": null,
"taxonomy2Tags": [
"vlog"
],
"taxonomy3Tags": null
}
],
"industryTags": [
{
"id": 0,
"orderId": 1,
"taxonomy1Tag": "美妆个护",
"taxonomy2Tag": null,
"taxonomy2Tags": [
"美妆"
],
"taxonomy3Tags": null
}
],
"market": [
{
"children": [
{
"children": [
{
"children": null,
"hover": "选取近30天合作笔记CPM对比同行表现优秀的作者",
"name": "成本",
"type": "estimateAllCpm"
}
],
"hover": null,
"name": "曝光表现",
"type": "impPerformance"
}
],
"hover": null,
"name": "曝光",
"type": "imp"
}
]
}
}
Response fields
| Field | Meaning |
|---|---|
data.activities[].activityName | Name of a PGY blogger campaign, such as 双11博主团. |
data.activities[].startTime / data.activities[].endTime | Start and end of the campaign. Values are strings like 10/23/26 12:00 AM. |
data.activities[].code | Identifier of the campaign. |
data.activities[].content / data.activities[].buttonLink | Short campaign description and the link to its rules page. |
data.areas[].name / data.areas[].code | Region name and its code. For regions in China the code equals the name, for example 北京. |
data.areas[].children[] | Child regions nested under a country or region. They go from country to province to city to district. The value is null at the lowest level. |
data.audience20[].label / data.audience20[].value | Audience group name and its filter value. Each group has children with finer audience types. |
data.automotiveIndustryTag[].label / data.automotiveIndustryTag[].value | Industry tag name and its id. Tags nest several levels deep, for example from industry to category to tag. |
data.automotiveIndustryTag[].children[].children[].value | Id of a deeper tag. Leaf tags use numeric id strings like 19347660. |
Notes
- Send an empty JSON object
{}. The API has no parameters. - Leaf nodes have
childrenset tonull. Items withdisabledset totrueare not selectable. - Use the returned
valueorcodeas the filter value when you search bloggers with Xiaohongshu (RED) PGY Blogger Search. - Activity items carry a
showflag and aprioritynumber.
Pricing
$0.02 per successful call. Failed calls are not charged.
開始建置
送出您的第一個請求
具備統一驗證與用量追蹤的平台 API 端點。
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-filter-options" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. 驗證
請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
3. 參數
這個 API 尚未發布參數 Schema。
4. 回應
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
尚未發布已儲存回應。請在 Playground 中執行 API 以檢視其回應。
探索更多
相關 APIs
| API | 價格 | 回應 |
|---|---|---|
Xiaohongshu | 每次呼叫 $0.02 | JSON |
Xiaohongshu | 每次呼叫 $0.02 | JSON |
Xiaohongshu | 每次呼叫 $0.02 | JSON |
Xiaohongshu | 每次呼叫 $0.02 | JSON |
Xiaohongshu | 每次呼叫 $0.02 | JSON |
Xiaohongshu | 每次呼叫 $0.02 | JSON |
問題
常見問題
我要如何使用 Xiaohongshu PGY blogger filter options API?
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-filter-options。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
Xiaohongshu PGY blogger filter options API 的費用是多少?
每次 $0.02,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
Xiaohongshu PGY blogger filter options API 接受哪些參數?
Xiaohongshu PGY blogger filter options 不接受任何輸入參數;請送出空的 JSON 主體。
Xiaohongshu PGY blogger filter options API 會回傳什麼?
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
我需要 Xiaohongshu 開發者帳號或 API 金鑰嗎?
不需要。Xiaohongshu PGY blogger filter options 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Xiaohongshu API 存取權。
