跳到主要内容
小红书

xiaohongshu.pgy.bloggers.search@v1

小红书蒲公英博主搜索

蒲公英博主搜索

按稳定筛选组建立一页蒲公英博主候选清单。

POST/v1/xiaohongshu/pgy/bloggers/search

英文名称: Xiaohongshu PGY creator search · PGY Blogger · Search
Build one reviewable page of PGY creator candidates using stable filter groups.

适合什么任务

  • 用于品牌合作的初步候选发现。

不适合什么任务

  • 不用于全量爬取、无限翻页或效果保证。

请求参数

字段query类型string约束与默认值minLength: 1 · maxLength: 64必填性选填
字段content_tags类型array约束与默认值default: [] · maxItems: 5必填性选填
字段followers类型object约束与默认值无额外约束必填性选填
字段image_pricing_cny类型object约束与默认值无额外约束必填性选填
字段video_pricing_cny类型object约束与默认值无额外约束必填性选填
字段sort类型string约束与默认值enum: "relevance" | "followers_desc" | "engagement_desc" | "price_asc" · default: "relevance"必填性选填
字段page_number类型integer约束与默认值default: 1 · minimum: 1 · maximum: 10必填性选填
字段page_size类型integer约束与默认值default: 20 · minimum: 1 · maximum: 20必填性选填
完整请求 JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "content_tags": {
      "default": [],
      "maxItems": 5,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 32
      }
    },
    "followers": {
      "type": "object",
      "properties": {
        "min": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "max": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "additionalProperties": false
    },
    "image_pricing_cny": {
      "type": "object",
      "properties": {
        "min": {
          "type": "number",
          "minimum": 0
        },
        "max": {
          "type": "number",
          "minimum": 0
        }
      },
      "additionalProperties": false
    },
    "video_pricing_cny": {
      "type": "object",
      "properties": {
        "min": {
          "type": "number",
          "minimum": 0
        },
        "max": {
          "type": "number",
          "minimum": 0
        }
      },
      "additionalProperties": false
    },
    "sort": {
      "default": "relevance",
      "type": "string",
      "enum": [
        "relevance",
        "followers_desc",
        "engagement_desc",
        "price_asc"
      ]
    },
    "page_number": {
      "default": 1,
      "type": "integer",
      "minimum": 1,
      "maximum": 10
    },
    "page_size": {
      "default": 20,
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    }
  },
  "additionalProperties": false
}

静态响应样例

application/json
{
  "code": 200,
  "request_id": "req_example_pgy_blogger_search",
  "message": "success",
  "data": {
    "items": [
      {
        "id": "5c668b3e0000000012021605",
        "name": "Fixture creator",
        "red_id": "fixture_red_id",
        "avatar_url": "https://ci.xiaohongshu.com/avatar-fixture",
        "followers_count": 123456,
        "content_tags": [
          "美妆",
          "护肤"
        ],
        "pricing_cny": {
          "image": 5200,
          "video": 8800
        },
        "median_reads": 1121,
        "median_engagements": 154
      }
    ]
  },
  "page": {
    "page_number": 1,
    "page_size": 20,
    "total": 21,
    "has_more": true,
    "next_page": 2
  },
  "warnings": [],
  "meta": {
    "result_status": "complete",
    "balance_after": "49.61",
    "listing_id": "xiaohongshu.pgy.bloggers.search",
    "version": "v1",
    "catalog_release_id": "catalog-production-2026-09-17.1",
    "price_book_version": "pricebook-production-2026-09-17.1",
    "charged_amount": "0.39",
    "currency": "CNY"
  }
}

当前不可运行

完整结果和空结果收费;部分结果和失败不收费。

响应 Contract

字段摘要用于快速浏览;完整 JSON Schema 是稳定输出 Contract。

字段code类型number约束与默认值const: 200必填性必填
字段request_id类型string约束与默认值minLength: 1必填性必填
字段message类型string约束与默认值const: "success"必填性必填
字段data类型object约束与默认值无额外约束必填性必填
字段page类型object约束与默认值无额外约束必填性必填
字段warnings类型array约束与默认值无额外约束必填性必填
字段meta类型object约束与默认值无额外约束必填性必填
完整响应 JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "code": {
      "type": "number",
      "const": 200
    },
    "request_id": {
      "type": "string",
      "minLength": 1
    },
    "message": {
      "type": "string",
      "const": "success"
    },
    "data": {
      "type": "object",
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "red_id": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "avatar_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "followers_count": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "content_tags": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "pricing_cny": {
                "type": "object",
                "properties": {
                  "image": {
                    "anyOf": [
                      {
                        "type": "number",
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "video": {
                    "anyOf": [
                      {
                        "type": "number",
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "image",
                  "video"
                ],
                "additionalProperties": false
              },
              "median_reads": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "median_engagements": {
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "name",
              "red_id",
              "avatar_url",
              "followers_count",
              "content_tags",
              "pricing_cny",
              "median_reads",
              "median_engagements"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "items"
      ],
      "additionalProperties": false
    },
    "page": {
      "type": "object",
      "properties": {
        "page_number": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "page_size": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 20
        },
        "total": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "has_more": {
          "type": "boolean"
        },
        "next_page": {
          "anyOf": [
            {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "page_number",
        "page_size",
        "total",
        "has_more",
        "next_page"
      ],
      "additionalProperties": false
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "listing_id": {
          "type": "string",
          "const": "xiaohongshu.pgy.bloggers.search"
        },
        "version": {
          "type": "string",
          "const": "v1"
        },
        "catalog_release_id": {
          "type": "string",
          "minLength": 1
        },
        "price_book_version": {
          "type": "string",
          "minLength": 1
        },
        "result_status": {
          "type": "string",
          "enum": [
            "complete",
            "empty",
            "partial"
          ]
        },
        "charged_amount": {
          "type": "string"
        },
        "balance_after": {
          "type": "string"
        },
        "currency": {
          "type": "string",
          "const": "CNY"
        }
      },
      "required": [
        "listing_id",
        "version",
        "catalog_release_id",
        "price_book_version",
        "result_status",
        "charged_amount",
        "balance_after",
        "currency"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "code",
    "request_id",
    "message",
    "data",
    "page",
    "warnings",
    "meta"
  ],
  "additionalProperties": false
}

已知限制

  • V1 只公开少量稳定筛选组。
  • 每页最多 20 项且每个查询最多 10 页。
  • 候选排序反映上游数据源当前返回的结果顺序,不代表推荐或效果保证。

接入示例

REST(cURL)

curl -X POST https://api.dataxapi.com/v1/xiaohongshu/pgy/bloggers/search \
  -H "Authorization: Bearer $DATAXAPI_API_KEY" \
  -H "Idempotency-Key: your-stable-intent-key" \
  -H "Content-Type: application/json" \
  -d '{"query":"护肤","content_tags":["美妆"],"followers":{"min":10000,"max":500000},"image_pricing_cny":{"max":10000},"video_pricing_cny":{"max":15000},"sort":"engagement_desc","page_number":1,"page_size":20}'

Exact MCP Preview(Codex 配置)

[mcp_servers.dataxapi]
url = "https://api.dataxapi.com/mcp"
bearer_token_env_var = "DATAXAPI_API_KEY"

同一个 API Key 只会暴露其 Scope 内的精确 Tool。请把 Key 放在环境变量中,不要写入配置文件。需要安全重试时,请显式复用 idempotency_key。

查看客户端兼容状态 →

目录发布物: catalog-production-2026-09-17.1 · PriceBook: pricebook-production-2026-09-17.1