RapidAPI logo

EyeSpy

FREEMIUM
By eyespy
Updated 5 months ago
Commerce
2.2/10
Popularity Score
1376ms
Latency
-
Success Rate

EyeSpy API Documentation

EyeSpy is the world's best object recognition technology. The EyeSpy API powers this technology and allows developers the ability to incorporate the EyeSpy object recognition technology into their own apps and web applications.

View API Details
POSTIdentify an object in an image
POSTIdentify an object in an image

This endpoint allows you to upload an image so EyeSpy's technology can identify the object in the image. To ensure better results, you should crop the image and select the exact object that you want to identify.

Authorization:

description

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
imageBINARY
REQUIREDimage to identify
Optional Parameters
device_idSTRING
OPTIONALunique ID for device
limit_periodNUMBER
OPTIONALLimit period in seconds
limit_countNUMBER
OPTIONALNumber of requests that each device can send in "limit_period" seconds
Code Snippet
unirest.post("https://eyespy-eyespy-v1.p.rapidapi.com/identify")
.header("X-RapidAPI-Host", "eyespy-eyespy-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("device_id=test-unique-device-id")
.send("limit_period=600")
.send("limit_count=10")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://eyespy-eyespy-v1.p.rapidapi.com/identify
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://eyespy-eyespy-v1.p.rapidapi.com/identify")
.header("X-RapidAPI-Host", "eyespy-eyespy-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("device_id=test-unique-device-id")
.send("limit_period=600")
.send("limit_count=10")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication