> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Xiaohongshu PGY Similar Creators

> Get similar Xiaohongshu PGY creators by user ID with pagination.

Save `data.task_id` and call `GET /v1/tasks/{task_id}` to retrieve the result. OAuth access tokens require `tools:execute` and access to this tool.



## OpenAPI

````yaml /openapi.json post /v1/xiaohongshu_pgy_similar_creators
openapi: 3.1.0
info:
  title: Mouter API
  version: '1.0'
  description: Discover tools, submit tasks, and read results and charges.
servers:
  - url: https://api.mouter.ai
    description: Production
security: []
paths:
  /v1/xiaohongshu_pgy_similar_creators:
    post:
      tags:
        - xiaohongshu
      summary: Xiaohongshu PGY Similar Creators
      description: >-
        Get similar Xiaohongshu PGY creators by user ID with pagination.


        Save `data.task_id` and call `GET /v1/tasks/{task_id}` to retrieve the
        result. OAuth access tokens require `tools:execute` and access to this
        tool.
      operationId: submit_xiaohongshu_pgy_similar_creators
      parameters:
        - name: Idempotency-Key
          in: header
          required: false
          description: >-
            Reuse the key with the same credential and input when retrying the
            same submission.
          schema:
            maxLength: 128
            minLength: 1
            type: string
      requestBody:
        required: true
        content:
          application/json:
            example:
              user_id: 5f1234567890abcdef123456
            schema:
              $ref: '#/components/schemas/xiaohongshu_pgy_similar_creators_input'
      responses:
        '200':
          description: >-
            Existing task returned for an idempotent retry. An available result
            matches the output schema shown here.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    const: 0
                  message:
                    type: string
                    const: ''
                  data:
                    type: object
                    properties:
                      task_id:
                        type: string
                        pattern: ^[A-Za-z0-9_-]{1,40}$
                      status:
                        type: string
                        enum:
                          - submitted
                          - queued
                          - in_progress
                          - succeeded
                          - failed
                          - timed_out
                          - canceled
                      progress:
                        anyOf:
                          - type: integer
                            minimum: 0
                            maximum: 100
                          - type: 'null'
                      error:
                        anyOf:
                          - type: object
                            properties:
                              code:
                                type: string
                              message:
                                type: string
                            required:
                              - code
                              - message
                          - type: 'null'
                      created_at:
                        type: integer
                        minimum: 0
                        description: UTC Unix time in seconds.
                      updated_at:
                        type: integer
                        minimum: 0
                        description: UTC Unix time in seconds.
                      result:
                        anyOf:
                          - $ref: >-
                              #/components/schemas/xiaohongshu_pgy_similar_creators_result
                          - type: 'null'
                    required:
                      - task_id
                      - status
                      - progress
                      - error
                      - created_at
                      - updated_at
                      - result
                  request_id:
                    anyOf:
                      - type: string
                      - type: 'null'
                required:
                  - code
                  - message
                  - data
                  - request_id
          headers:
            Idempotency-Replayed:
              schema:
                type: string
                const: 'true'
        '202':
          description: Task accepted.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    const: 0
                  message:
                    type: string
                    const: ''
                  data:
                    $ref: '#/components/schemas/AcceptedTask'
                  request_id:
                    anyOf:
                      - type: string
                      - type: 'null'
                required:
                  - code
                  - message
                  - data
                  - request_id
              example:
                code: 0
                message: ''
                data:
                  task_id: task_example
                  status: submitted
                  progress: null
                  error: null
                  created_at: 1795488000
                  updated_at: 1795488000
                  result: null
                request_id: req_example
        '400':
          $ref: '#/components/responses/Error400'
        '401':
          $ref: '#/components/responses/Error401'
        '402':
          $ref: '#/components/responses/Error402'
        '403':
          $ref: '#/components/responses/Error403'
        '409':
          $ref: '#/components/responses/Error409'
        '413':
          $ref: '#/components/responses/Error413'
        '415':
          $ref: '#/components/responses/Error415'
        '429':
          $ref: '#/components/responses/Error429'
        '503':
          $ref: '#/components/responses/Error503'
      security:
        - Bearer: []
components:
  schemas:
    xiaohongshu_pgy_similar_creators_input:
      additionalProperties: false
      properties:
        user_id:
          maxLength: 64
          minLength: 1
          pattern: ^[A-Za-z0-9_-]+$
          title: User Id
          type: string
        page:
          default: 1
          maximum: 100
          minimum: 1
          title: Page
          type: integer
        limit:
          default: 4
          maximum: 4
          minimum: 1
          title: Limit
          type: integer
      required:
        - user_id
      title: SimilarCreatorsInput
      type: object
    xiaohongshu_pgy_similar_creators_result:
      additionalProperties: false
      properties:
        platform:
          const: xiaohongshu
          default: xiaohongshu
          title: Platform
          type: string
        user_id:
          maxLength: 64
          minLength: 1
          pattern: ^[A-Za-z0-9_-]+$
          title: User Id
          type: string
        items:
          items:
            $ref: >-
              #/components/schemas/xiaohongshu_pgy_similar_creators_result__PgyCreator
          maxItems: 100
          title: Items
          type: array
        pagination:
          $ref: >-
            #/components/schemas/xiaohongshu_pgy_similar_creators_result__NumberedPage
        retrieved_at:
          maximum: 9007199254740991
          minimum: 0
          title: Retrieved At
          type: integer
      required:
        - user_id
        - items
        - pagination
        - retrieved_at
      title: SimilarCreatorsResult
      type: object
    AcceptedTask:
      type: object
      properties:
        task_id:
          type: string
          pattern: ^[A-Za-z0-9_-]{1,40}$
        status:
          type: string
          enum:
            - submitted
            - queued
            - in_progress
            - succeeded
            - failed
            - timed_out
            - canceled
        progress:
          anyOf:
            - type: integer
              minimum: 0
              maximum: 100
            - type: 'null'
        error:
          anyOf:
            - type: object
              properties:
                code:
                  type: string
                message:
                  type: string
              required:
                - code
                - message
            - type: 'null'
        created_at:
          type: integer
          minimum: 0
          description: UTC Unix time in seconds.
        updated_at:
          type: integer
          minimum: 0
          description: UTC Unix time in seconds.
        result:
          type: 'null'
      required:
        - task_id
        - status
        - progress
        - error
        - created_at
        - updated_at
        - result
    xiaohongshu_pgy_similar_creators_result__PgyCreator:
      additionalProperties: false
      properties:
        id:
          maxLength: 64
          minLength: 1
          pattern: ^[A-Za-z0-9_-]+$
          title: Id
          type: string
        name:
          maxLength: 4096
          title: Name
          type: string
        username:
          anyOf:
            - maxLength: 4096
              type: string
            - type: 'null'
          default: null
          title: Username
        avatar_url:
          anyOf:
            - maxLength: 2048
              type: string
            - type: 'null'
          default: null
          title: Avatar Url
        location:
          anyOf:
            - maxLength: 4096
              type: string
            - type: 'null'
          default: null
          title: Location
        gender:
          anyOf:
            - enum:
                - male
                - female
              type: string
            - type: 'null'
          default: null
          title: Gender
        gender_code:
          anyOf:
            - type: integer
            - type: 'null'
          default: null
          title: Gender Code
        level:
          anyOf:
            - type: integer
            - type: 'null'
          default: null
          title: Level
        cooperation:
          anyOf:
            - $ref: >-
                #/components/schemas/xiaohongshu_pgy_similar_creators_result__CreatorCooperation
            - type: 'null'
          default: null
        statistics:
          $ref: >-
            #/components/schemas/xiaohongshu_pgy_similar_creators_result__CreatorMetrics
        prices:
          anyOf:
            - $ref: >-
                #/components/schemas/xiaohongshu_pgy_similar_creators_result__CreatorPrices
            - type: 'null'
          default: null
        categories:
          anyOf:
            - items:
                $ref: >-
                  #/components/schemas/xiaohongshu_pgy_similar_creators_result__CreatorCategory
              maxItems: 100
              type: array
            - type: 'null'
          default: null
          title: Categories
        personal_tags:
          anyOf:
            - items:
                maxLength: 4096
                type: string
              maxItems: 100
              type: array
            - type: 'null'
          default: null
          title: Personal Tags
        feature_tags:
          anyOf:
            - items:
                maxLength: 4096
                type: string
              maxItems: 100
              type: array
            - type: 'null'
          default: null
          title: Feature Tags
      required:
        - id
        - name
        - statistics
      title: PgyCreator
      type: object
    xiaohongshu_pgy_similar_creators_result__NumberedPage:
      additionalProperties: false
      properties:
        page:
          maximum: 9007199254740991
          minimum: 0
          title: Page
          type: integer
        limit:
          maximum: 9007199254740991
          minimum: 0
          title: Limit
          type: integer
        total:
          anyOf:
            - maximum: 9007199254740991
              minimum: 0
              type: integer
            - type: 'null'
          default: null
          title: Total
      required:
        - page
        - limit
      title: NumberedPage
      type: object
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        data:
          type: 'null'
        request_id:
          anyOf:
            - type: string
            - type: 'null'
      required:
        - code
        - message
        - data
        - request_id
    xiaohongshu_pgy_similar_creators_result__CreatorCooperation:
      additionalProperties: false
      properties:
        status_code:
          anyOf:
            - type: integer
            - type: 'null'
          default: null
          title: Status Code
        image_post_status_code:
          anyOf:
            - type: integer
            - type: 'null'
          default: null
          title: Image Post Status Code
        video_post_status_code:
          anyOf:
            - type: integer
            - type: 'null'
          default: null
          title: Video Post Status Code
      title: CreatorCooperation
      type: object
    xiaohongshu_pgy_similar_creators_result__CreatorMetrics:
      additionalProperties: false
      properties:
        impression_median_30d:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
          default: null
          title: Impression Median 30D
        image_impression_median_30d:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
          default: null
          title: Image Impression Median 30D
        video_impression_median_30d:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
          default: null
          title: Video Impression Median 30D
        sponsored_impression_median_30d:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
          default: null
          title: Sponsored Impression Median 30D
        follower_count:
          anyOf:
            - maximum: 9007199254740991
              minimum: 0
              type: integer
            - type: 'null'
          default: null
          title: Follower Count
        follower_growth_count_30d:
          anyOf:
            - type: integer
            - type: 'null'
          default: null
          title: Follower Growth Count 30D
        follower_growth_rate_30d:
          anyOf:
            - type: number
            - type: 'null'
          default: null
          title: Follower Growth Rate 30D
        follower_active_level_28d:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
          default: null
          title: Follower Active Level 28D
        engagement_median:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
          default: null
          title: Engagement Median
        interaction_median_30d:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
          default: null
          title: Interaction Median 30D
        sponsored_read_median_30d:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
          default: null
          title: Sponsored Read Median 30D
        sponsored_post_count_30d:
          anyOf:
            - maximum: 9007199254740991
              minimum: 0
              type: integer
            - type: 'null'
          default: null
          title: Sponsored Post Count 30D
        business_post_count:
          anyOf:
            - maximum: 9007199254740991
              minimum: 0
              type: integer
            - type: 'null'
          default: null
          title: Business Post Count
        live_count_30d:
          anyOf:
            - maximum: 9007199254740991
              minimum: 0
              type: integer
            - type: 'null'
          default: null
          title: Live Count 30D
        average_live_viewers:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
          default: null
          title: Average Live Viewers
        average_live_gmv_90d:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
          default: null
          title: Average Live Gmv 90D
      title: CreatorMetrics
      type: object
    xiaohongshu_pgy_similar_creators_result__CreatorPrices:
      additionalProperties: false
      properties:
        currency:
          const: CNY
          default: CNY
          title: Currency
          type: string
        image_post:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
          default: null
          title: Image Post
        video_post:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
          default: null
          title: Video Post
        minimum:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
          default: null
          title: Minimum
      title: CreatorPrices
      type: object
    xiaohongshu_pgy_similar_creators_result__CreatorCategory:
      additionalProperties: false
      properties:
        name:
          maxLength: 4096
          title: Name
          type: string
        subcategories:
          items:
            maxLength: 4096
            type: string
          maxItems: 100
          title: Subcategories
          type: array
      required:
        - name
      title: CreatorCategory
      type: object
  responses:
    Error400:
      description: Invalid request parameters, headers, or body.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error401:
      description: A valid credential is required.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error402:
      description: Insufficient balance or credential allowance.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error403:
      description: The credential lacks permission.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error409:
      description: The idempotency key was reused with a different input.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error413:
      description: The request body is too large.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error415:
      description: The request body must use application/json.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error429:
      description: The active task limit was reached.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Error503:
      description: The operation is temporarily unavailable.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      description: A Mouter API key or OAuth access token.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.