RapidAPI logo

Nude Detect

FREEMIUM
By Netspark
Updated 4 months ago
Media
8.3/10
Popularity Score
1276ms
Latency
100%
Success Rate

Nude Detect API Documentation

Use NetSpark's Nude Detect image processing engine for high accuracy detection of nudity, sexuality and pornography in photos. Use the confidence rating to define an acceptable risk level for your audience. If you don't have tolerance for false positives we recommend defining 2% confidence as your limit for acceptable content. Supports most image file types {WEBP, PNG, JPG/JPEG, BMP}. GIF and TIFF file types will return an error. For support for larger volumes or for inspection of video content, contact us for a custom quote.

View API Details
GETDetect Nudity in Web-Hosted Image
GETDetect Nudity in Web-Hosted Image
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
urlSTRING
REQUIRED
Code Snippet
unirest.get("https://netspark-nude-detect-v1.p.rapidapi.com/url/http%3A%2F%2Fwww.styleclicker.net%2Fwp-content%2Fuploads%2F2010%2F10%2F100812-Trench-Girl-Copenhagen-Oslo-Pladsen-12.jpg")
.header("X-RapidAPI-Host", "netspark-nude-detect-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://netspark-nude-detect-v1.p.rapidapi.com/url/{url}
Request Method: GET
Response Headers
Response Body
Log inSign up

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.get("https://netspark-nude-detect-v1.p.rapidapi.com/url/http%3A%2F%2Fwww.styleclicker.net%2Fwp-content%2Fuploads%2F2010%2F10%2F100812-Trench-Girl-Copenhagen-Oslo-Pladsen-12.jpg")
.header("X-RapidAPI-Host", "netspark-nude-detect-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication