跳到主要内容
小红书

xiaohongshu.pgy.bloggers.notes@v1

小红书蒲公英博主笔记

蒲公英博主笔记列表

分页读取博主笔记案例、互动指标与合作标记。

POST/v1/xiaohongshu/pgy/bloggers/notes

英文名称: Xiaohongshu PGY creator notes · PGY Blogger Note · List
Page through a creator's note cases, engagement metrics, and collaboration flags.

适合什么任务

  • 用于审查过往内容案例和商业合作表现。

不适合什么任务

  • 不用于读取正文、媒体原文件或评论。

请求参数

字段user_id类型string约束与默认值pattern: "^[a-f0-9]{24}$"必填性必填
字段page_number类型integer约束与默认值default: 1 · minimum: 1 · maximum: 1000必填性选填
字段page_size类型integer约束与默认值default: 8 · minimum: 1 · maximum: 8必填性选填
字段note_type类型string约束与默认值enum: "all" | "image" | "video" | "commercial" · default: "all"必填性选填
字段order_by类型string约束与默认值enum: "latest" | "reads" | "engagement" · default: "latest"必填性选填
字段traffic类型string约束与默认值enum: "all" | "organic" · default: "all"必填性选填
字段feature_tag类型string约束与默认值default: "" · maxLength: 64必填性选填
字段content_tag类型string约束与默认值default: "" · maxLength: 64必填性选填
字段third_party_only类型boolean约束与默认值default: false必填性选填
完整请求 JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "user_id": {
      "type": "string",
      "pattern": "^[a-f0-9]{24}$"
    },
    "page_number": {
      "default": 1,
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "page_size": {
      "default": 8,
      "type": "integer",
      "minimum": 1,
      "maximum": 8
    },
    "note_type": {
      "default": "all",
      "type": "string",
      "enum": [
        "all",
        "image",
        "video",
        "commercial"
      ]
    },
    "order_by": {
      "default": "latest",
      "type": "string",
      "enum": [
        "latest",
        "reads",
        "engagement"
      ]
    },
    "traffic": {
      "default": "all",
      "type": "string",
      "enum": [
        "all",
        "organic"
      ]
    },
    "feature_tag": {
      "default": "",
      "type": "string",
      "maxLength": 64
    },
    "content_tag": {
      "default": "",
      "type": "string",
      "maxLength": 64
    },
    "third_party_only": {
      "default": false,
      "type": "boolean"
    }
  },
  "required": [
    "user_id"
  ],
  "additionalProperties": false
}

静态响应样例

application/json
{
  "code": 200,
  "request_id": "req_example_pgy_blogger_notes",
  "message": "success",
  "data": {
    "creator_id": "5c668b3e0000000012021605",
    "items": [
      {
        "id": "6a20edfa0000000021020951",
        "title": "Fixture campaign note",
        "cover_url": "https://ci.xiaohongshu.com/cover-fixture",
        "published_at": "2026-08-01",
        "note_type": "image",
        "reads": 1121,
        "likes": 118,
        "collects": 20,
        "offsite_readers": 9,
        "commercial": true,
        "brand_name": "Fixture brand"
      }
    ]
  },
  "page": {
    "page_number": 1,
    "page_size": 8,
    "total": 9,
    "has_more": true,
    "next_page": 2
  },
  "warnings": [],
  "meta": {
    "result_status": "complete",
    "balance_after": "49.61",
    "listing_id": "xiaohongshu.pgy.bloggers.notes",
    "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约束与默认值无额外约束必填性必填
字段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"
    },
    "message": {
      "type": "string",
      "const": "success"
    },
    "data": {
      "type": "object",
      "properties": {
        "creator_id": {
          "type": "string"
        },
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "cover_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "published_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "note_type": {
                "type": "string",
                "enum": [
                  "image",
                  "video"
                ]
              },
              "reads": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "likes": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "collects": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "offsite_readers": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "commercial": {
                "type": "boolean"
              },
              "brand_name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "title",
              "cover_url",
              "published_at",
              "note_type",
              "reads",
              "likes",
              "collects",
              "offsite_readers",
              "commercial",
              "brand_name"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "creator_id",
        "items"
      ],
      "additionalProperties": false
    },
    "page": {
      "type": "object",
      "properties": {
        "page_number": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "page_size": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "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.notes"
        },
        "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
}

已知限制

  • 每页最多 8 条且每页单独收费。
  • 少数跨域内容为主的博主可能返回空列表。
  • 筛选标签必须来自该博主当前可用标签。

接入示例

REST(cURL)

curl -X POST https://api.dataxapi.com/v1/xiaohongshu/pgy/bloggers/notes \
  -H "Authorization: Bearer $DATAXAPI_API_KEY" \
  -H "Idempotency-Key: your-stable-intent-key" \
  -H "Content-Type: application/json" \
  -d '{"user_id":"5c668b3e0000000012021605","page_number":1,"page_size":8}'

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