RapidAPI logo

Sign Up

Log In

Cloudmersive OCR

FREEMIUM
By cloudmersive
Updated 2 months ago
5.5/10
Popularity Score
158ms
Latency
-
Success Rate

Cloudmersive OCR API Documentation

The powerful Optical Character Recognition (OCR) APIs let you convert scanned images of pages into recognized text.

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
POSTOCR Image to Text
POSTOCR Image to Text

Converts an uploaded image in common formats such as JPEG, PNG into text via Optical Character Recognition.

FreemiumThis API has a free, limited plan and paid plans. You can subscribe directly to it from RapidAPI.
Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
imageFileBINARY
OPTIONALImage file to perform OCR on. Common file formats such as PNG, JPEG are supported.
Request Snippet
unirest.post("https://cloudmersive-cloudmersive-ocr-v1.p.rapidapi.com/image/toText")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.attach("imageFile", fs.createReadStream("undefined"))
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://cloudmersive-cloudmersive-ocr-v1.p.rapidapi.com/image/toText")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.attach("imageFile", fs.createReadStream("undefined"))
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication