Skip to content
FinHubBy HabileLabs

Document Intelligence · OCR

Turn any printed or handwritten document into clean, machine-readable text with a single, general-purpose OCR call.

request · /v1/ocr/document-to-text

Document

Language hint

Send request

api · POST /v1/kyc/verify
POST /v1/kyc/verify
Authorization: Bearer sk_live_••••
{ "pan": "XXXXXXXXXX", "consent_artifact": "ca_••••" }
OKVerified
{
"status": "verified",
"name_match": "high",
"dpdp_purpose_code": "LOAN_KYC",
"consent": "sealed"
}

Overview

What the Document to Text OCR API Does

FinHub's Document to Text OCR API converts printed and handwritten documents, forms, letters, notes and scanned records, into structured, searchable text, preserving layout where it matters. It's built as a general-purpose extraction layer underneath FinHub's specialized document APIs, with consent capture and a tamper-evident audit log on every call.

Inputs

  • Document (PDF or image, printed or handwritten)
  • Language hint
  • Consent artifact ID

Returns

  • Full extracted text
  • Per-line/word confidence scores
  • Detected language
  • Layout metadata

POST /v1/ocr/document-to-text

How it works

Three Steps to a Verified Result

01

Upload the document

Send a printed or handwritten document image or PDF with a consent artifact over a single authenticated call.

02

We run OCR extraction

FinHub's OCR engine recognizes printed and handwritten text, scoring confidence at the line and word level.

03

Get machine-readable text

Receive full extracted text with confidence scores and optional layout metadata, sealed to your audit trail.

Use cases

Where Teams Use Document to Text OCR

  • Form and application digitization
  • Correspondence and letter archival
  • Handwritten note capture for claims processing
  • Building custom document pipelines on raw OCR text

FAQ

Document to Text OCR API, FAQs

Common questions about FinHub's Document to Text OCR API.

Yes. The API is tuned for both printed and handwritten text and returns confidence scores so you can route low-confidence extractions to manual review.

Ready to Add Document to Text OCR to Your Flow?

Book a demo and see the API return a verified result on your own test data in minutes.