InfraRed Extract
Validate the document type, extract structured data, and run validations in one request.
Extract turns raw documents into structured, reliable data. Submit a document and get back clean, validated JSON that is ready to feed into your workflow.
Every request moves through three steps.
Step 1: Document classification
Verify that the document submitted matches the type your workflow requires before any data is extracted.
Step 2: Extraction
Pull structured data from the document. The fields returned depend on the document type.
Step 3: Intelligent validation
Check extracted values against your requirements, including field values, expiry dates, and document recency.
How it works
When you call the Extract API, all three steps run automatically in a single request.
Classify: the API checks whether the document matches the document type you specified. If it does not, the request fails immediately with a clear error before any processing occurs.
Extract: the API reads the document and returns structured fields in JSON.
Validate: if you included validation rules in your request, the API checks the extracted values against them and returns the results alongside the extracted data.
You do not need to make separate calls for each step. One request handles all three.
API reference
Need exact request and response details? Use the API section in the navigation.