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

# Score Campaign Fit

> Evaluate how well creators match a specific campaign using AI analysis. Returns a fit score (0-1), decision recommendation (good/neutral/avoid), and evidence-based explanations.

**Use cases:**
- Vet shortlisted creators before outreach
- Rank candidates for a specific campaign
- Get AI-generated talking points for why a creator fits

**How it works:**
1. Describe your campaign intent and target audience
2. Provide up to 100 creators to evaluate
3. Get detailed scores with explanations and evidence

Also callable as the `match_creators` MCP tool — see [the MCP server guide](/guides/mcp-server) for setup.

**Pricing**: 1 credit per creator scored ($0.01)



## OpenAPI

````yaml https://app.stainless.com/api/spec/documented/influship-api/openapi.documented.yml post /v1/creators/match
openapi: 3.1.0
info:
  title: Influship API
  version: 1.0.0
  description: >
    Public API for creator search, profile lookup, and campaign-fit analysis.


    ## Authentication


    Send your API key in the `X-API-Key` header on every authenticated request.


    ```bash

    curl -H "X-API-Key: your_api_key"
    https://api.influship.com/v1/creators/autocomplete?q=fitness

    ```


    ## Billing and Rate Limits


    The API uses credit-based billing and credit-based rate limits.


    - every endpoint has a credit cost

    - successful responses include `X-Credits-Charged` and `X-Credits-Features`

    - rate limits are enforced with per-minute and per-hour credit budgets

    - rate limit state is returned in the `RateLimit-*` headers


    ## Pagination


    List endpoints use cursor pagination.


    - send `limit` to control page size

    - use `next_cursor` from the response to fetch the next page

    - stop when `has_more` is `false`


    Search has one special rule:


    - `POST /v1/search` creates a persisted search session

    - `GET /v1/search/{id}` paginates that session for free

    - free pagination is capped by the original search `limit`


    ## Errors


    Errors use a consistent shape:


    ```json

    {
      "error": {
        "code": "rate_limit_exceeded",
        "message": "Rate limit exceeded (per minute)"
      }
    }

    ```


    See each operation for exact request and response schemas.
  contact:
    name: Influship Support
    email: support@influship.com
  license:
    name: Proprietary
    url: https://influship.com/terms
servers:
  - url: https://api.influship.com
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Health
    description: API health and status endpoints
  - name: Creators
    description: >-
      Retrieve creator profiles and discover new creators through search,
      autocomplete, and lookalike matching. Creators are cross-platform entities
      that may have profiles on multiple social networks.
  - name: Profiles
    description: >-
      Access individual social media profiles with detailed metrics, growth
      data, and activity information. Profiles are platform-specific accounts
      linked to creators.
  - name: Creator Emails
    description: >-
      Look up known creator email addresses by creator ID or social username.
      Empty or unresolved results are not billable.
  - name: Posts
    description: >-
      Retrieve and analyze social media posts with engagement metrics, media
      content, and performance data.
  - name: Search
    description: >-
      AI-powered semantic search to find creators using natural language
      queries. Understands intent and context to match creators based on content
      themes, audience, and style.
  - name: Live Scraping
    description: >-
      Fetch fresh data directly from social platforms in real-time. Use when you
      need the most current information or data for profiles not yet in our
      database.
paths:
  /v1/creators/match:
    post:
      tags:
        - Creators
      summary: Score Campaign Fit
      description: >-
        Evaluate how well creators match a specific campaign using AI analysis.
        Returns a fit score (0-1), decision recommendation (good/neutral/avoid),
        and evidence-based explanations.


        **Use cases:**

        - Vet shortlisted creators before outreach

        - Rank candidates for a specific campaign

        - Get AI-generated talking points for why a creator fits


        **How it works:**

        1. Describe your campaign intent and target audience

        2. Provide up to 100 creators to evaluate

        3. Get detailed scores with explanations and evidence


        Also callable as the `match_creators` MCP tool — see [the MCP server
        guide](/guides/mcp-server) for setup.


        **Pricing**: 1 credit per creator scored ($0.01)
      operationId: matchCreators
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MatchRequest'
        description: Score campaign fit request
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MatchResponse'
        '400':
          description: Validation error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error400'
        '401':
          description: Authentication error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error401'
        '403':
          description: Permission error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error403'
        '404':
          description: Not found error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error404'
        '429':
          description: >-
            Rate limit exceeded response. Check Retry-After header for backoff
            timing. Also returned (without RateLimit-* headers) when an IP is
            temporarily blocked after repeated failed authentication attempts.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error429'
        '500':
          description: Internal server error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error500'
      x-codeSamples:
        - lang: JavaScript
          source: |-
            import Influship from 'influship';

            const client = new Influship({
              apiKey: process.env['INFLUSHIP_API_KEY'], // This is the default and can be omitted
            });

            const response = await client.creators.match({
              creators: [{}, {}],
              intent: { query: 'Promote our new plant-based protein powder' },
            });

            console.log(response.data);
        - lang: Python
          source: |-
            import os
            from influship import Influship

            client = Influship(
                api_key=os.environ.get("INFLUSHIP_API_KEY"),  # This is the default and can be omitted
            )
            response = client.creators.match(
                creators=[{}, {}],
                intent={
                    "query": "Promote our new plant-based protein powder"
                },
            )
            print(response.data)
components:
  schemas:
    MatchRequest:
      type: object
      properties:
        creators:
          minItems: 1
          maxItems: 100
          type: array
          items:
            $ref: '#/components/schemas/MatchCreatorInput'
          description: Creators to evaluate
        intent:
          $ref: '#/components/schemas/MatchIntent'
      required:
        - creators
        - intent
      description: Score campaign fit request
      examples:
        - creators:
            - platform: instagram
              username: fitness_coach_jane
            - creator_id: 123e4567-e89b-12d3-a456-426614174000
          intent:
            query: Promote our new plant-based protein powder
            context: >-
              Target audience is health-conscious millennials interested in
              sustainable fitness
    MatchResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/MatchResponseData'
      required:
        - data
      additionalProperties: false
    Error400:
      $ref: '#/components/schemas/Error'
      description: Validation error response
      examples:
        - error:
            code: validation_error
            message: 'Invalid value for parameter ''limit'': must be between 1 and 100'
            param: limit
            request_id: 550e8400-e29b-41d4-a716-446655440000
    Error401:
      $ref: '#/components/schemas/Error'
      description: Authentication error response
      examples:
        - error:
            code: unauthorized
            message: API key missing or invalid
            request_id: 550e8400-e29b-41d4-a716-446655440000
    Error403:
      $ref: '#/components/schemas/Error'
      description: Permission error response
      examples:
        - error:
            code: forbidden
            message: Your plan does not include access to this endpoint
            request_id: 550e8400-e29b-41d4-a716-446655440000
    Error404:
      $ref: '#/components/schemas/Error'
      description: Not found error response
      examples:
        - error:
            code: not_found
            message: Creator with ID '123e4567-e89b-12d3-a456-426614174000' not found
            request_id: 550e8400-e29b-41d4-a716-446655440000
    Error429:
      $ref: '#/components/schemas/Error'
      description: >-
        Rate limit exceeded response. Check Retry-After header for backoff
        timing. Also returned (without RateLimit-* headers) when an IP is
        temporarily blocked after repeated failed authentication attempts.
      examples:
        - error:
            code: rate_limit_exceeded
            message: Rate limit exceeded (per minute)
            request_id: 550e8400-e29b-41d4-a716-446655440000
        - error:
            code: rate_limit_exceeded
            message: Rate limit exceeded (per hour)
            request_id: 550e8400-e29b-41d4-a716-446655440001
        - error:
            code: rate_limit_exceeded
            message: Too many failed authentication attempts. Please try again later.
            request_id: 550e8400-e29b-41d4-a716-446655440002
    Error500:
      $ref: '#/components/schemas/Error'
      description: Internal server error response
      examples:
        - error:
            code: internal_error
            message: An unexpected error occurred. Please try again later.
            request_id: 550e8400-e29b-41d4-a716-446655440000
    MatchCreatorInput:
      type: object
      properties:
        creator_id:
          description: Creator ID (use this OR platform+username)
          example: 123e4567-e89b-12d3-a456-426614174000
          type: string
          format: uuid
          pattern: >-
            ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
        platform:
          $ref: '#/components/schemas/Platform'
          description: Platform (required with username)
        username:
          description: Username (required with platform)
          example: fitness_coach_jane
          type: string
          minLength: 1
          maxLength: 50
      description: Creator identifier for match endpoint
    MatchIntent:
      type: object
      properties:
        query:
          type: string
          minLength: 1
          maxLength: 500
          description: Campaign description
          example: Looking for fitness influencers to promote our new protein bar
        context:
          description: Additional context about the campaign
          example: Target audience is health-conscious millennials
          type: string
          maxLength: 2000
      required:
        - query
      description: Campaign intent for creator matching
    MatchResponseData:
      type: array
      items:
        $ref: '#/components/schemas/MatchResultItem'
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              $ref: '#/components/schemas/ErrorCode'
              description: Machine-readable error code
            message:
              type: string
              description: Human-readable error message
              example: Request validation failed
            param:
              description: Parameter that caused the error (if applicable)
              example: query
              type: string
            request_id:
              description: Request ID for debugging
              example: 550e8400-e29b-41d4-a716-446655440000
              type: string
            details:
              description: Structured error context (e.g., field-level validation issues)
              type: object
              propertyNames:
                type: string
              additionalProperties: {}
          required:
            - code
            - message
          additionalProperties: false
      required:
        - error
      additionalProperties: false
    Platform:
      type: string
      enum:
        - instagram
      description: Social media platform
      example: instagram
    MatchResultItem:
      type: object
      properties:
        creator:
          type: object
          properties:
            id:
              type: string
              format: uuid
              pattern: >-
                ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
            name:
              type: string
            avatar_url:
              type:
                - string
                - 'null'
          required:
            - id
            - name
            - avatar_url
          additionalProperties: false
        input:
          type: object
          properties:
            creator_id:
              type: string
              format: uuid
              pattern: >-
                ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
            platform:
              $ref: '#/components/schemas/Platform'
            username:
              type: string
          additionalProperties: false
        match:
          $ref: '#/components/schemas/MatchResult'
      required:
        - creator
        - input
        - match
      additionalProperties: false
    ErrorCode:
      type: string
      enum:
        - validation_error
        - invalid_parameter
        - missing_parameter
        - unauthorized
        - forbidden
        - payment_required
        - not_found
        - rate_limit_exceeded
        - internal_error
        - service_unavailable
        - database_error
        - seed_not_found
        - invalid_seeds
        - seed_resolution_failed
        - lookalike_failed
        - get_profiles_failed
        - post_analysis_failed
        - match_failed
        - scraping_failed
        - transcript_unavailable
      description: Machine-readable error code for programmatic handling
      example: validation_error
    MatchResult:
      type: object
      properties:
        score:
          type: number
          minimum: 0
          maximum: 1
          description: Match score (0-1)
          example: 0.85
        decision:
          $ref: '#/components/schemas/MatchDecision'
        reasons:
          type: array
          items:
            type: object
            properties:
              text:
                type: string
                description: Human-readable reason for the match
                example: Strong fit due to fitness content focus and engaged audience
              fact_id:
                description: ID of the supporting fact, if applicable
                type: string
              source_post_id:
                description: ID of the source post, if applicable
                type: string
            required:
              - text
            additionalProperties: false
          description: Structured reasons supporting the decision
      required:
        - score
        - decision
        - reasons
      additionalProperties: false
    MatchDecision:
      type: string
      enum:
        - good
        - neutral
        - avoid
      description: Match decision recommendation
      example: good
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````