Textify API
Analyze files based on their extension and document type to extract valuable insights and information.
Authorizations
Body
The file extension of the document to be analyzed. Must be one of the supported formats.
PDF, TIFF, JPG, PNG The type of document to be analyzed. This determines the extraction model and data structure used for analysis.
Supported Document Types:
- InvoiceMedical: Medical invoices and bills from healthcare providers, hospitals, clinics, and medical facilities. Extracts patient information, medical services, costs, and billing details.
- BusinessRegistration: Official business registration documents, corporate certificates, and company formation papers. Extracts business name, registration number, business type, and address information.
- InvoiceGeneral: Standard commercial invoices from businesses and service providers. Extracts invoice number, customer details, items/services, and payment information.
- MedicalObservation: Medical reports, patient records, and clinical observation documents. Extracts patient data, medical findings, diagnosis, and treatment information.
- Contract: Legal contracts, agreements, and binding documents between parties. Extracts contract terms, parties involved, dates, and legal obligations.
- ArrivalNotice: Shipping and logistics arrival notifications, delivery confirmations. Extracts shipment details, arrival dates, and delivery information.
- BillofLading: Transportation documents for cargo and freight shipments. Extracts shipping details, cargo information, and transport terms.
- Jobapplication: Employment applications, resumes, and job-related documents. Extracts applicant information, qualifications, and employment history.
- BalanceCertificate_KR: Korean bank balance certificates and financial statements. Extracts account information, balance details, and banking data.
- ProofOfAddress: Address verification documents, utility bills, and residence certificates. Extracts address information and verification details.
InvoiceMedical, BusinessRegistration, InvoiceGeneral, MedicalObservation, Contract, ArrivalNotice, BillofLading, Jobapplication, BalanceCertificate_KR, ProofOfAddress The base64 encoded data of the file to be analyzed. The file should be encoded without line breaks or additional formatting.
Response
Successful analysis
The status of the analysis operation. Returns 'success' when the document analysis is completed successfully.
"success"
Extracted structured data from the document
{
"patientName": "John Doe",
"hospitalName": "City General Hospital",
"totalAmount": 1500,
"services": [
{ "service": "Consultation", "amount": 200 },
{ "service": "Lab Test", "amount": 300 }
]
}Confidence score of the extraction, ranging from 0.0 to 1.0. Higher values indicate more reliable extraction results.
0.95