Ocrspace
Learn how to use Ocrspace with Composio
Overview
SLUG: OCRSPACE
Description
OCR.space provides a free and paid OCR API for extracting text from images and PDFs, returning results in JSON format.
Authentication Details
API Key
generic_api_key
Connecting to Ocrspace
Create an auth config
Use the dashboard to create an auth config for the Ocrspace toolkit. This allows you to connect multiple Ocrspace accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Ocrspace Auth Config”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the Ocrspace toolkit’s playground
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Python
Tool List
OCRSPACE_OCR_PARSE_IMAGE_POST
Tool Name: OCR Parse Image
Description
Action Parameters
OCREngine
base64Image
detectOrientation
file
filetype
isCreateSearchablePdf
isOverlayRequired
isSearchablePdfHideTextLayer
isTable
language
scale
url
Action Response
data
error
successful