Endpoint reference
POST
/analyze
Requires Auth
Analyze image (upload or URL)
Upload an image or submit an image URL for NSFW detection.
This endpoint requires file uploads. Use the cURL command below or an API client (Postman, Insomnia, etc.) to test this endpoint. File uploads cannot be tested directly in the browser.
Endpoint URL
Use this marketplace URL in your integration.
Code Examples
Replace YOUR_API_TOKEN with your own key. Store it on your server.
curl -X POST \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{}' \
'https://nexonapi.com/api/nsfw-detection/analyze'
Parameters
File Upload Required
Example cURL Request
curl -X POST \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{}' \
'https://nexonapi.com/api/nsfw-detection/analyze'
frontend.example_response
{
"detection": "NSFW DETECTED",
"confidence": "87.45%",
"arensfw": true,
"detections": []
}