Document Verification API

Verify documents before your API trusts them

Add a forensic document verification API to screen receipts, PDFs, bank statements, IDs, and payment screenshots before OCR, KYC, AP, underwriting, or AI agents act on extracted data.

POST /api/analyze
curl -X POST https://docverify.app/api/analyze \
  -H "X-API-Key: sk_live_..." \
  -F "file=@invoice.pdf" \
  -F "include_heatmap=true" \
  -F "ai_review=true"
{
  "result": {
    "risk": "high",
    "signals": ["metadata_anomaly", "text_region_edit"],
    "heatmap_url": "..."
  }
}

Verify before OCR

Run the authenticity check before your parser extracts totals, balances, names, dates, or IDs from a manipulated file.

Route suspicious uploads

Return a structured score, forensic signals, and heatmap evidence so your product can approve, request a replacement, or escalate.

Plug into agent workflows

Give AI agents a document-trust tool before they summarize uploaded PDFs, approve expenses, or move data into downstream systems.

Integration path

A verification gate for file intake.

The API sits between upload and trust. It is useful anywhere a user-submitted file can become evidence in an automated decision.

01

Create an API key in the DocVerify console.

02

Send a PDF, screenshot, scan, or image to /api/analyze.

03

Use the JSON result to continue automation or trigger review.

Document verification API FAQ

What is a document verification API?

A document verification API lets a product send an uploaded file to a verification service and receive a structured authenticity assessment. DocVerify checks for manipulation signals before OCR, onboarding, AP, underwriting, or agent workflows trust the file.

Is this the same as OCR?

No. OCR reads text from a document. A document verification API checks whether the uploaded document appears authentic, edited, recompressed, synthetic, or suspicious before extracted text is trusted.

Which files can the API analyze?

DocVerify accepts PDFs and common image formats including JPEG, PNG, WebP, HEIC, TIFF, BMP, and GIF. Typical API use cases include receipts, invoices, bank statements, IDs, payslips, payment screenshots, and onboarding documents.

Where should developers add document verification?

Put it at file intake: immediately after upload and before OCR, approval rules, KYC review, expense reimbursement, underwriting, or AI agent actions use the file as evidence.

Add document verification to your upload flow.

Start with the API docs, then connect DocVerify to the workflow where uploaded files become trusted evidence.

This site uses cookies for authentication and analytics. Free-tier uploads may be retained to improve our models; paid-tier uploads are never stored. Learn more