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

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# 对比达人受众重合度

> 测量同一平台下 2 到 10 个不重复达人之间的受众重合度与去重净独立触达规模。

上方请求和响应面板使用此 API 发布的 Schema。条件必填和参数组合限制属于请求契约；组合筛选条件或账号身份前，请查看完整 Schema。

## 计费

| 输入 | 计价单位 | 价格 (USD) |
| - | - | - |
| 所有有效输入 | 每次成功请求 | 1.196 |

成功交付才收费；正常查空不收费。

发送相同请求并带上 `X-AISA-Cost-Mode: quote`，获取与输入对应的报价；报价不执行任务，也不预扣资金。实际执行时预扣预计请求费用，按上述规则结算。用 `X-AISA-Max-Price-USD` 设置价格上限。

执行任务时使用 `Idempotency-Key`。错误时查看 `error.code`、`error.request_id`、`error.retryable` 和 `error.retry_hint`。提示先核对结算时，应先查询原请求再决定是否重试；不能把待结算当作已退款。


## OpenAPI

````yaml zh/tasks/openapi.json POST /v1/tasks/creators.compare_audience_overlap
openapi: 3.1.0
info:
  title: AIsa Tasks
  version: '1'
  x-aisa-runtime-release:
    artifact_revision: bb9f61546c624553de47ba90bb250efd556b62d28b22f66b0292dba7b76e7f98
    compiler_revision: c526abeda7de782545f4def8c1cb459bf542c373
    source_digest: f59d3afe3795607e3eb7f9faef35f6c1236b838d138c9a8f987bb13951192b1d
    generation: 16138
servers:
  - url: https://api.aisa.one
security:
  - bearer: []
paths:
  /v1/tasks/creators.compare_audience_overlap:
    post:
      tags:
        - 任务
      summary: 对比达人受众重合度
      description: 测量同一平台下 2 到 10 个不重复达人之间的受众重合度与去重净独立触达规模。
      operationId: task_creators.compare_audience_overlap
      parameters:
        - name: Idempotency-Key
          in: header
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/creators.compare_audience_overlap_request'
      responses:
        '200':
          description: 成功交付或正常查空
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/creators.compare_audience_overlap_response
        default:
          description: 错误；以实际 HTTP 状态和重试指引为准
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/creators.compare_audience_overlap_error'
components:
  schemas:
    creators.compare_audience_overlap_request:
      $ref: '#/components/schemas/creators.compare_audience_overlap_request.9_Request'
      $schema: https://json-schema.org/draft/2020-12/schema
      x-aisa-runtime-rules: {}
    creators.compare_audience_overlap_response:
      $ref: >-
        #/components/schemas/creators.compare_audience_overlap_response.9_Response
      $schema: https://json-schema.org/draft/2020-12/schema
      x-aisa-runtime-rules: {}
    creators.compare_audience_overlap_error:
      $ref: '#/components/schemas/creators.compare_audience_overlap_error.0_Error'
      $schema: https://json-schema.org/draft/2020-12/schema
    creators.compare_audience_overlap_request.9_Request:
      additionalProperties: false
      properties:
        input:
          $ref: >-
            #/components/schemas/creators.compare_audience_overlap_request.8_Input
        options:
          anyOf:
            - additionalProperties: false
              properties:
                detail:
                  anyOf:
                    - enum:
                        - ''
                        - full
                      type: string
                    - type: 'null'
                max_providers:
                  anyOf:
                    - maximum: 8
                      minimum: 0
                      type: integer
                    - type: 'null'
                providers:
                  anyOf:
                    - additionalProperties: false
                      properties:
                        exclude:
                          anyOf:
                            - items:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              type: array
                            - type: 'null'
                        only:
                          anyOf:
                            - items:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              type: array
                            - type: 'null'
                      type: object
                    - type: 'null'
                strategy:
                  anyOf:
                    - enum:
                        - ''
                        - waterfall
                      type: string
                    - type: 'null'
              type: object
            - type: 'null'
      required:
        - input
      type: object
    creators.compare_audience_overlap_response.9_Response:
      additionalProperties: false
      allOf:
        - else:
            properties:
              meta:
                properties:
                  delivered:
                    const: false
              result:
                type: 'null'
          if:
            properties:
              status:
                enum:
                  - found
                  - partial
          then:
            properties:
              meta:
                properties:
                  delivered:
                    const: true
              result:
                $ref: >-
                  #/components/schemas/creators.compare_audience_overlap_response.10_Result
        - if:
            properties:
              status:
                enum:
                  - found
            required:
              - status
          then:
            properties:
              result:
                properties:
                  coverage:
                    properties:
                      creator_breakdown:
                        enum:
                          - complete
                    required:
                      - creator_breakdown
                  missing_creators:
                    maxItems: 0
                    type: array
        - if:
            properties:
              status:
                enum:
                  - partial
            required:
              - status
          then:
            properties:
              result:
                properties:
                  coverage:
                    properties:
                      creator_breakdown:
                        enum:
                          - partial
                    required:
                      - creator_breakdown
      properties:
        meta:
          additionalProperties: false
          properties:
            approximate_fields:
              items:
                type: string
              type:
                - array
                - 'null'
            delivered:
              type: boolean
            missing_fields:
              additionalProperties:
                description: >-
                  A stable missing-field reason, or distinct reasons separated
                  by '; '. Unrecognized internal diagnostics are reported as
                  unspecified.
                pattern: >-
                  ^(not_returned|not_supported|unparseable|continuation_failed|reference_identity_unverifiable|page_limit_reached|report_part_failed|some_account_identities_unusable|some_creators_unanalyzed|insufficient_analyzable_creators|pagination_not_reported|page_or_item_limit_reached|some_distributions_unusable|quote_not_usable|quote_availability_not_returned|quote_price_not_returned|unspecified)(;
                  (not_returned|not_supported|unparseable|continuation_failed|reference_identity_unverifiable|page_limit_reached|report_part_failed|some_account_identities_unusable|some_creators_unanalyzed|insufficient_analyzable_creators|pagination_not_reported|page_or_item_limit_reached|some_distributions_unusable|quote_not_usable|quote_availability_not_returned|quote_price_not_returned|unspecified))*$
                type: string
              type:
                - object
                - 'null'
          required:
            - missing_fields
            - approximate_fields
            - delivered
          type: object
        result:
          anyOf:
            - $ref: >-
                #/components/schemas/creators.compare_audience_overlap_response.10_Result
            - type: 'null'
        status:
          enum:
            - found
            - partial
            - not_found
          type: string
        task:
          const: creators.compare_audience_overlap
        version:
          const: 1
      required:
        - task
        - version
        - status
        - result
        - meta
      type: object
    creators.compare_audience_overlap_error.0_Error:
      additionalProperties: false
      properties:
        error:
          $ref: >-
            #/components/schemas/creators.compare_audience_overlap_error.1_ErrorDetail
      required:
        - error
      type: object
    creators.compare_audience_overlap_request.8_Input:
      additionalProperties: false
      allOf:
        - properties:
            creators:
              items:
                maxLength: 2048
                type: string
              uniqueItems: true
        - if:
            properties:
              platform:
                enum:
                  - instagram
            required:
              - platform
          then:
            properties:
              creators:
                items:
                  anyOf:
                    - maxLength: 256
                      not:
                        pattern: >-
                          ^@?(\.\.?|[pP]|[rR][eE][eE][lL][sS]?|[sS][tT][oO][rR][iI][eE][sS]|[eE][xX][pP][lL][oO][rR][eE]|[aA][cC][cC][oO][uU][nN][tT][sS]|[dD][iI][rR][eE][cC][tT])$
                      pattern: ^@?[A-Za-z0-9._]+$
                      type: string
                    - format: uri
                      not:
                        pattern: >-
                          ^https://(www\.)?instagram\.com/(\.\.?|[pP]|[rR][eE][eE][lL][sS]?|[sS][tT][oO][rR][iI][eE][sS]|[eE][xX][pP][lL][oO][rR][eE]|[aA][cC][cC][oO][uU][nN][tT][sS]|[dD][iI][rR][eE][cC][tT])/?$
                      pattern: ^https://(www\.)?instagram\.com/[A-Za-z0-9._]+/?$
                      type: string
        - if:
            properties:
              platform:
                enum:
                  - tiktok
            required:
              - platform
          then:
            properties:
              creators:
                items:
                  anyOf:
                    - maxLength: 256
                      not:
                        pattern: ^@?\.\.?$
                      pattern: ^@?[A-Za-z0-9._]+$
                      type: string
                    - format: uri
                      not:
                        pattern: ^https://(www\.)?tiktok\.com/@\.\.?/?$
                      pattern: ^https://(www\.)?tiktok\.com/@[A-Za-z0-9._]+/?$
                      type: string
        - if:
            properties:
              platform:
                enum:
                  - youtube
            required:
              - platform
          then:
            properties:
              creators:
                items:
                  anyOf:
                    - maxLength: 256
                      not:
                        pattern: ^(@?\.\.?|UC[A-Za-z0-9_-]{22})$
                      pattern: ^@?[A-Za-z0-9._-]+$
                      type: string
                    - format: uri
                      not:
                        pattern: ^https://(www\.)?youtube\.com/@\.\.?/?$
                      pattern: ^https://(www\.)?youtube\.com/@[A-Za-z0-9._-]+/?$
                      type: string
      properties:
        creators:
          description: >-
            2 to 10 distinct creator handles (optional leading @) or canonical
            HTTPS profile URLs on the selected platform; YouTube channel ID URLs
            are unsupported.
          items:
            type: string
          maxItems: 10
          minItems: 2
          type: array
        platform:
          description: Platform shared by all compared creators.
          enum:
            - instagram
            - tiktok
            - youtube
          type: string
      required:
        - platform
        - creators
      type: object
    creators.compare_audience_overlap_response.10_Result:
      allOf:
        - $ref: >-
            #/components/schemas/creators.compare_audience_overlap_response.1_CreatorAudienceOverlapResult
        - allOf:
            - properties:
                summary:
                  properties:
                    total_unique_followers:
                      minItems: 1
                      minProperties: 1
                      not:
                        type: 'null'
                      pattern: \S
                  required:
                    - total_unique_followers
                  type: object
              required:
                - summary
              type: object
            - properties:
                creators:
                  minItems: 1
                  minProperties: 1
                  not:
                    type: 'null'
                  pattern: \S
              required:
                - creators
              type: object
    creators.compare_audience_overlap_error.1_ErrorDetail:
      additionalProperties: false
      else:
        properties:
          retryable:
            const: false
      if:
        properties:
          retry_hint:
            const: after_delay
      properties:
        code:
          enum:
            - invalid_request
            - invalid_input
            - unsupported_route
            - unsupported_capability
            - unsupported_identity
            - provider_rejected_input
            - invalid_cost_mode
            - cost_quote_payment_unsupported
            - cost_quote_unsupported
            - unpriced_request_value
            - missing_api_key
            - invalid_api_key
            - api_key_disabled
            - expired_api_key
            - unauthorized
            - forbidden
            - user_disabled
            - ip_not_allowed
            - api_key_access_denied
            - estimated_price_exceeds_max_price
            - insufficient_api_key_balance
            - insufficient_wallet_balance
            - task_not_found
            - endpoint_not_found
            - request_in_progress
            - request_already_completed
            - idempotency_conflict
            - request_id_conflict
            - request_too_large
            - method_not_allowed
            - rate_limit_exceeded
            - internal_error
            - service_unavailable
          type: string
        message:
          type: string
        param:
          type: string
        problems:
          items:
            type: string
          type: array
        request_id:
          minLength: 1
          type: string
        retry_hint:
          enum:
            - never
            - after_delay
            - reconcile_first
          type: string
        retryable:
          type: boolean
        similar_tasks:
          items:
            type: string
          type: array
        task_id:
          type: string
      required:
        - code
        - message
        - request_id
        - retryable
        - retry_hint
      then:
        properties:
          retryable:
            const: true
      type: object
    creators.compare_audience_overlap_response.1_CreatorAudienceOverlapResult:
      additionalProperties: false
      allOf:
        - if:
            properties:
              coverage:
                properties:
                  creator_breakdown:
                    enum:
                      - complete
                      - partial
                required:
                  - creator_breakdown
          then:
            properties:
              creators:
                minItems: 2
                type: array
        - if:
            properties:
              coverage:
                properties:
                  creator_breakdown:
                    enum:
                      - not_supported
                      - not_returned
                required:
                  - creator_breakdown
          then:
            properties:
              creators:
                type: 'null'
        - if:
            properties:
              coverage:
                properties:
                  creator_breakdown:
                    enum:
                      - complete
                required:
                  - creator_breakdown
          then:
            properties:
              missing_creators:
                maxItems: 0
      properties:
        coverage:
          $ref: >-
            #/components/schemas/creators.compare_audience_overlap_response.0_CreatorAudienceOverlapCoverage
        creators:
          anyOf:
            - items:
                $ref: >-
                  #/components/schemas/creators.compare_audience_overlap_response.3_CreatorOverlapItem
              minItems: 2
              type: array
            - type: 'null'
        missing_creators:
          items:
            $ref: >-
              #/components/schemas/creators.compare_audience_overlap_response.2_CreatorIdentity
          maxItems: 8
          type: array
        platform:
          enum:
            - instagram
            - tiktok
            - youtube
          type: string
        summary:
          $ref: >-
            #/components/schemas/creators.compare_audience_overlap_response.4_CreatorOverlapSummary
      required:
        - platform
        - coverage
        - summary
        - creators
        - missing_creators
      type: object
    creators.compare_audience_overlap_response.0_CreatorAudienceOverlapCoverage:
      additionalProperties: false
      properties:
        creator_breakdown:
          enum:
            - complete
            - partial
            - not_supported
            - not_returned
          type: string
      required:
        - creator_breakdown
      type: object
    creators.compare_audience_overlap_response.3_CreatorOverlapItem:
      additionalProperties: false
      properties:
        creator:
          $ref: >-
            #/components/schemas/creators.compare_audience_overlap_response.5_CreatorSummary
        shared_audience_ratio:
          anyOf:
            - maximum: 1
              minimum: 0
              type: number
            - type: 'null'
        unique_audience_ratio:
          anyOf:
            - maximum: 1
              minimum: 0
              type: number
            - type: 'null'
      required:
        - creator
        - unique_audience_ratio
        - shared_audience_ratio
      type: object
    creators.compare_audience_overlap_response.2_CreatorIdentity:
      additionalProperties: false
      allOf:
        - else:
            properties:
              id_namespace:
                type: 'null'
          if:
            properties:
              native_id:
                type: string
          then:
            properties:
              id_namespace:
                minLength: 1
                type: string
      anyOf:
        - properties:
            native_id:
              minLength: 1
              type: string
        - properties:
            handle:
              minLength: 1
              type: string
        - properties:
            profile_url:
              minLength: 1
              type: string
      properties:
        handle:
          anyOf:
            - pattern: \S
              type: string
            - type: 'null'
        id_namespace:
          anyOf:
            - pattern: \S
              type: string
            - type: 'null'
        native_id:
          anyOf:
            - pattern: \S
              type: string
            - type: 'null'
        platform:
          enum:
            - instagram
            - tiktok
            - youtube
            - twitter
            - twitch
            - onlyfans
            - douyin
            - xiaohongshu
            - bilibili
            - facebook
            - snapchat
            - pinterest
            - linkedin
            - discord
          type: string
        profile_url:
          anyOf:
            - format: uri
              type: string
            - type: 'null'
      required:
        - platform
        - native_id
        - id_namespace
        - handle
        - profile_url
      type: object
    creators.compare_audience_overlap_response.4_CreatorOverlapSummary:
      additionalProperties: false
      properties:
        analyzed_creators:
          maximum: 10
          minimum: 2
          type: integer
        population:
          enum:
            - followers
            - engagers
            - unspecified
          type: string
        requested_creators:
          maximum: 10
          minimum: 2
          type: integer
        total_followers:
          anyOf:
            - minimum: 0
              type: integer
            - type: 'null'
        total_unique_followers:
          anyOf:
            - minimum: 0
              type: integer
            - type: 'null'
        unique_reach_ratio:
          anyOf:
            - maximum: 1
              minimum: 0
              type: number
            - type: 'null'
        window:
          $ref: >-
            #/components/schemas/creators.compare_audience_overlap_response.6_CreatorWindow
      required:
        - requested_creators
        - analyzed_creators
        - population
        - window
        - total_followers
        - total_unique_followers
        - unique_reach_ratio
      type: object
    creators.compare_audience_overlap_response.5_CreatorSummary:
      additionalProperties: false
      properties:
        avatar_url:
          anyOf:
            - type: string
            - type: 'null'
        display_name:
          anyOf:
            - type: string
            - type: 'null'
        follower_count:
          anyOf:
            - minimum: 0
              type: integer
            - type: 'null'
        identity:
          $ref: >-
            #/components/schemas/creators.compare_audience_overlap_response.2_CreatorIdentity
      required:
        - identity
        - display_name
        - avatar_url
        - follower_count
      type: object
    creators.compare_audience_overlap_response.6_CreatorWindow:
      additionalProperties: false
      properties:
        days:
          anyOf:
            - minimum: 0
              type: integer
            - type: 'null'
        end:
          anyOf:
            - type: string
            - type: 'null'
        kind:
          enum:
            - snapshot
            - rolling
            - calendar
            - recent_posts
            - lifetime
            - unknown
          type: string
        label:
          anyOf:
            - type: string
            - type: 'null'
        start:
          anyOf:
            - type: string
            - type: 'null'
        timezone:
          anyOf:
            - type: string
            - type: 'null'
      required:
        - kind
        - start
        - end
        - days
        - timezone
        - label
      type: object
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````

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