# 蒲公英-博主详情

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v2/pgy/blogger/detail:
    post:
      summary: 蒲公英-博主详情
      deprecated: false
      description: >-
        获取博主的资料、标签与合作报价。对应蒲公英博主主页左侧的资料卡。


        获取单个博主的详细资料，包括昵称、简介、地区、标签、合作报价、所属机构等。


        - **user_id**: 博主用户ID，可从博主列表结果或蒲公英博主页 URL 中取得


        **返回主要字段**（都在 `data.data` 下）：博主资料（`userId`/`name`/`redId`
        小红书号/`headPhoto`/`location` 地区/`personalTags` 标签）、

        粉丝与互动（`fansCount` 粉丝数/`likeCollectCountInfo` 获赞收藏/`businessNoteCount`
        商业笔记数）、

        合作报价（`picturePrice` 图文价/`videoPrice` 视频价/`lowerPrice`
        起价）、合作状态（`cooperateState`/`isCollect`）。


        ## 示例


        ```bash

        curl -X POST 'https://rnote.dev/api/v2/pgy/blogger/detail'       -H
        'X-API-Key: sk-你的Key' -H 'Content-Type: application/json'       -d
        '{"user_id": "5a8cf39111be10466d285d6b"}'

        ```


        `user_id` 从 `/blogger/list` 结果的 `kols[].userId` 取，

        或从蒲公英博主主页 URL 里截。
      operationId: blogger_detail_api_v2_pgy_blogger_detail_post
      tags:
        - 蒲公英数据接口 V1
        - 蒲公英数据接口 V1
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserIdReq'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: string
          headers: {}
          x-apifox-name: ''
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          headers: {}
          x-apifox-name: ''
      security:
        - API Key: []
          x-apifox:
            schemeGroups:
              - id: yUO0aXULhx-xWZAQXtpDo
                schemeIds:
                  - API Key
            required: true
            use:
              id: yUO0aXULhx-xWZAQXtpDo
            scopes:
              yUO0aXULhx-xWZAQXtpDo:
                API Key: []
      x-apifox-folder: 蒲公英数据接口 V1
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/7909900/apis/api-479203860-run
components:
  schemas:
    UserIdReq:
      properties:
        user_id:
          type: string
          title: User Id
          description: 博主用户ID
          examples:
            - 5c668b3e0000000012021605
      type: object
      required:
        - user_id
      title: UserIdReq
      x-apifox-orders:
        - user_id
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
      x-apifox-orders:
        - detail
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          type: string
        ctx:
          type: object
          title: Context
          x-apifox-orders: []
          properties: {}
          x-apifox-ignore-properties: []
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
      x-apifox-orders:
        - loc
        - msg
        - type
        - input
        - ctx
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
  securitySchemes:
    API Key:
      type: apikey
      description: '在此输入 API Key (格式: sk-xxx)，所有 /api/v1/* 接口需要携带'
      in: header
      name: X-API-Key
    InternalKey:
      type: apikey
      description: 内部调用方服务密钥（机器平面），形如 `thk-int-{id}-{secret}`。
      in: header
      name: X-Internal-Key
    UserSession:
      type: apikey
      description: 终端用户会话令牌（门户平面），登录后由门户签发。
      in: header
      name: X-User-Session
    StaffSession:
      type: apikey
      description: 管理后台员工会话 cookie（管理平面），登录后种下。
      in: cookie
      name: admin_session
    Combination:
      group:
        - id: 1724839
        - id: 1724840
      type: combination
servers:
  - url: https://rnote.dev
    description: 正式环境
security: []

```
