OCR: Optical Character Recognition

Our API provides a feature to extract characters from images.

Extract text from images using OCR.

Performs optical character recognition (OCR) to extract text from images, enabling text-based analysis, data extraction, and automation workflows from visual data.

POST/v1/ocr
Body
document*any of
mimeTypeenum
application/pdfimage/gifimage/tiffimage/jpegimage/pngimage/bmpimage/webptext/html
pagesany of
Response
Request
const response = await fetch('/v1/ocr', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "document": "https://example.com"
    }),
});
const data = await response.json();

Last updated