Scanverion Face Comparison API

The FaceComparison API from Scanverion — 1 operation(s) for facecomparison.

GitHub OpenAPI

Operations 1

POST /api/v1/face-comparisons Compare two supplied portraits #

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/scanverion-com:scanverion-com-facecomparison-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

scanverion-com-facecomparison-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Scanverion Face Comparison API
  description: OCR-first document processing and workspace operations for Scanverion.
  version: v1
servers:
- url: https://api.scanverion.com/
tags:
- name: FaceComparison
paths:
  /api/v1/face-comparisons:
    post:
      tags:
      - FaceComparison
      summary: Compare two supplied portraits
      description: Workspace-authenticated face similarity comparison. Requires an Idempotency-Key header and exactly one JPEG/PNG upload or workspace portrait artifact per side. Faces must be at least 80 by 80 pixels and cover 2% of their image; smaller faces are ignored. Up to four eligible faces per side are cross-referenced, returning the highest-scoring pair and its geometry. Multiple eligible faces require review. Only the balanced policy is supported. Similarity is not an identity probability or a liveness result. Disabled until provider and readiness configuration is approved.
      operationId: FaceComparison_Compare
      parameters:
      - name: Idempotency-Key
        in: header
        description: Unique workspace-scoped comparison key. Reuse returns 409 rather than repeating a completed comparison; automatic response replay is not supported.
        required: true
        schema:
          maxLength: 128
          minLength: 1
          type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                ReferenceImage:
                  $ref: '#/components/schemas/IFormFile'
                ReferenceArtifactId:
                  type: string
                CandidateImage:
                  $ref: '#/components/schemas/IFormFile'
                CandidateArtifactId:
                  type: string
                Policy:
                  type: string
        required: true
      responses:
        '400':
          description: Bad Request
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/FaceComparisonResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/FaceComparisonResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/FaceComparisonResponse'
        '401':
          description: Unauthorized
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
        '402':
          description: Payment Required
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
        '403':
          description: Forbidden
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
        '409':
          description: Conflict
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
        '413':
          description: Payload Too Large
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
        '422':
          description: Unprocessable Entity
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
        '502':
          description: Bad Gateway
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
        '503':
          description: Service Unavailable
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
      security:
      - ApiKeyAuth: []
      - JwtAuth: []
components:
  schemas:
    FaceComparisonBounds:
      required:
      - left
      - top
      - width
      - height
      type: object
      properties:
        left:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        top:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        width:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        height:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
    FaceComparisonResponse:
      required:
      - requestId
      - decision
      - similarity
      - policy
      - reviewRequired
      - reasons
      - providerModel
      type: object
      properties:
        requestId:
          type: string
        decision:
          $ref: '#/components/schemas/FaceComparisonDecision'
        similarity:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - 'null'
          - number
          - string
          format: double
        policy:
          type: string
        reviewRequired:
          type: boolean
        reasons:
          type: array
          items:
            type: string
        providerModel:
          type: string
        credits:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        referenceFace:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/FaceComparisonFace'
        candidateFace:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/FaceComparisonFace'
    FaceComparisonFace:
      required:
      - bounds
      - landmarks
      type: object
      properties:
        bounds:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/FaceComparisonBounds'
        landmarks:
          type: array
          items:
            $ref: '#/components/schemas/FaceComparisonLandmark'
    IFormFile:
      type: string
      format: binary
    FaceComparisonLandmark:
      required:
      - type
      - x
      - y
      type: object
      properties:
        type:
          type: string
        x:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        y:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
    ScanverionProblemDetails:
      required:
      - title
      - status
      - code
      - requestId
      - retryable
      type: object
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
          format: int32
        detail:
          type: string
        code:
          type: string
        requestId:
          type: string
        traceId:
          type: string
        retryable:
          type: boolean
        retryAfter:
          type: string
        docsUrl:
          type: string
          format: uri
        errors:
          type: array
          items:
            type: object
      description: Stable Scanverion error envelope. Clients should use code and requestId rather than localized message text.
    FaceComparisonDecision:
      type: integer
  securitySchemes:
    ApiKeyAuth:
      type: http
      description: 'Use a Scanverion API key as a bearer token: skv_...'
      scheme: bearer
      bearerFormat: API key
    JwtAuth:
      type: http
      description: Use a dashboard session access token as a bearer token.
      scheme: bearer
      bearerFormat: JWT