OCR-Multiple-Async API
Endpoint Information
- HTTP Method:
POST - Endpoint:
/upload-multiple-files-smart-ocr-async-v2
Request Headers
| Header | Value |
|---|---|
x-api-key | Your API key from Fracto |
Body Parameters (Form-Data):
| Parameter | Type | Required | Description | Accepted values |
|---|---|---|---|---|
files | file | Yes | The document file to be parsed (PDF, JPEG, PNG, TIFF). | Uploaded file (PDF, JPEG, PNG, TIFF.). |
parserApp | string | Yes | The parser application identifier, used to customize parsing for a specific document type. | String (asfesdfsdweq3e) |
page_range | string | No | Specify the pages or range of pages to parse. Format: "1,3-5" for pages 1, 3, 4, and 5. | Format: "1,3-5" for pages 1, 3, 4, and 5. |
qr_range | string | No | Specify the page number to extract QR code data. | Format: "1,3-5" for pages 1, 3, 4, and 5. |
model | string | No | Select the intelligence model for processing. Example: "v1" for advanced, "v2" for Light. | v1, v2 |
extra_accuracy | string | No | Enable enhanced accuracy mode for parsing complex or low-quality documents. Default is false. | True, False |
notes | string | No | Add additional notes or metadata to be passed along for post-processing workflows. | String |
Example Request (cURL)
curl --location 'https://prod-ml.fracto.tech/upload-multiple-files-smart-ocr-async-v2' \
--header 'x-api-key: API_KEY' \
--form 'files=@"/Users/gagankapoor/Downloads/VoterID Sample Documents (1)/4_Voter_back.jpeg"' \
--form 'files=@"/Users/gagankapoor/Downloads/VoterID Sample Documents (1)/4_Voter_front.jpeg"' \
--form 'parserApp= PARSER_ID'