- Category: documents & ocr
- Auth: API_KEY
- Composio-managed OAuth available? N/A
- Tools: 3
- Triggers: 0
- Slug:
OCRSPACE - Version: 20261101_00
Tools
Get Conversion Statistics
Get Conversion Statistics
Extract Text from Image/PDF (OCR)
Extract Text from Image/PDF (OCR)
Slug:
OCRSPACE_OCR_PARSE_IMAGE_POSTExtract text from images and PDFs supplied as a file, public URL, or base64 data URI. Supports table recognition, orientation detection, optional overlay coordinates, and searchable PDF generation; extracted text appears in the parsed results.Input Parameters
Publicly accessible URL of the image or PDF file. IMPORTANT: Must also set ‘filetype’ parameter (e.g., ‘PNG’, ‘JPG’, ‘PDF’) when using this option.
Binary content of image or PDF file for upload (multipart/form-data). Supports JPG, PNG, GIF, PDF, BMP, TIF formats.
If True, automatically upscales low-resolution images before OCR processing to improve text recognition accuracy.
If True, optimizes OCR for table/structured data recognition. Recommended for receipts, invoices, and tabular documents.
File format specification. REQUIRED when using ‘url’ or ‘base64Image’ parameters. Valid values: ‘PDF’, ‘GIF’, ‘PNG’, ‘JPG’, ‘TIF’, ‘BMP’. Not needed for ‘file’ parameter.
string ("ara" | "bul" | "chs" | "cht" | "hrv" | "cze" | "dan" | "dut" | "eng" | "fin" | "fre" | "ger" | "gre" | "hun" | "kor" | "ita" | "jpn" | "pol" | "por" | "rus" | "slv" | "spa" | "swe" | "tha" | "tur" | "ukr" | "vnm")
OCR language code: ara=Arabic, bul=Bulgarian, chs=Chinese Simplified, cht=Chinese Traditional, hrv=Croatian, cze=Czech, dan=Danish, dut=Dutch, eng=English, fin=Finnish, fre=French, ger=German, gre=Greek, hun=Hungarian, kor=Korean, ita=Italian, jpn=Japanese, pol=Polish, por=Portuguese, rus=Russian, slv=Slovenian, spa=Spanish, swe=Swedish, tha=Thai, tur=Turkish, ukr=Ukrainian, vnm=Vietnamese
OCR processing engine selection. 1=Standard engine (default, reliable), 2=Experimental engine (may have better accuracy for some documents)
Base64-encoded image as a data URI string. Format: ‘data:image/[format];base64,[encoded-data]’. IMPORTANT: Must also set ‘filetype’ parameter when using this option.
If True, automatically detects and corrects text orientation (rotation). Returns detected orientation angle in TextOrientation field.
If True, returns word-level bounding box coordinates (Left, Top, Height, Width) for each detected word. Useful for document layout analysis.
If True, generates a searchable PDF with an invisible text layer overlay. Returns PDF URL in SearchablePDFURL field.
If True (and isCreateSearchablePdf=True), hides the text layer in the generated searchable PDF. The text is still searchable but not visible.
Output
Extract Text from Image URL (GET)
Extract Text from Image URL (GET)
Slug:
OCRSPACE_PARSE_IMAGE_URLExtract text from images via URL using simplified GET endpoint. Only supports URL-based submissions - no file uploads or base64 encoding. Faster and simpler than POST endpoint for basic use cases.Input Parameters
Publicly accessible URL of the image or PDF file to OCR. Must be a valid HTTP/HTTPS URL.
string ("ara" | "bul" | "chs" | "cht" | "hrv" | "cze" | "dan" | "dut" | "eng" | "fin" | "fre" | "ger" | "gre" | "hun" | "kor" | "ita" | "jpn" | "pol" | "por" | "rus" | "slv" | "spa" | "swe" | "tha" | "tur" | "ukr" | "vnm")
OCR language code: ara=Arabic, bul=Bulgarian, chs=Chinese Simplified, cht=Chinese Traditional, hrv=Croatian, cze=Czech, dan=Danish, dut=Dutch, eng=English, fin=Finnish, fre=French, ger=German, gre=Greek, hun=Hungarian, kor=Korean, ita=Italian, jpn=Japanese, pol=Polish, por=Portuguese, rus=Russian, slv=Slovenian, spa=Spanish, swe=Swedish, tha=Thai, tur=Turkish, ukr=Ukrainian, vnm=Vietnamese
If True, returns word-level bounding box coordinates (Left, Top, Height, Width) for each detected word. Useful for document layout analysis.