For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
  • Getting Started
    • Introduction
    • How Verifa Works
    • Quickstart
    • Choosing an Integration Method
  • Use Cases
    • KYC Onboarding
    • Age Verification
    • AML Compliance
    • Fraud Prevention
    • Marketplace Trust & Safety
  • Core Concepts
    • Overview
    • Sessions
    • Verifications & Checks
    • Workflows
    • Identities
    • Cases
    • Screening & Reports
    • Lists
  • Integration Guides
    • Overview
    • JavaScript SDK
    • Web Capture Flow
    • API-Only Integration
    • Mobile SDK
    • Webhooks Guide
    • MCP Server
    • Migrating from Persona
  • API Details
    • Overview
    • Authentication
    • Pagination
    • Rate Limiting
    • Versioning
    • Errors
    • Webhooks
    • Idempotency
    • Key Inflection
    • Data Access
    • Data Retention
  • Tutorials
    • Creating Your First Verification Session
    • Creating a Workflow
    • Receiving Webhooks & Validating Signatures
    • Handling Webhook Events
    • Custom Document Types & AI Extraction
  • Best Practices
    • Testing
    • Preventing Duplicates
    • Fraud Signals
    • Changelog
  • API Reference
      • GETGet verification analytics overview
      • GETGet session trend data
      • GETGet verification check breakdown
      • GETGet session funnel
      • GETGet top rejection reasons
      • GETGet verification stats by country
      • GETGet verification stats by document type
      • GETGet session processing time stats
      • GETGet daily conversion rate
API ReferenceAnalytics

Get verification stats by document type

GET
https://devapi.withverifa.com/api/v1/analytics/by-document-type
GET
/api/v1/analytics/by-document-type
$curl https://devapi.withverifa.com/api/v1/analytics/by-document-type \
> -H "X-API-Key: <apiKey>" \
> -H "Content-Type: application/json"
1{
2 "data": [
3 {
4 "document_type": "passport",
5 "total": 1500,
6 "verified": 1400,
7 "failed": 100,
8 "verification_rate": 0.933
9 },
10 {
11 "document_type": "drivers_license",
12 "total": 1200,
13 "verified": 1100,
14 "failed": 100,
15 "verification_rate": 0.917
16 },
17 {
18 "document_type": "state_id",
19 "total": 800,
20 "verified": 750,
21 "failed": 50,
22 "verification_rate": 0.938
23 },
24 {
25 "document_type": "unknown",
26 "total": 200,
27 "verified": 180,
28 "failed": 20,
29 "verification_rate": 0.9
30 }
31 ],
32 "days": 30
33}

Returns verification counts grouped by document classification (passport, drivers_license, state_id, etc.). Unclassified documents are grouped as unknown.

Required scope: sessions:read

Was this page helpful?
Previous

Get session processing time stats

Next
Built with

Authentication

X-API-Keystring

Organization API key. Keys are prefixed with vk_live_ (production) or vk_sandbox_ (sandbox).

Headers

Verifa-VersiondateOptional

API version date string (e.g. 2026-02-01). If omitted, the version pinned to your API key is used.

Key-InflectionenumOptionalDefaults to snake

Response key casing. Defaults to snake.

Allowed values:

Query parameters

daysintegerOptional7-90Defaults to 30

Response

Per-document-type verification stats.

datalist of objects
daysinteger

Errors

401
Unauthorized Error