Face Analysis API

Face Analysis API

This API uses Deep-Learning to provide an analysis of the faces that you pass to it.

API description

About the API:

Using deep learning, this API runs an analysis of the face URLs that you pass to it. Be able to analyze the gender and estimated age of the person, and also, additional features.  


What this API receives and what your API provides (input/output)?

This API will receive the image URL that you want to analyze. After running the scan, you will receive:

The number of faces detected. 

The emotion that is expressed on the face.

Estimated Age. 


If the person has a mask or not. 

If the person has the eyes closed or not. 

Is the mouth open or not? Is the person smiling? 

All this data will be delivered by the API. 


What are the most common uses cases of this API?


This API is ideal to use alongside other face analysis ones. You will be able to predict someone's age and avoid the users from making further actions on your platforms. 

Also, be able to determine the genders to take decisions based on that. 

Detect multiple people in one picture, so if you ask your users for a picture of themselves and you receive a picture with several people, you can stop further actions. 

Is ideal to check if the person has the eyes open or not. Be able to analyze an image and detect if the person is giving attention or sleeping. 


Are there any limitations to your plans?

Besides API call limitations per month, there is a rate limit of 1 API calls per second.


API Documentation


Send an image, and retrieve an accurate analysis for every detected face.

POST https://zylalabs.com/api/417/face+analysis+api/323/face+analyzer

Face Analyzer - Endpoint Features
Object Description
Request Body [Required] Json
Test Endpoint


                                                                                                                                                                                                                            {"statusCode": 200, "body": {"success": true, "ndetected_faces": 1, "detected_faces": [{"box": {"top": 52, "left": 20, "width": 82, "height": 82}, "info": {"emotions": {"angry": 3.0766698273509974e-06, "disgust": 9.669665814726613e-07, "fear": 1.3763269635092001e-05, "happy": 0.999723494052887, "sad": 4.757318311021663e-05, "surprise": 2.798662899294868e-05, "neutral": 0.0001831190165830776}, "age": "27-33", "gender": "M", "mask": {"has_mask": false, "confidence": 0.9872702360153198}, "eyes": {"closed_eyes": false}, "mouth": {"is_smiling": true, "is_open": true}}}], "total_inference_time": 9644.298553466797}}

Face Analyzer - CODE SNIPPETS

curl --location --request POST 'https://zylalabs.com/api/417/face+analysis+api/323/face+analyzer' --header 'Authorization: Bearer YOUR_API_KEY' 


API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Face Analysis API REST API, simply include your bearer token in the Authorization header.


Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

๐Ÿš€ Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • โœ”๏ธŽ Only Pay for Successful Requests
  • โœ”๏ธŽ Free 7-Day Trial
  • โœ”๏ธŽ Multi-Language Support
  • โœ”๏ธŽ One API Key, All APIs.
  • โœ”๏ธŽ Intuitive Dashboard
  • โœ”๏ธŽ Comprehensive Error Handling
  • โœ”๏ธŽ Developer-Friendly Docs
  • โœ”๏ธŽ Postman Integration
  • โœ”๏ธŽ Secure HTTPS Connections
  • โœ”๏ธŽ Reliable Uptime

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the worldโ€™s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected โ€” plus overage fees applied when a developer exceeds a planโ€™s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
 Response Time



Related APIs