Skip to main content
Illicit policies cover content that’s either outright illegal or falls into categories that are regulated, age-restricted, or commonly disallowed by platform terms. Most also support image, video, and audio so you can moderate uploads as well as text.

Policies

idTypeSupportedWhat it does
illicitclassifiertext, audioGeneral detector for illicit or illegal content and activities.
illicit_drugsclassifiertext, image, video, audioIllegal drugs, narcotics, controlled substances.
illicit_alcoholclassifiertext, image, video, audioIllegal alcohol sales or underage drinking.
illicit_firearmsclassifiertext, image, video, audioIllegal firearms, weapons, weapon sales.
illicit_tobaccoclassifiertext, image, video, audioIllegal tobacco sales or underage tobacco/vape use.
illicit_gamblingclassifiertext, image, video, audioIllegal gambling activities.
cannabisclassifiertext, audioCannabis and marijuana content — split out so you can allow or deny independently of other drugs.
adultclassifiertext, audioAdult products, escort solicitation, pornography, adult websites.
cryptoclassifiertext, audioCryptocurrency, NFT, and blockchain promotions — useful for filtering shilling and scam-adjacent content.

Reading the result

const cannabis = response.policies.find(p => p.id === "cannabis");
if (cannabis?.flagged) {
  // Block in regions where it's illegal; allow elsewhere.
}
These categories are independent. Enable only the ones that match your jurisdiction and product. For example, a cannabis-focused community would disable cannabis but keep illicit_drugs enabled.
See Understanding API responses for the full response shape.