FairValid Fair Match API

Scoped lead previews, confirmed acquisitions and saved verified work emails.

GitHub OpenAPI

Operations 6

GET /api/v1/fairmatch/filters Read FairMatch search filters and limits #
POST /api/v1/fairmatch/search Search FairMatch lead previews #
POST /api/v1/fairmatch/quote Review the maximum lead acquisition charge #
POST /api/v1/fairmatch/batches Acquire selected verified work emails #
GET /api/v1/fairmatch/batches/{id} Read lead batch progress and delivered leads #
GET /api/v1/fairmatch/leads Read saved FairMatch leads #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/fairvalid-com:fairvalid-com-fairmatch-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

fairvalid-com-fairmatch-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: FairValid Customer Fair Match API
  version: v1
  description: Server-side API for scoped live and simulated test keys, email verification and FairMatch lead search. Live keys submit asynchronous verification jobs using the dashboard's verification queue, results and credit reservation/settlement rules. Key permissions, workspace access, key caps, available credits, processing limits and temporary service pauses still apply. Test keys simulate documented scenarios without provider calls or credit use.
servers:
- url: /
  description: Your FairValid application origin
security:
- FairValidKey: []
tags:
- name: FairMatch
  description: Scoped lead previews, confirmed acquisitions and saved verified work emails.
paths:
  /api/v1/fairmatch/filters:
    get:
      tags:
      - FairMatch
      operationId: getLeadFilters
      summary: Read FairMatch search filters and limits
      description: Requires leads:read for live keys. Test keys use isolated fictional fixtures, never live contacts or credit charges.
      x-required-scopes:
      - leads:read
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FairMatchFilters'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '503':
          $ref: '#/components/responses/Unavailable'
  /api/v1/fairmatch/search:
    post:
      tags:
      - FairMatch
      operationId: searchLeads
      summary: Search FairMatch lead previews
      description: Requires leads:read for live keys. Test keys use isolated fictional fixtures, never live contacts or credit charges.
      x-required-scopes:
      - leads:read
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FairMatchSearch'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '422':
          description: Invalid input or confirmation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          $ref: '#/components/responses/Unavailable'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FairMatchSearchInput'
  /api/v1/fairmatch/quote:
    post:
      tags:
      - FairMatch
      operationId: quoteLeads
      summary: Review the maximum lead acquisition charge
      description: Requires leads:read for live keys. Test keys use isolated fictional fixtures, never live contacts or credit charges.
      x-required-scopes:
      - leads:read
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FairMatchQuote'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          description: Insufficient balance or key cap
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Invalid input or confirmation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          $ref: '#/components/responses/Unavailable'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FairMatchQuoteInput'
  /api/v1/fairmatch/batches:
    post:
      tags:
      - FairMatch
      operationId: unlockLeads
      summary: Acquire selected verified work emails
      description: Requires leads:acquire for live keys. Test keys use isolated fictional fixtures, never live contacts or credit charges. Charge is four credits per newly delivered verified lead. Shared key cap counts verification and FairMatch reservations plus charges. A quote does not reserve credits. Preserve the same API key, Idempotency-Key and unchanged body after an uncertain response; replay precedes handle expiry. Receipts and saved contacts last up to 30 days subject to access and suppression.
      x-required-scopes:
      - leads:acquire
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FairMatchBatch'
        '202':
          description: Batch accepted and still working; honor Retry-After before polling
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FairMatchBatch'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          description: Insufficient balance or shared key lifetime cap
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Idempotency-Key was used with a different body
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Invalid input or confirmation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Sandbox request limit reached
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          $ref: '#/components/responses/Unavailable'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FairMatchUnlockInput'
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
  /api/v1/fairmatch/batches/{id}:
    get:
      tags:
      - FairMatch
      operationId: getLeadBatch
      summary: Read lead batch progress and delivered leads
      description: Requires leads:read for live keys. Test keys use isolated fictional fixtures, never live contacts or credit charges.
      x-required-scopes:
      - leads:read
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FairMatchBatch'
        '202':
          description: Still working; honor Retry-After
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FairMatchBatch'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          description: Batch missing, expired or belongs to another key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          $ref: '#/components/responses/Unavailable'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Opaque batch_id from acquisition; use unchanged with the same API key.
  /api/v1/fairmatch/leads:
    get:
      tags:
      - FairMatch
      operationId: getLeads
      summary: Read saved FairMatch leads
      description: Requires leads:read for live keys. Test keys use isolated fictional fixtures, never live contacts or credit charges.
      x-required-scopes:
      - leads:read
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FairMatchLeads'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '503':
          $ref: '#/components/responses/Unavailable'
      parameters:
      - name: query
        in: query
        schema:
          type: string
          maxLength: 100
      - name: cursor
        in: query
        schema:
          type: string
        description: Pass next_cursor unchanged. It is bound to the key, workspace and original query.
webhooks:
  jobEvent:
    post:
      summary: Job completion, cancellation or test ping
      description: HTTPS POST to the configured destination. Event ID is stable across retries. Accept 2xx within 10 seconds. Up to eight automatic attempts with backoff; history remains 30 days. Resolve the destination anew and refuse private addresses or redirects on every attempt. Current secrets sign new attempts; keep the previous secret for 24 hours after rotation to verify in-flight signatures. Deduplicate by FairValid-Webhook-Id.
      parameters:
      - name: FairValid-Webhook-Id
        in: header
        required: true
        schema:
          type: string
          format: uuid
      - name: FairValid-Webhook-Timestamp
        in: header
        required: true
        schema:
          type: string
          pattern: ^[0-9]+$
      - name: FairValid-Webhook-Signature
        in: header
        required: true
        description: fv1=<lowercase HMAC-SHA256 hex> over UTF-8 bytes fv1\n<event UUID>\n<Unix seconds>\n<raw JSON body>. Reject a timestamp more than five minutes from local time. Compare the MAC in constant time.
        schema:
          type: string
          pattern: ^fv1=[0-9a-f]{64}$
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookEvent'
      responses:
        '204':
          description: Accepted
      tags:
      - FairMatch
components:
  schemas:
    FairMatchPreview:
      type: object
      required:
      - selection_id
      - name
      - title
      - company
      - location
      - profile_url
      - selectable
      - owned
      properties:
        selection_id:
          type: string
        name:
          type: string
        title:
          type: string
        company:
          type: string
        location:
          type: string
        profile_url:
          type:
          - string
          - 'null'
        selectable:
          type: boolean
        owned:
          type: boolean
        email:
          type: string
          format: email
          description: Present only when already owned.
        verified_at:
          type: string
    FairMatchLeads:
      type: object
      required:
      - version
      - brand
      - product
      - mode
      - items
      - total
      - next_cursor
      properties:
        version:
          const: v1
        brand:
          const: FairValid
        product:
          const: FairMatch
        mode:
          enum:
          - live
          - sandbox
        items:
          type: array
          maxItems: 100
          items:
            $ref: '#/components/schemas/FairMatchLead'
        total:
          type: integer
          minimum: 0
        next_cursor:
          type:
          - string
          - 'null'
    Error:
      type: object
      required:
      - version
      - brand
      - error
      - request_id
      properties:
        version:
          const: v1
        brand:
          const: FairValid
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
            message:
              type: string
        request_id:
          type: string
          format: uuid
    FairMatchSearchInput:
      type: object
      required: []
      properties:
        filters:
          type: object
          additionalProperties: false
          properties:
            industry:
              type: array
              maxItems: 12
              items:
                type: string
                minLength: 1
                maxLength: 150
            employees:
              type: array
              maxItems: 12
              items:
                type: string
                minLength: 1
                maxLength: 150
            revenue:
              type: array
              maxItems: 12
              items:
                type: string
                minLength: 1
                maxLength: 150
            businessType:
              type: array
              maxItems: 12
              items:
                type: string
                minLength: 1
                maxLength: 150
            customerType:
              type: array
              maxItems: 12
              items:
                type: string
                minLength: 1
                maxLength: 150
            department:
              type: array
              maxItems: 12
              items:
                type: string
                minLength: 1
                maxLength: 150
            managementLevel:
              type: array
              maxItems: 12
              items:
                type: string
                minLength: 1
                maxLength: 150
            name:
              type: array
              maxItems: 12
              items:
                type: string
                minLength: 1
                maxLength: 150
            technologies:
              type: array
              maxItems: 12
              items:
                type: string
                minLength: 1
                maxLength: 150
            jobListing:
              type: array
              maxItems: 12
              items:
                type: string
                minLength: 1
                maxLength: 150
            fundingType:
              type: array
              maxItems: 12
              items:
                type: string
                minLength: 1
                maxLength: 150
            news:
              type: array
              maxItems: 12
              items:
                type: string
                minLength: 1
                maxLength: 150
            signals:
              type: array
              maxItems: 12
              items:
                type: string
                minLength: 1
                maxLength: 150
            companyName:
              type: array
              maxItems: 12
              items:
                type: string
                minLength: 1
                maxLength: 150
            domains:
              type: array
              maxItems: 12
              items:
                type: string
                minLength: 1
                maxLength: 150
            location:
              type: array
              maxItems: 12
              items:
                type: string
                minLength: 1
                maxLength: 150
            lookalikeDomain:
              type: array
              maxItems: 1
              items:
                type: string
                minLength: 1
                maxLength: 150
            keywords:
              type: array
              maxItems: 1
              items:
                type: string
                minLength: 1
                maxLength: 150
            titleInclude:
              type: array
              maxItems: 12
              items:
                type: string
                minLength: 1
                maxLength: 150
            titleExclude:
              type: array
              maxItems: 12
              items:
                type: string
                minLength: 1
                maxLength: 150
          default: {}
        query:
          type: string
          maxLength: 100
          default: ''
        onePerCompany:
          type: boolean
          default: false
        hideOwned:
          type: boolean
          default: false
        titleMode:
          enum:
          - contains
          - exact
          default: contains
        excludeTitleMode:
          enum:
          - contains
          - exact
          default: contains
      additionalProperties: false
    FairMatchQuoteInput:
      type: object
      required:
      - ids
      properties:
        ids:
          type: array
          minItems: 1
          maxItems: 50
          uniqueItems: true
          items:
            type: string
            minLength: 1
            maxLength: 3800
      additionalProperties: false
    FairMatchUnlockInput:
      type: object
      required:
      - ids
      - maximumCredits
      properties:
        ids:
          type: array
          minItems: 1
          maxItems: 50
          uniqueItems: true
          items:
            type: string
            minLength: 1
            maxLength: 3800
        maximumCredits:
          type: integer
          minimum: 0
          maximum: 200
          description: Explicit authorized maximum charge; current quote must not exceed it.
      additionalProperties: false
    FairMatchFilters:
      type: object
      required:
      - version
      - brand
      - product
      - mode
      - filters
      - title_modes
      - search_limit
      - acquisition_limit
      - selection_expires_in
      - credit_price_per_new_lead
      - permissions
      properties:
        version:
          const: v1
        brand:
          const: FairValid
        product:
          const: FairMatch
        mode:
          enum:
          - live
          - sandbox
        filters:
          type: array
          items:
            type: object
            required:
            - key
            - max_values
            properties:
              key:
                enum:
                - industry
                - employees
                - revenue
                - businessType
                - customerType
                - department
                - managementLevel
                - name
                - technologies
                - jobListing
                - fundingType
                - news
                - signals
                - companyName
                - domains
                - location
                - lookalikeDomain
                - keywords
                - titleInclude
                - titleExclude
              max_values:
                type: integer
              choices:
                type: array
                items:
                  type: string
        title_modes:
          type: array
          items:
            type: string
        search_limit:
          const: 50
        acquisition_limit:
          const: 50
        selection_expires_in:
          const: 1800
        credit_price_per_new_lead:
          const: 4
        permissions:
          type: object
          additionalProperties:
            type: string
    FairMatchLead:
      type: object
      required:
      - lead_id
      - name
      - title
      - company
      - location
      - profile_url
      - email
      - verified_at
      properties:
        lead_id:
          type: string
          pattern: ^[a-f0-9]{64}$
        name:
          type: string
        title:
          type: string
        company:
          type: string
        location:
          type: string
        profile_url:
          type:
          - string
          - 'null'
        email:
          type: string
          format: email
        verified_at:
          type: string
    FairMatchQuote:
      type: object
      required:
      - version
      - brand
      - product
      - mode
      - maximum_credits
      - credit_price_per_new_lead
      - owned_selection_ids
      properties:
        version:
          const: v1
        brand:
          const: FairValid
        product:
          const: FairMatch
        mode:
          enum:
          - live
          - sandbox
        maximum_credits:
          type: integer
          minimum: 0
        key_remaining_credits:
          type:
          - integer
          - 'null'
          minimum: 0
        credit_price_per_new_lead:
          const: 4
        owned_selection_ids:
          type: array
          items:
            type: string
        simulated_maximum_credits:
          type: integer
          minimum: 0
    FairMatchBatch:
      type: object
      required:
      - version
      - brand
      - product
      - mode
      - batch_id
      - status
      - completed
      - charged_credits
      - unavailable
      - leads
      properties:
        version:
          const: v1
        brand:
          const: FairValid
        product:
          const: FairMatch
        mode:
          enum:
          - live
          - sandbox
        batch_id:
          type: string
        status:
          enum:
          - working
          - complete
        completed:
          type: boolean
        charged_credits:
          type: integer
          minimum: 0
        unavailable:
          type: integer
          minimum: 0
        leads:
          type: array
          maxItems: 50
          items:
            $ref: '#/components/schemas/FairMatchLead'
        status_url:
          type: string
    WebhookEvent:
      type: object
      required:
      - id
      - type
      - api_version
      - mode
      - created_at
      - data
      properties:
        id:
          type: string
          pattern: ^evt_
        type:
          type: string
          enum:
          - job.completed
          - job.canceled
          - test.ping
        api_version:
          const: v1
        mode:
          type: string
          enum:
          - live
          - test
        created_at:
          type: string
          format: date-time
        data:
          type: object
          description: Job events include job_id, status, unique_addresses, summary, credits and results_url. Test ping includes only a message. No email addresses or provider data are sent.
    FairMatchSearch:
      type: object
      required:
      - version
      - brand
      - product
      - mode
      - items
      - total
      - selection_expires_in
      properties:
        version:
          const: v1
        brand:
          const: FairValid
        product:
          const: FairMatch
        mode:
          enum:
          - live
          - sandbox
        items:
          type: array
          maxItems: 50
          items:
            $ref: '#/components/schemas/FairMatchPreview'
        total:
          type:
          - integer
          - 'null'
          minimum: 0
        selection_expires_in:
          type:
          - integer
          - 'null'
          description: Live selection handles expire after 1800 seconds; sandbox handles are synthetic.
  responses:
    Unauthorized:
      description: Missing, revoked or insufficiently scoped key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unavailable:
      description: Temporary unavailability; retry with the same Idempotency-Key if a submission outcome is uncertain
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  parameters:
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: true
      description: 8–128 allowed characters. Retrying the same key and normalized body returns the original job; a changed body returns 409. Use a new key only for a deliberate fresh run.
      schema:
        type: string
        minLength: 8
        maxLength: 128
        pattern: ^[A-Za-z0-9._:-]+$
  securitySchemes:
    FairValidKey:
      type: http
      scheme: bearer
      bearerFormat: fv_live_ or fv_test_ server-side key
      description: Use one scoped key in Authorization. Secrets appear once at creation; never put them in a browser or mobile app.