Sign Up

Log In


By apicloud
Updated 4 months ago
Popularity Score
Success Rate

FaceRect API Documentation

FaceRect is a powerful and free API for face detection. It finds faces (both frontal and profile) on the image specified by URL or uploaded as a file and is able to find multiple faces on a single photo, producing JSON output with a bounding box for each face found. Check out visual demo here: Note that additionally FaceRect can find face features for each detected face (eyes, nose and mouth). For more precise face feature detection please see our FaceMark API:
View API Details

Supercharge your App

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

POSTProcess Image File
GETProcess Image URL
GETProcess Image URL

Returns a JSON object that contains detected faces for the image specified by URL (visual demo:

Sign up to test this endpoint
Log in
Header Parameters
Required Parameters
REQUIREDURL of the image you would like to find faces on. For supported image files and limitations please refer to the documentation:
Optional Parameters
OPTIONALSpecifies if you need to find face features (eyes, nose and mouth) or just faces. If set to "true", the API will search for face features within faces detected (for frontal faces only). Default value is "false". For more information please refer to the documentation:
Request Snippet
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
Sample Response


Log inSign up

Install SDK for NodeJS


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

.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard