Endpoint reference
GET
/moderate/file
Requires Auth
Classify content from image URL
Independent categories. Review uncertain results; no guaranteed classification accuracy. Existing subscription authentication applies.
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/moderate/file?file=https%3A%2F%2Fexample.com%2Fimage.jpg&threshold=70'
Parameters
file
*
query
string
Direct public image URL
Example:
https://example.com/image.jpg
threshold
query
integer
Decision threshold in percent, 1 to 100. Optional.
Example:
70
Example cURL Request
curl -X GET \
-H 'Accept: application/json' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
'https://nexonapi.com/api/nsfw-detection/moderate/file?file=https%3A%2F%2Fexample.com%2Fimage.jpg&threshold=70'
frontend.example_response
{
"categories": {},
"review_required": false,
"image_quality": {},
"threshold": 70
}