Skip to content

Endpoint reference

GET /nsfw/file Requires Auth

Detect NSFW from image URL

Analyze an image using its direct URL.

Test Endpoint

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 GET \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  'https://nexonapi.com/api/nsfw-detection/nsfw/file?min=5'

Parameters

file * query string

Enter the direct image URL

min query number

Minimum confidence threshold (0-100)

Example:

5
Example cURL Request
curl -X GET \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  'https://nexonapi.com/api/nsfw-detection/nsfw/file?min=5'
frontend.example_response
{
    "detection": "NSFW DETECTED",
    "confidence": "87.45%",
    "arensfw": true,
    "detections": []
}