Verifa Analytics API

The analytics API from Verifa, for analytics.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 9

GET /api/v1/analytics/overview Get verification analytics overview #
GET /api/v1/analytics/trend Get session trend data #
GET /api/v1/analytics/checks Get verification check breakdown #
GET /api/v1/analytics/funnel Get session funnel #
GET /api/v1/analytics/rejection-reasons Get top rejection reasons #
GET /api/v1/analytics/by-country Get verification stats by country #
GET /api/v1/analytics/by-document-type Get verification stats by document type #
GET /api/v1/analytics/processing-time Get session processing time stats #
GET /api/v1/analytics/conversion-rate Get daily conversion rate #

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/withverifa-com:withverifa-com-analytics-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

withverifa-com-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reference Analytics API
  version: 1.0.0
servers:
- url: https://api.withverifa.com
  description: https://api.withverifa.com
tags:
- name: Analytics
paths:
  /api/v1/analytics/overview:
    get:
      operationId: analytics_getAnalyticsOverview
      summary: Get verification analytics overview
      description: 'Returns high-level metrics for the current month including

        session counts, approval rate, and week-over-week trends.'
      tags:
      - Analytics
      parameters:
      - name: Verifa-Version
        in: header
        description: 'API version date string (e.g. `2026-02-01`). If omitted, the version

          pinned to your API key is used.

          '
        required: false
        schema:
          type: string
          format: date
      responses:
        '200':
          description: Analytics overview.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Analytics_getAnalyticsOverview_Response_200'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - ApiKeyAuth: []
  /api/v1/analytics/trend:
    get:
      operationId: analytics_getAnalyticsTrend
      summary: Get session trend data
      description: Returns daily session counts over a configurable time range.
      tags:
      - Analytics
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          minimum: 7
          maximum: 90
          default: 30
      - name: Verifa-Version
        in: header
        description: 'API version date string (e.g. `2026-02-01`). If omitted, the version

          pinned to your API key is used.

          '
        required: false
        schema:
          type: string
          format: date
      responses:
        '200':
          description: Daily trend data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Analytics_getAnalyticsTrend_Response_200'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - ApiKeyAuth: []
  /api/v1/analytics/checks:
    get:
      operationId: analytics_getAnalyticsChecks
      summary: Get verification check breakdown
      description: Returns pass/fail/error counts per verification policy.
      tags:
      - Analytics
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          minimum: 7
          maximum: 90
          default: 30
      - name: Verifa-Version
        in: header
        description: 'API version date string (e.g. `2026-02-01`). If omitted, the version

          pinned to your API key is used.

          '
        required: false
        schema:
          type: string
          format: date
      responses:
        '200':
          description: Check breakdown by policy.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Analytics_getAnalyticsChecks_Response_200'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - ApiKeyAuth: []
  /api/v1/analytics/funnel:
    get:
      operationId: analytics_getAnalyticsFunnel
      summary: Get session funnel
      description: 'Returns the session funnel with stage-by-stage counts and drop-off

        percentages. Stages: created → started_capture → submitted → completed.


        **Required scope:** `sessions:read`'
      tags:
      - Analytics
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          minimum: 7
          maximum: 90
          default: 30
      - name: Verifa-Version
        in: header
        description: 'API version date string (e.g. `2026-02-01`). If omitted, the version

          pinned to your API key is used.

          '
        required: false
        schema:
          type: string
          format: date
      - name: Key-Inflection
        in: header
        description: 'Response key casing. Defaults to `snake`.

          '
        required: false
        schema:
          $ref: '#/components/schemas/ApiV1AnalyticsFunnelGetParametersKeyInflection'
      responses:
        '200':
          description: Funnel stages with drop-off.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Analytics_getAnalyticsFunnel_Response_200'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - ApiKeyAuth: []
  /api/v1/analytics/rejection-reasons:
    get:
      operationId: analytics_getAnalyticsRejectionReasons
      summary: Get top rejection reasons
      description: 'Returns the most common failure reasons across all policy checks,

        ordered by frequency.


        **Required scope:** `sessions:read`'
      tags:
      - Analytics
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          minimum: 7
          maximum: 90
          default: 30
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
      - name: Verifa-Version
        in: header
        description: 'API version date string (e.g. `2026-02-01`). If omitted, the version

          pinned to your API key is used.

          '
        required: false
        schema:
          type: string
          format: date
      - name: Key-Inflection
        in: header
        description: 'Response key casing. Defaults to `snake`.

          '
        required: false
        schema:
          $ref: '#/components/schemas/ApiV1AnalyticsRejectionReasonsGetParametersKeyInflection'
      responses:
        '200':
          description: Top rejection reasons.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Analytics_getAnalyticsRejectionReasons_Response_200'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - ApiKeyAuth: []
  /api/v1/analytics/by-country:
    get:
      operationId: analytics_getAnalyticsByCountry
      summary: Get verification stats by country
      description: 'Returns verification approval and rejection counts grouped by the

        country extracted from the verified document. Sessions without

        extractable country data are grouped as `unknown`.


        **Required scope:** `sessions:read`'
      tags:
      - Analytics
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          minimum: 7
          maximum: 90
          default: 30
      - name: Verifa-Version
        in: header
        description: 'API version date string (e.g. `2026-02-01`). If omitted, the version

          pinned to your API key is used.

          '
        required: false
        schema:
          type: string
          format: date
      - name: Key-Inflection
        in: header
        description: 'Response key casing. Defaults to `snake`.

          '
        required: false
        schema:
          $ref: '#/components/schemas/ApiV1AnalyticsByCountryGetParametersKeyInflection'
      responses:
        '200':
          description: Per-country verification stats.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Analytics_getAnalyticsByCountry_Response_200'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - ApiKeyAuth: []
  /api/v1/analytics/by-document-type:
    get:
      operationId: analytics_getAnalyticsByDocumentType
      summary: Get verification stats by document type
      description: 'Returns verification counts grouped by document classification

        (passport, drivers_license, state_id, etc.). Unclassified documents

        are grouped as `unknown`.


        **Required scope:** `sessions:read`'
      tags:
      - Analytics
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          minimum: 7
          maximum: 90
          default: 30
      - name: Verifa-Version
        in: header
        description: 'API version date string (e.g. `2026-02-01`). If omitted, the version

          pinned to your API key is used.

          '
        required: false
        schema:
          type: string
          format: date
      - name: Key-Inflection
        in: header
        description: 'Response key casing. Defaults to `snake`.

          '
        required: false
        schema:
          $ref: '#/components/schemas/ApiV1AnalyticsByDocumentTypeGetParametersKeyInflection'
      responses:
        '200':
          description: Per-document-type verification stats.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Analytics_getAnalyticsByDocumentType_Response_200'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - ApiKeyAuth: []
  /api/v1/analytics/processing-time:
    get:
      operationId: analytics_getAnalyticsProcessingTime
      summary: Get session processing time stats
      description: 'Returns average, median (p50), and p95 session processing times in

        seconds. Only terminal sessions (completed or failed) within the

        window are included. Sessions longer than 2 hours are excluded as

        outliers.


        **Required scope:** `sessions:read`'
      tags:
      - Analytics
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          minimum: 7
          maximum: 90
          default: 30
      - name: Verifa-Version
        in: header
        description: 'API version date string (e.g. `2026-02-01`). If omitted, the version

          pinned to your API key is used.

          '
        required: false
        schema:
          type: string
          format: date
      - name: Key-Inflection
        in: header
        description: 'Response key casing. Defaults to `snake`.

          '
        required: false
        schema:
          $ref: '#/components/schemas/ApiV1AnalyticsProcessingTimeGetParametersKeyInflection'
      responses:
        '200':
          description: Processing time distribution.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Analytics_getAnalyticsProcessingTime_Response_200'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - ApiKeyAuth: []
  /api/v1/analytics/conversion-rate:
    get:
      operationId: analytics_getAnalyticsConversionRate
      summary: Get daily conversion rate
      description: 'Returns day-by-day approval rate for decided (completed or failed)

        sessions over the time window.


        **Required scope:** `sessions:read`'
      tags:
      - Analytics
      parameters:
      - name: days
        in: query
        required: false
        schema:
          type: integer
          minimum: 7
          maximum: 90
          default: 30
      - name: Verifa-Version
        in: header
        description: 'API version date string (e.g. `2026-02-01`). If omitted, the version

          pinned to your API key is used.

          '
        required: false
        schema:
          type: string
          format: date
      - name: Key-Inflection
        in: header
        description: 'Response key casing. Defaults to `snake`.

          '
        required: false
        schema:
          $ref: '#/components/schemas/ApiV1AnalyticsConversionRateGetParametersKeyInflection'
      responses:
        '200':
          description: Daily conversion rates.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Analytics_getAnalyticsConversionRate_Response_200'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
      - ApiKeyAuth: []
components:
  schemas:
    Analytics_getAnalyticsChecks_Response_200:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ApiV1AnalyticsChecksGetResponsesContentApplicationJsonSchemaDataItems'
        days:
          type: integer
      required:
      - data
      - days
      title: Analytics_getAnalyticsChecks_Response_200
    ApiV1AnalyticsChecksGetResponsesContentApplicationJsonSchemaDataItems:
      type: object
      properties:
        policy:
          type: string
        passed:
          type: integer
        failed:
          type: integer
        error:
          type: integer
        total:
          type: integer
        pass_rate:
          type:
          - number
          - 'null'
          format: double
      title: ApiV1AnalyticsChecksGetResponsesContentApplicationJsonSchemaDataItems
    ApiV1AnalyticsTrendGetResponsesContentApplicationJsonSchemaDataItems:
      type: object
      properties:
        date:
          type: string
          format: date
        total:
          type: integer
        completed:
          type: integer
        failed:
          type: integer
        under_review:
          type: integer
      title: ApiV1AnalyticsTrendGetResponsesContentApplicationJsonSchemaDataItems
    ApiV1AnalyticsRejectionReasonsGetResponsesContentApplicationJsonSchemaDataItems:
      type: object
      properties:
        policy:
          type: string
        reason:
          type: string
        count:
          type: integer
      title: ApiV1AnalyticsRejectionReasonsGetResponsesContentApplicationJsonSchemaDataItems
    ApiV1AnalyticsConversionRateGetParametersKeyInflection:
      type: string
      enum:
      - camel
      - kebab
      - snake
      default: snake
      title: ApiV1AnalyticsConversionRateGetParametersKeyInflection
    ApiV1AnalyticsFunnelGetResponsesContentApplicationJsonSchemaStagesItems:
      type: object
      properties:
        name:
          type: string
        label:
          type: string
        count:
          type: integer
        drop_off_count:
          type: integer
        drop_off_pct:
          type:
          - number
          - 'null'
          format: double
        completion_pct:
          type:
          - number
          - 'null'
          format: double
      title: ApiV1AnalyticsFunnelGetResponsesContentApplicationJsonSchemaStagesItems
    ApiV1AnalyticsByCountryGetResponsesContentApplicationJsonSchemaDataItems:
      type: object
      properties:
        country:
          type: string
        total:
          type: integer
        approved:
          type: integer
        rejected:
          type: integer
        approval_rate:
          type:
          - number
          - 'null'
          format: double
      title: ApiV1AnalyticsByCountryGetResponsesContentApplicationJsonSchemaDataItems
    ApiV1AnalyticsByCountryGetParametersKeyInflection:
      type: string
      enum:
      - camel
      - kebab
      - snake
      default: snake
      title: ApiV1AnalyticsByCountryGetParametersKeyInflection
    ApiV1AnalyticsRejectionReasonsGetParametersKeyInflection:
      type: string
      enum:
      - camel
      - kebab
      - snake
      default: snake
      title: ApiV1AnalyticsRejectionReasonsGetParametersKeyInflection
    ApiV1AnalyticsByDocumentTypeGetParametersKeyInflection:
      type: string
      enum:
      - camel
      - kebab
      - snake
      default: snake
      title: ApiV1AnalyticsByDocumentTypeGetParametersKeyInflection
    Analytics_getAnalyticsFunnel_Response_200:
      type: object
      properties:
        stages:
          type: array
          items:
            $ref: '#/components/schemas/ApiV1AnalyticsFunnelGetResponsesContentApplicationJsonSchemaStagesItems'
        summary:
          $ref: '#/components/schemas/ApiV1AnalyticsFunnelGetResponsesContentApplicationJsonSchemaSummary'
        days:
          type: integer
      title: Analytics_getAnalyticsFunnel_Response_200
    Error:
      type: object
      properties:
        error:
          type: string
          description: Short error code.
        detail:
          type: string
          description: Human-readable error description.
        status_code:
          type: integer
          description: HTTP status code.
      required:
      - error
      - status_code
      title: Error
    Analytics_getAnalyticsByDocumentType_Response_200:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ApiV1AnalyticsByDocumentTypeGetResponsesContentApplicationJsonSchemaDataItems'
        days:
          type: integer
      required:
      - data
      - days
      title: Analytics_getAnalyticsByDocumentType_Response_200
    Analytics_getAnalyticsTrend_Response_200:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ApiV1AnalyticsTrendGetResponsesContentApplicationJsonSchemaDataItems'
        days:
          type: integer
      required:
      - data
      - days
      title: Analytics_getAnalyticsTrend_Response_200
    ApiV1AnalyticsConversionRateGetResponsesContentApplicationJsonSchemaDataItems:
      type: object
      properties:
        date:
          type: string
          format: date
        total:
          type: integer
        approved:
          type: integer
        approval_rate:
          type:
          - number
          - 'null'
          format: double
      title: ApiV1AnalyticsConversionRateGetResponsesContentApplicationJsonSchemaDataItems
    ApiV1AnalyticsProcessingTimeGetParametersKeyInflection:
      type: string
      enum:
      - camel
      - kebab
      - snake
      default: snake
      title: ApiV1AnalyticsProcessingTimeGetParametersKeyInflection
    ApiV1AnalyticsFunnelGetResponsesContentApplicationJsonSchemaSummary:
      type: object
      properties:
        total_created:
          type: integer
        completed:
          type: integer
        failed:
          type: integer
        expired:
          type: integer
        overall_completion_rate:
          type:
          - number
          - 'null'
          format: double
      title: ApiV1AnalyticsFunnelGetResponsesContentApplicationJsonSchemaSummary
    Analytics_getAnalyticsProcessingTime_Response_200:
      type: object
      properties:
        avg_seconds:
          type:
          - number
          - 'null'
          format: double
        median_seconds:
          type:
          - number
          - 'null'
          format: double
        p95_seconds:
          type:
          - number
          - 'null'
          format: double
        sample_size:
          type: integer
        days:
          type: integer
      title: Analytics_getAnalyticsProcessingTime_Response_200
    ApiV1AnalyticsFunnelGetParametersKeyInflection:
      type: string
      enum:
      - camel
      - kebab
      - snake
      default: snake
      title: ApiV1AnalyticsFunnelGetParametersKeyInflection
    Analytics_getAnalyticsOverview_Response_200:
      type: object
      properties:
        total_sessions_this_month:
          type: integer
        completed_this_month:
          type: integer
        failed_this_month:
          type: integer
        under_review:
          type: integer
        approval_rate:
          type:
          - number
          - 'null'
          format: double
        avg_completion_seconds:
          type: integer
        sessions_last_7d:
          type: integer
        sessions_prev_7d:
          type: integer
        sessions_wow_delta:
          type: integer
      title: Analytics_getAnalyticsOverview_Response_200
    ApiV1AnalyticsByDocumentTypeGetResponsesContentApplicationJsonSchemaDataItems:
      type: object
      properties:
        document_type:
          type: string
        total:
          type: integer
        verified:
          type: integer
        failed:
          type: integer
        verification_rate:
          type:
          - number
          - 'null'
          format: double
      title: ApiV1AnalyticsByDocumentTypeGetResponsesContentApplicationJsonSchemaDataItems
    Analytics_getAnalyticsConversionRate_Response_200:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ApiV1AnalyticsConversionRateGetResponsesContentApplicationJsonSchemaDataItems'
        days:
          type: integer
      required:
      - data
      - days
      title: Analytics_getAnalyticsConversionRate_Response_200
    Analytics_getAnalyticsByCountry_Response_200:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ApiV1AnalyticsByCountryGetResponsesContentApplicationJsonSchemaDataItems'
        days:
          type: integer
      required:
      - data
      - days
      title: Analytics_getAnalyticsByCountry_Response_200
    Analytics_getAnalyticsRejectionReasons_Response_200:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ApiV1AnalyticsRejectionReasonsGetResponsesContentApplicationJsonSchemaDataItems'
        days:
          type: integer
      required:
      - data
      - days
      title: Analytics_getAnalyticsRejectionReasons_Response_200
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'Organization API key. Keys are prefixed with `vk_live_` (production) or

        `vk_sandbox_` (sandbox).

        '
    BearerAuth:
      type: http
      scheme: bearer
      description: 'Admin JWT token via `Authorization: Bearer <token>`.'