Check out our latest APIs:MotorcyclesValidate Phone

Face Detect API

The Face Detect API uses state of the art computer vision algorithms to accurately and efficiently detect faces in images.



Given an input image, returns a list containing all detected faces in the form of bounding boxes.


image (required) - image file containing faces. Must be either JPEG or PNG format.


X-Api-Key (required) - API Key associated with your account.

Sample Request URL

Live Demo!

Sample Response

Code Examples

import requests

api_url = ''
image_file_descriptor = open('YOUR_IMAGE.jpeg', 'rb')
files = {'image': image_file_descriptor}
r =, files=files)
var formData = new FormData();
formData.append('image', $('#YOUR_IMAGE_FILE')[0].files[0]);
    method: 'POST',
    url: '',
    data: formData,
    enctype: 'multipart/form-data',
    processData: false,
    contentType: false, 
    success: function(result) {
    error: function ajaxError(jqXHR, textStatus, errorThrown) {
If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.