> ## 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

# Compare creator audience overlap

> Measure audience overlap and deduplicated net unique reach across 2 to 10 distinct creators on the same platform.

The request and response panels use the schemas published by this API. Conditional requirements and allowed combinations are part of the request schema. Check the complete schema before combining filters or identities.

## Billing

| Input | Price unit | Price (USD) |
| - | - | - |
| All valid inputs | Per successful request | 1.196 |

Successful delivery is charged; a normal empty result is not charged.

Obtain an input-specific quote by sending the same request with `X-AISA-Cost-Mode: quote`; quoting neither executes the Task nor reserves funds. Execution reserves the estimated request charge and settles under the rules above. Use `X-AISA-Max-Price-USD` to cap the price.

Use an `Idempotency-Key` when executing a Task. For errors, inspect `error.code`, `error.request_id`, `error.retryable` and `error.retry_hint`. A reconciliation hint requires checking the existing request before retrying; do not assume a pending settlement is a refund.


## OpenAPI

````yaml 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:
        - Tasks
      summary: Compare creator audience overlap
      description: >-
        Measure audience overlap and deduplicated net unique reach across 2 to
        10 distinct creators on the same platform.
      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: Successful delivery or a normal empty result
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/creators.compare_audience_overlap_response
        default:
          description: Error; use the returned HTTP status and retry guidance
          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.