Document Classification API

Transform your document chaos into organized data. Simply upload mixed documents and our AI instantly sorts them—receipts, invoices, bank statements, W9s, or any custom category you define. Once classified, we automatically extract structured data from each document, all accessible through Veryfi's powerful API and Veryfi's Workflows.

Get Started for Free Free Demo
Document Classification API

How It Works

Upload a mix of documents to our API and let our AI, Vee, take over. Vee instantly classifies each document by type—invoice, receipt, bank statement, and more—and intelligently routes it to the appropriate extraction engine for high-accuracy data capture. Use it as a standalone classification API to detect document types, as a smart router that directs files to the right endpoint, or embed it into Veryfi Workflows as a classifier node to automatically sort documents into folders or trigger specialized extraction models. It’s document triage, powered by AI.

POST /api/v8/partner/classify · Live

Mixed files in.
One type out.

Veryfi’s Document Classification API reads a mixed upload and returns document_type.value with document_type.score from POST /api/v8/partner/classify. The pass shown here first checks that the file is a document, then locks a type — receipt, invoice, bank statement, W-9, and more — so the file can go to the matching extraction API. See the supported document types on this page.

Sample response { "document_type": { "score": 0.99, "value": "invoice" } }

Request: Invoice Data Extraction
import requests
import json
url = "https://api.veryfi.com/api/v8/partner/classify"
payload = json.dumps({
"file_url": "s3.filestorage.com/documents/document123.pdf"
})
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'CLIENT-ID': '<CLIENT_ID_VALUE>',
'AUTHORIZATION': 'apikey <USERNAME>:<API_KEY>'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
Response: Structured JSON
{
"document_type": {
"score": 0.99,
"value": "invoice"
}
}

Developer Friendly API

One call. Any pile of files. A document type and structured fields come back in the same JSON — invoice, receipt, bank statement, W-9, or a category you define. Same response in every country, language, and file format. Ship it worldwide on day one.

Day-1 classifier. Pre-trained and production-ready before your first commit.
Docs and FAQs that read like a teammate wrote them. Samples you can paste and run.
Humans, not a ticket void. Experts at HQ in Silicon Valley when you get stuck.

SOC 2 Type II · Live

Global Bank-Grade Security & Compliance

Veryfi SOC 2 Type II compliant Certified seal

SOC 2 Type II

CERT · VERIFIED

Certified. GDPR, CCPA, and ITAR compliant.

HIPAA Compliance

HIPAA · BAA

We sign BAAs. PHI handled under HIPAA safeguards.

99.995% Uptime SLA

SLA · SAMPLED

Dedicated NVIDIA DGX — not shared cloud GPUs.

Deployment Flexibility

REGION · READY

Cloud API, hybrid, or on-premise when required.

GDPR

GDPR · READY

EU data protection. Lawful processing and subject rights.

Audit Trail

API · LOGGED

Every API call logged and timestamped for regulators.

Built for the banks that can’t afford “good enough.”

3 Pillars of AI Services

Day-one-ready white-label AI tools that make you the hero your customers have been waiting for. Things you can build
Agents that work with your data to handle complex tasks in real-time.