跳到主要内容
小红书

xiaohongshu.pgy.bloggers.performance@v1

小红书蒲公英博主表现概览

蒲公英博主指标表现概览

读取近 30/90 日笔记量、中位表现、互动率、完播率、高赞笔记占比和内容占比。

POST/v1/xiaohongshu/pgy/bloggers/performance

英文名称: Xiaohongshu PGY creator performance · PGY Blogger Metrics · Performance Summary
Read aggregate note volume, median performance, rates, and content mix for the last 30 or 90 days.

适合什么任务

  • 用于比较博主近期内容表现,不代表销售或成交转化。

不适合什么任务

  • 不用于读取逐篇笔记或逐日趋势。

请求参数

字段user_id类型string约束与默认值pattern: "^[a-f0-9]{24}$"必填性必填
字段content_scope类型string约束与默认值enum: "organic" | "commercial" · default: "organic"必填性选填
字段note_type类型string约束与默认值enum: "all" | "image" | "video" · default: "all"必填性选填
字段window类型string约束与默认值enum: "30d" | "90d" · default: "30d"必填性选填
字段traffic类型string约束与默认值enum: "all" | "organic" · default: "all"必填性选填
完整请求 JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "user_id": {
      "type": "string",
      "pattern": "^[a-f0-9]{24}$"
    },
    "content_scope": {
      "default": "organic",
      "type": "string",
      "enum": [
        "organic",
        "commercial"
      ]
    },
    "note_type": {
      "default": "all",
      "type": "string",
      "enum": [
        "all",
        "image",
        "video"
      ]
    },
    "window": {
      "default": "30d",
      "type": "string",
      "enum": [
        "30d",
        "90d"
      ]
    },
    "traffic": {
      "default": "all",
      "type": "string",
      "enum": [
        "all",
        "organic"
      ]
    }
  },
  "required": [
    "user_id"
  ],
  "additionalProperties": false
}

静态响应样例

application/json
{
  "code": 200,
  "request_id": "req_example_pgy_performance",
  "message": "success",
  "data": {
    "creator_id": "5c668b3e0000000012021605",
    "summary": {
      "note_count": 18,
      "median_impressions": 14057,
      "median_reads": 1121,
      "median_engagements": 154,
      "engagement_rate": 8.75,
      "completion_rate": 36.2,
      "hundred_like_note_rate": 44.4,
      "thousand_like_note_rate": 5.6,
      "content_mix": [
        {
          "label": "图文",
          "percent": 72.2
        },
        {
          "label": "视频",
          "percent": 27.8
        }
      ]
    }
  },
  "page": {
    "next_cursor": null
  },
  "warnings": [],
  "meta": {
    "result_status": "complete",
    "balance_after": "49.61",
    "listing_id": "xiaohongshu.pgy.bloggers.performance",
    "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": {
        "creator_id": {
          "type": "string",
          "pattern": "^[a-f0-9]{24}$"
        },
        "summary": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "note_count": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "median_impressions": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "median_reads": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "median_engagements": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "engagement_rate": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "completion_rate": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "hundred_like_note_rate": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "thousand_like_note_rate": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "content_mix": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string",
                        "minLength": 1
                      },
                      "percent": {
                        "anyOf": [
                          {
                            "type": "number",
                            "minimum": 0
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "label",
                      "percent"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "note_count",
                "median_impressions",
                "median_reads",
                "median_engagements",
                "engagement_rate",
                "completion_rate",
                "hundred_like_note_rate",
                "thousand_like_note_rate",
                "content_mix"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "creator_id",
        "summary"
      ],
      "additionalProperties": false
    },
    "page": {
      "type": "object",
      "properties": {
        "next_cursor": {
          "type": "null"
        }
      },
      "required": [
        "next_cursor"
      ],
      "additionalProperties": false
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "listing_id": {
          "type": "string",
          "const": "xiaohongshu.pgy.bloggers.performance"
        },
        "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"
          ]
        },
        "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
}

已知限制

  • 只公开聚合指标,不返回上游数据源的笔记明细。
  • 仅支持近 30 日或近 90 日。
  • 不同内容、形式和流量口径不能直接混合比较。

接入示例

REST(cURL)

curl -X POST https://api.dataxapi.com/v1/xiaohongshu/pgy/bloggers/performance \
  -H "Authorization: Bearer $DATAXAPI_API_KEY" \
  -H "Idempotency-Key: your-stable-intent-key" \
  -H "Content-Type: application/json" \
  -d '{"user_id":"5c668b3e0000000012021605","content_scope":"organic","note_type":"all","window":"30d","traffic":"all"}'

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