RapidAPI logo

Text Recognition

FREEMIUM
By zyanyatech1
Updated 21 days ago
Tools
-/10
Popularity Score
-
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.
Code 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
General
Request URL: https://zyanyatech1-text-recognition-v1.p.rapidapi.com/
Request Method: POST
Response Headers
Response Body

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