Skip to main content

OCR-Multiple-Async API

Endpoint Information

  • HTTP Method: POST
  • Endpoint: /upload-multiple-files-smart-ocr-async-v2

Request Headers

HeaderValue
x-api-keyYour API key from Fracto

Body Parameters (Form-Data):

ParameterTypeRequiredDescriptionAccepted values
filesfileYesThe document file to be parsed (PDF, JPEG, PNG, TIFF).Uploaded file (PDF, JPEG, PNG, TIFF.).
parserAppstringYesThe parser application identifier, used to customize parsing for a specific document type.String (asfesdfsdweq3e)
page_rangestringNoSpecify 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_rangestringNoSpecify the page number to extract QR code data.Format: "1,3-5" for pages 1, 3, 4, and 5.
modelstringNoSelect the intelligence model for processing. Example: "v1" for advanced, "v2" for Light.v1, v2
extra_accuracystringNoEnable enhanced accuracy mode for parsing complex or low-quality documents. Default is false.True, False
notesstringNoAdd 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'