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

# Xiaohongshu PGY Live Creator Search

> Search Xiaohongshu PGY commerce live stream creators by keyword with category and follower filters and 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_live_creator_search
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_live_creator_search:
    post:
      tags:
        - xiaohongshu
      summary: Xiaohongshu PGY Live Creator Search
      description: >-
        Search Xiaohongshu PGY commerce live stream creators by keyword with
        category and follower filters and 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_live_creator_search
      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:
              query: beauty
              limit: 20
            schema:
              $ref: '#/components/schemas/xiaohongshu_pgy_live_creator_search_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_live_creator_search_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_live_creator_search_input:
      additionalProperties: false
      properties:
        limit:
          default: 20
          description: Page size from 1 to 20; the source web page uses 20.
          examples:
            - 20
          maximum: 20
          minimum: 1
          title: Page Size
          type: integer
        query:
          default: ''
          description: Search by creator nickname.
          examples:
            - 李
          maxLength: 50
          title: Nick Name
          type: string
        category:
          anyOf:
            - additionalProperties: false
              description: >-
                Collaboration categories. A second-level category must be paired
                with its parent.
              properties:
                first:
                  anyOf:
                    - items:
                        maxLength: 64
                        type: string
                      maxItems: 30
                      type: array
                    - type: 'null'
                  description: >-
                    Top-level collaboration category. Use the exact label from
                    the livestream creator marketplace category options. A
                    top-level category alone is accepted.
                  title: First
                second:
                  anyOf:
                    - items:
                        maxLength: 64
                        type: string
                      maxItems: 200
                      type: array
                    - type: 'null'
                  description: >-
                    Second-level collaboration category paired with its parent.
                    May be omitted to filter only by the parent.
                  title: Second
              title: CategoryFilter
              type: object
            - type: 'null'
          default: null
          description: Collaboration category filters.
          title: Category
        buyer:
          anyOf:
            - additionalProperties: false
              description: Buyer group and content persona options.
              properties:
                group_tag:
                  anyOf:
                    - items:
                        maxLength: 64
                        type: string
                      maxItems: 30
                      type: array
                    - type: 'null'
                  description: >-
                    Buyer group tag: use exact leaf labels from the fashion
                    style, body type, beauty expertise or sports groups in the
                    buyer group options.
                  title: Group Tag
                persona_tag:
                  anyOf:
                    - items:
                        maxLength: 64
                        type: string
                      maxItems: 30
                      type: array
                    - type: 'null'
                  description: >-
                    Content persona tag: use exact leaf labels from the
                    occupation, family role, background, format, lifestyle,
                    skin, skincare or body-type groups in the content persona
                    options.
                  title: Persona Tag
              title: BuyerFilter
              type: object
            - type: 'null'
          default: null
          description: Buyer group and content persona filters.
          title: Buyer
        ecom:
          anyOf:
            - additionalProperties: false
              description: E-commerce conversion metrics.
              properties:
                avg_gmv:
                  anyOf:
                    - additionalProperties: false
                      allOf:
                        - anyOf:
                            - properties:
                                min:
                                  type: number
                              required:
                                - min
                            - properties:
                                max:
                                  type: number
                              required:
                                - max
                      description: >-
                        Numeric range for a preset band or custom range. At
                        least one endpoint is required.
                      properties:
                        min:
                          anyOf:
                            - maximum: 1000000000000
                              minimum: 0
                              type: number
                            - type: 'null'
                          description: Inclusive minimum.
                          title: Min
                        max:
                          anyOf:
                            - maximum: 1000000000000
                              minimum: 0
                              type: number
                            - type: 'null'
                          description: Inclusive maximum; omit for no upper bound.
                          title: Max
                      title: RangeFilter
                      type: object
                    - type: 'null'
                  description: Average livestream sales, in CNY.
                brand_avg_gmv:
                  anyOf:
                    - additionalProperties: false
                      allOf:
                        - anyOf:
                            - properties:
                                min:
                                  type: number
                              required:
                                - min
                            - properties:
                                max:
                                  type: number
                              required:
                                - max
                      description: >-
                        Numeric range for a preset band or custom range. At
                        least one endpoint is required.
                      properties:
                        min:
                          anyOf:
                            - maximum: 1000000000000
                              minimum: 0
                              type: number
                            - type: 'null'
                          description: Inclusive minimum.
                          title: Min
                        max:
                          anyOf:
                            - maximum: 1000000000000
                              minimum: 0
                              type: number
                            - type: 'null'
                          description: Inclusive maximum; omit for no upper bound.
                          title: Max
                      title: RangeFilter
                      type: object
                    - type: 'null'
                  description: Average livestream sales for collaborated brands, in CNY.
                atv:
                  anyOf:
                    - additionalProperties: false
                      allOf:
                        - anyOf:
                            - properties:
                                min:
                                  type: number
                              required:
                                - min
                            - properties:
                                max:
                                  type: number
                              required:
                                - max
                      description: >-
                        Numeric range for a preset band or custom range. At
                        least one endpoint is required.
                      properties:
                        min:
                          anyOf:
                            - maximum: 1000000000000
                              minimum: 0
                              type: number
                            - type: 'null'
                          description: Inclusive minimum.
                          title: Min
                        max:
                          anyOf:
                            - maximum: 1000000000000
                              minimum: 0
                              type: number
                            - type: 'null'
                          description: Inclusive maximum; omit for no upper bound.
                          title: Max
                      title: RangeFilter
                      type: object
                    - type: 'null'
                  description: >-
                    Average transaction value in CNY, matched against bands such
                    as 0-100, 100-200 or 200-500. Any overlapping band matches;
                    a requested range of 100-300 can include the 200-500 band.
              title: EcomFilter
              type: object
            - type: 'null'
          default: null
          description: E-commerce conversion filters.
          title: Ecom
        live:
          anyOf:
            - additionalProperties: false
              description: Livestream activity and performance metrics.
              properties:
                has_plan:
                  anyOf:
                    - type: boolean
                    - type: 'null'
                  description: Has a livestream planned.
                  title: Has Plan
                plan_days:
                  anyOf:
                    - items:
                        pattern: ^\d{8}$
                        type: string
                      maxItems: 60
                      type: array
                    - type: 'null'
                  description: >-
                    Planned livestream date in YYYYMMDD format, used with
                    has_plan. Leave empty for all dates.
                  title: Plan Days
                avg_viewer:
                  anyOf:
                    - additionalProperties: false
                      allOf:
                        - anyOf:
                            - properties:
                                min:
                                  type: number
                              required:
                                - min
                            - properties:
                                max:
                                  type: number
                              required:
                                - max
                      description: >-
                        Numeric range for a preset band or custom range. At
                        least one endpoint is required.
                      properties:
                        min:
                          anyOf:
                            - maximum: 1000000000000
                              minimum: 0
                              type: number
                            - type: 'null'
                          description: Inclusive minimum.
                          title: Min
                        max:
                          anyOf:
                            - maximum: 1000000000000
                              minimum: 0
                              type: number
                            - type: 'null'
                          description: Inclusive maximum; omit for no upper bound.
                          title: Max
                      title: RangeFilter
                      type: object
                    - type: 'null'
                  description: Average viewers per livestream.
                max_online:
                  anyOf:
                    - additionalProperties: false
                      allOf:
                        - anyOf:
                            - properties:
                                min:
                                  type: number
                              required:
                                - min
                            - properties:
                                max:
                                  type: number
                              required:
                                - max
                      description: >-
                        Numeric range for a preset band or custom range. At
                        least one endpoint is required.
                      properties:
                        min:
                          anyOf:
                            - maximum: 1000000000000
                              minimum: 0
                              type: number
                            - type: 'null'
                          description: Inclusive minimum.
                          title: Min
                        max:
                          anyOf:
                            - maximum: 1000000000000
                              minimum: 0
                              type: number
                            - type: 'null'
                          description: Inclusive maximum; omit for no upper bound.
                          title: Max
                      title: RangeFilter
                      type: object
                    - type: 'null'
                  description: Peak concurrent viewers.
              title: LiveFilter
              type: object
            - type: 'null'
          default: null
          description: Livestream activity and performance filters.
          title: Live
        fans:
          anyOf:
            - additionalProperties: false
              description: >-
                Follower purchasing power: count, age, gender and spending
                power.
              properties:
                count:
                  anyOf:
                    - additionalProperties: false
                      allOf:
                        - anyOf:
                            - properties:
                                min:
                                  type: number
                              required:
                                - min
                            - properties:
                                max:
                                  type: number
                              required:
                                - max
                      description: >-
                        Numeric range for a preset band or custom range. At
                        least one endpoint is required.
                      properties:
                        min:
                          anyOf:
                            - maximum: 1000000000000
                              minimum: 0
                              type: number
                            - type: 'null'
                          description: Inclusive minimum.
                          title: Min
                        max:
                          anyOf:
                            - maximum: 1000000000000
                              minimum: 0
                              type: number
                            - type: 'null'
                          description: Inclusive maximum; omit for no upper bound.
                          title: Max
                      title: RangeFilter
                      type: object
                    - type: 'null'
                  description: Follower count.
                age:
                  anyOf:
                    - enum:
                        - 0
                        - 1
                        - 2
                        - 3
                        - 4
                        - 5
                      type: integer
                    - type: 'null'
                  description: >-
                    Dominant follower age: 0 no filter, 1 under 18, 2 age 18-24,
                    3 age 25-34, 4 age 35-44, 5 over 44.
                  title: Age
                gender:
                  anyOf:
                    - enum:
                        - 0
                        - 1
                        - 2
                      type: integer
                    - type: 'null'
                  description: 'Dominant follower gender: 0 no filter, 1 male, 2 female.'
                  title: Gender
                consumption:
                  anyOf:
                    - items:
                        enum:
                          - high
                          - middle
                          - low
                        type: string
                      maxItems: 3
                      type: array
                    - type: 'null'
                  description: 'Follower spending power: high, middle or low.'
                  title: Consumption
              title: FansFilter
              type: object
            - type: 'null'
          default: null
          description: Follower purchasing power filters.
          title: Fans
        flags:
          anyOf:
            - additionalProperties: false
              description: >-
                Featured creator recommendation flags, all selected as
                checkboxes.
              properties:
                actively_seeking:
                  anyOf:
                    - type: boolean
                    - type: 'null'
                  description: Actively seeking collaborations.
                  title: Actively Seeking
                high_reply_rate:
                  anyOf:
                    - type: boolean
                    - type: 'null'
                  description: High invitation reply rate.
                  title: High Reply Rate
                contact_visible:
                  anyOf:
                    - type: boolean
                    - type: 'null'
                  description: Contact details are available.
                  title: Contact Visible
                cooperated_before:
                  anyOf:
                    - type: boolean
                    - type: 'null'
                  description: Has completed commercial collaborations.
                  title: Cooperated Before
                following:
                  anyOf:
                    - type: boolean
                    - type: 'null'
                  description: You follow this account.
                  title: Following
                follower:
                  anyOf:
                    - type: boolean
                    - type: 'null'
                  description: Follows you.
                  title: Follower
                live_potential_high:
                  anyOf:
                    - type: boolean
                    - type: 'null'
                  description: High livestream potential.
                  title: Live Potential High
                daily_buyer:
                  anyOf:
                    - type: boolean
                    - type: 'null'
                  description: Daily livestream buyers.
                  title: Daily Buyer
                is_star:
                  anyOf:
                    - type: boolean
                    - type: 'null'
                  description: Celebrity.
                  title: Is Star
              title: FlagFilter
              type: object
            - type: 'null'
          default: null
          description: Platform recommendation flags.
          title: Flags
        cursor:
          anyOf:
            - maxLength: 16384
              minLength: 1
              type: string
            - type: 'null'
          default: null
          title: Cursor
      title: PgyLiveCreatorSearchInput
      type: object
    xiaohongshu_pgy_live_creator_search_result:
      additionalProperties: false
      properties:
        platform:
          const: xiaohongshu
          default: xiaohongshu
          title: Platform
          type: string
        items:
          items:
            $ref: >-
              #/components/schemas/xiaohongshu_pgy_live_creator_search_result__LiveCommerceCreator
          maxItems: 20
          title: Items
          type: array
        pagination:
          $ref: >-
            #/components/schemas/xiaohongshu_pgy_live_creator_search_result__LiveCreatorPagination
        retrieved_at:
          maximum: 9007199254740991
          minimum: 0
          title: Retrieved At
          type: integer
      required:
        - items
        - pagination
        - retrieved_at
      title: PgyLiveCreatorsResult
      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_live_creator_search_result__LiveCommerceCreator:
      additionalProperties: false
      properties:
        commerce_categories:
          anyOf:
            - items:
                $ref: >-
                  #/components/schemas/xiaohongshu_pgy_live_creator_search_result__CreatorCategory
              maxItems: 100
              type: array
            - type: 'null'
          default: null
          title: Commerce Categories
        id:
          maxLength: 64
          minLength: 1
          pattern: ^[A-Za-z0-9_-]+$
          title: Id
          type: string
        name:
          maxLength: 4096
          title: Name
          type: string
        avatar_url:
          anyOf:
            - maxLength: 8192
              type: string
            - type: 'null'
          default: null
          title: Avatar Url
        categories:
          anyOf:
            - items:
                maxLength: 4096
                type: string
              maxItems: 100
              type: array
            - type: 'null'
          default: null
          title: Categories
        active_follower_ratio:
          anyOf:
            - maximum: 1
              minimum: 0
              type: number
            - type: 'null'
          default: null
          title: Active Follower Ratio
        is_star:
          anyOf:
            - type: boolean
            - type: 'null'
          default: null
          title: Is Star
        username:
          anyOf:
            - maxLength: 4096
              type: string
            - type: 'null'
          default: null
          title: Username
        follower_count:
          anyOf:
            - maximum: 9007199254740991
              minimum: 0
              type: integer
            - type: 'null'
          default: null
          title: Follower Count
        city:
          anyOf:
            - maxLength: 4096
              type: string
            - type: 'null'
          default: null
          title: City
        average_sale_amount:
          anyOf:
            - maxLength: 4096
              type: string
            - type: 'null'
          default: null
          description: >-
            Source display value for average livestream sales in CNY. It may be
            a range; do not treat it as an exact amount.
          title: Average Sale Amount
        average_transaction_value:
          anyOf:
            - maxLength: 4096
              type: string
            - type: 'null'
          default: null
          description: Source average transaction value band, in CNY.
          title: Average Transaction Value
        statistics:
          anyOf:
            - $ref: >-
                #/components/schemas/xiaohongshu_pgy_live_creator_search_result__LiveCommerceStatistics
            - type: 'null'
          default: null
      required:
        - id
        - name
      title: LiveCommerceCreator
      type: object
    xiaohongshu_pgy_live_creator_search_result__LiveCreatorPagination:
      additionalProperties: false
      properties:
        has_more:
          title: Has More
          type: boolean
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Next Cursor
        total:
          anyOf:
            - maximum: 9007199254740991
              minimum: 0
              type: integer
            - type: 'null'
          default: null
          title: Total
        accessible_count:
          description: >-
            Maximum number of records the source allows pagination to access;
            may be smaller than the total match count.
          maximum: 9007199254740991
          minimum: 0
          title: Accessible Count
          type: integer
      required:
        - has_more
        - accessible_count
      title: LiveCreatorPagination
      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_live_creator_search_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
    xiaohongshu_pgy_live_creator_search_result__LiveCommerceStatistics:
      additionalProperties: false
      properties:
        average_viewer_count:
          anyOf:
            - maximum: 9007199254740991
              minimum: 0
              type: integer
            - type: 'null'
          default: null
          title: Average Viewer Count
        peak_online_count:
          anyOf:
            - maximum: 9007199254740991
              minimum: 0
              type: integer
            - type: 'null'
          default: null
          title: Peak Online Count
        session_count:
          anyOf:
            - maximum: 9007199254740991
              minimum: 0
              type: integer
            - type: 'null'
          default: null
          title: Session Count
      title: LiveCommerceStatistics
      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.