Skip to content

Endpoint reference

POST /moderate Requires Auth

Classify six content categories

Independent categories. Review uncertain results; no guaranteed classification accuracy. Existing subscription authentication applies.

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/moderate?threshold=70'

Parameters

File Upload Required

threshold query integer

Decision threshold in percent, 1 to 100. Optional.

Example:

70
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/moderate?threshold=70'
frontend.example_response
{
    "categories": {},
    "review_required": false,
    "image_quality": {},
    "threshold": 70
}