See our review from 5 of the best free/premium third party APIs to detect nudity on images in your web project.

Top 5: Best Free/Premium Nudity Detection APIs (NSFW)

Nowadays many web applications allow the user to upload profile pictures and other areas. This has always a disadvantage, if your application is public, there will be always people that love to break the law and will upload adult content (NSFW) just to be "funny" among other users. There are as well many server side as client side algorithms that help you to detect nudity in images, however free solutions aren't usually "bullet proof" and there's always a high possibility that the images aren't properly processed, that's why there are many services around the web that you can use to detect obscene content. Those services implements special solutions like neural networks, providing high accuracy and a fast result.

In this top we have collected 5 of the best services that you can use for free (a limited amount of request) as well paid to recognize nudity on uploaded images on your server.

5. PicPurify

PicPurify Image Suggestive

The PicPurify's online image moderation API helps you to filter out inappropriate user generated images, to keep intact the reputation of your service. The plans are based on the comsumption of units. A unit is counted when you perform one task on one image. For example, performing Porn detection and Gore detection on one image will consume 2 units. Tasks are detailed in the API doc page. You can use PicPurify to prevent any unwanted images from being presented on your platform with a very low cost.

4. Deepai Nudity Detection

Deepai Nude Detector

The Deepai nudity detection API detects the likelihood that an image contains nudity and should be considered NSFW. Returns a number between 0 and 1, with 1 being 100% likely to contain nudity and be NSFW.

3. Vrate

Vrate Media Rating Services

The Vrate media rating service offers a simple API that helps you to Instantly detect nudity, pornography and provocative content in images. You can protect your brand and users and save costs by reducing manual intervention. Automatically scales to billions of transactions and you can start with 7,500 free API calls per month, there are simple and affordable plans thereafter.

2. Nude Detect

Nude Detect Api

NetSpark uses automatic identification technologies for the filtering of images on the Web, providing complete protection, particularly where there is not sufficient textual context to make a determination as to whether to allow or block the content. The graphics engine is able to distinguish between images containing pornographic or mature content, someone wearing swimwear at the beach, swimwear or lingerie from an e-sales perspective, etc.

1. SightEngine Nudity Detection

SightEngine Nudity Detection

The moderation service of Sight Engine consists of a simple API that you can use to check photos and filter partial and explicit nudity (porn, erotic, NSFW). If you have an image that needs to be checked, just send it to the API. The algorithms instantly analyze the content of the image: pose, body parts, clothing and you will get a classification (nudity or safe) along with a confidence score.

If you know another awesome free or premium API that allows you to moderate images and detect adult content, please share it with the community in the comment box.


Senior Software Engineer at Software Medico. Interested in programming since he was 14 years old, Carlos is a self-taught programmer and founder and author of most of the articles at Our Code World.

Sponsors