RapidAPI logo

Sign Up

Log In

Text Recognition

FREEMIUM
By zyanyatech1
Updated 3 months ago
Tools
2.1/10
Popularity Score
59373ms
Latency
-
Success Rate

Text Recognition API Documentation

This API allows you to send an image on the form, and it will return in the response any text that the images includes. It is an Text Recognition software.

View API Details
POST/
POST/

The main endpoint to get an image recognized and the result will be the text that it recognizes. For this example we used the following Image (https://www.dropbox.com/s/hh1wg6eu2c7xayg/images_example.png?dl=1)

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
imgUploaderBINARY
REQUIREDThe image that has text and you need to get recognized.
Request Snippet
unirest.post("https://zyanyatech1-text-recognition-v1.p.rapidapi.com/")
.header("X-RapidAPI-Host", "zyanyatech1-text-recognition-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
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://zyanyatech1-text-recognition-v1.p.rapidapi.com/")
.header("X-RapidAPI-Host", "zyanyatech1-text-recognition-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication