API reference · Xiaohongshu

xiaohongshu/pgy/blogger-list

Integrate this model through SandBase's unified API, with production-ready schemas and examples.

APISynchronousOpen model
Production endpoint

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

POSThttps://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-list
Model IDxiaohongshu/pgy/blogger-list
01

Input Schema

16 parameters · 1 required · 15 optional

ParameterTypeRequiredDescription
brand_user_idstringRequiredBrand/advertiser user ID, PGY matches under this brand (required)
coopunionOptional合作笔记数据筛选/Sponsored note metric filters
fansunionOptional粉丝画像筛选/Fans profile filters
goalunionOptional合作目标筛选/Cooperation goal filters
liveunionOptional直播数据筛选/Live metric filters
noteunionOptional日常笔记数据筛选/Organic note metric filters
sortstringOptional排序方向 desc/asc · Options: desc, asc · Default: "desc"
descasc
flagsunionOptional开关类筛选/Boolean flag filters
columnstringOptional排序字段,共 34 个,见接口说明的排序字段表/Sort column, 34 options, see endpoint docs · Options: comprehensiverank, fansCount, price, clickNum, mEngagementNum, accumCommonImpMedinNum30d, accumPicCommonImpMedinNum30d, accumVideoCommonImpMedinNum30d, pictureClickMidNum, videoClickMidNum, pictureInterMidNum, videoInterMidNum, thousandLikePercent30, pictureThousandLikePercent30, videoThousandLikePercent30, hundredLikePercent30, pictureHundredLikePercent30, videoHundredLikePercent30, videoFinishRate, accumCoopImpMedinNum30d, readMidCoop30, interMidCoop30, mCpuvNum30d, picturePrice, videoPrice, pictureReadCost, videoReadCost, inviteReply48hNumRatio, fans30GrowthRate, fansActiveIn28dLv, fansEngageNum30dLv, kliveCnt30d, avgLiveViewerNum, avgAgmv90d · Default: "comprehensiverank"
comprehensiverankfansCountpriceclickNummEngagementNumaccumCommonImpMedinNum30daccumPicCommonImpMedinNum30daccumVideoCommonImpMedinNum30dpictureClickMidNumvideoClickMidNumpictureInterMidNumvideoInterMidNumthousandLikePercent30pictureThousandLikePercent30videoThousandLikePercent30hundredLikePercent30pictureHundredLikePercent30videoHundredLikePercent30videoFinishRateaccumCoopImpMedinNum30dreadMidCoop30interMidCoop30mCpuvNum30dpicturePricevideoPricepictureReadCostvideoReadCostinviteReply48hNumRatiofans30GrowthRatefansActiveIn28dLvfansEngageNum30dLvkliveCnt30davgLiveViewerNumavgAgmv90d
bloggerunionOptional博主属性筛选/Blogger attribute filters
keywordstringOptional搜索词;空=只筛选不搜索/Keyword · Max length: 50 · Default: ""
page_numintegerOptionalPage number, start from 1 · Min: 1 · Max: 1000
page_sizeintegerOptionalPage size (1-100) · Min: 1 · Max: 100
search_typeintegerOptional1=按笔记关键词找博主(默认) 0=按昵称搜/Search mode · Options: 0, 1 · Default: 1
01
similar_wordunionOptional配合 similar_user_id 的博主昵称,仅用于回显、不影响结果/Nickname echo for similar_user_id; does not affect results
similar_user_idunionOptional找相似博主:填一个博主的 userId,返回与他相似的博主,**并且可以叠加下面所有筛选**(这是它与 /get_blogger_similar 的关键区别)/Find similar bloggers; unlike /get_blogger_similar it can be combined with all filters below
02

Output Schema

FieldTypeDescription
idstringUnique identifier for the generation task
statusstringTask status: pending, running, completed, failed, timeout
modelstringModel used for the generation
outputsarrayArray of output items
outputs[].urlstringURL of the generated artifact
outputs[].content_typestringMIME type (e.g. image/png, video/mp4)
errorobject | nullError details if failed, null on success
error.typestringMachine-readable error type code
error.messagestringHuman-readable error description
03

Code Examples

Ready-to-run snippets

const apiKey = process.env.SANDBASE_API_KEY;
const response = await fetch("https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-list", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "sort": "desc",
    "column": "comprehensiverank",
    "keyword": "咖啡",
    "search_type": 1,
    "similar_user_id": "5c668b3e0000000012021605",
    "blogger": {
      "content_tag": [
        "美妆"
      ]
    },
    "brand_user_id": "59ae4dfc5e87e72475fb3bf3",
    "fans": {
      "count": {
        "max": 500000,
        "min": 10000
      }
    },
    "page_num": 1,
    "page_size": 5
  }),
});

if (!response.ok) throw new Error(await response.text());
console.log(await response.json());