POST
/
v1
/
validate
/
nsfw
import { JigsawStack } from "jigsawstack";

const jigsawstack = JigsawStack({
  apiKey: "your-api-key",
});

const url = "";
const result = await jigsawstack.validate.nsfw(url);
{
  "success": true,
  "message": "Validated successfully"
}

Params

url
string
required

The image URL to validate.

x-api-key
string
required

Your JigsawStack API key

Response

success
boolean

Indicates whether the call was successful.

message
string

The message returned by the API.

import { JigsawStack } from "jigsawstack";

const jigsawstack = JigsawStack({
  apiKey: "your-api-key",
});

const url = "";
const result = await jigsawstack.validate.nsfw(url);
{
  "success": true,
  "message": "Validated successfully"
}