Analyze a document image
POST/v2/ocr/analyze
Upload a document image and receive OCR-parsed data, detected document type, and country. This is a standalone utility endpoint that does not require a KYC session.
For country/document combos with a country specific schema, parsedData contains exactly the fields declared for that combo, even when the document is detected as another one (matchesExpected is then false). All schemas, per country, are listed at Countries specific schemas.
Auto detection: when country or type is not sent, the missing one is detected from the document, and parsedData contains the fields of the sent and detected combo's schema (extractionType is specific). Other combos fall back to a generic extraction (extractionType is generic).
Request
Responses
- 200
- 400
- 401
Document analysis result with OCR data and extracted fields
Invalid data provided
Invalid API key provided