Moderate Chinese text without a Chinese entity.
zhsafe is one API over several major Chinese moderation engines. Send chat lines, nicknames, posts or model output and get back pass, review or block, with one set of categories and an English description of each flagged category.
chatAdvertising or traffic diversion (contact details, off-platform links), or wording prohibited by China’s Advertising Law.
Try it on your own text
The playground runs the same pipeline as the API, up to 500 characters per check. Results come back in the exact shape of POST /v1/text/check.
Pick an example or write your own text, then select Check text. The verdict, the flagged categories and the matched characters appear here.
The same check with the API (needs an API key)
For products that serve Chinese-speaking users
Global moderation tools are tuned for English and for Western policy. zhsafe checks Chinese text against the rules that apply to it, and tells you what it found in English.
-
Games with China servers
Chat, player nicknames and guild names, checked before other players see them.
chatnickname -
Cross-border communities
Posts, comments and replies from Chinese-speaking members, in the same queue as the rest of your moderation.
postcomment -
AI products
Chinese prompts before they reach your model, and model responses before they reach your users.
llm_inputllm_output -
Cross-border e-commerce
Product titles, listings and ad copy, including off-platform contact details and absolute claims like 最 and 第一 that China's Advertising Law restricts.
ad
What you get instead of a mainland cloud account
Mainland moderation services ask for a local business license and real-name verification, then bill in RMB. zhsafe runs them under its own accounts and puts them behind one API you can use from anywhere.
No Chinese entity needed
Call one API with a zhsafe key. You need no mainland business license or real-name verification. Docs and support are in English.
One API, one category set
Several engines behind one endpoint, their labels mapped onto 13 shared categories. Write your policy once, per category, and it holds whichever engine answered.
Consensus instead of one opinion
With the consensus strategy several engines check each text. If they all pass, the text passes; if more than half block, it is blocked; any other split comes back as review, not a forced answer.
Every verdict explained in English
Each flagged category comes with the matched characters and a one-line English description of the category, so your trust and safety team can review decisions without a translator.
How a verdict is made
Every request goes through the same four steps, whether it takes one engine or several.
-
Reuse
Identical text in the same scene is answered from cache for up to 7 days, and a verdict corrected by human review applies to that text for 90 days. Pass
cache: falseto force a fresh check. -
Route
fastasks one engine and falls back to the next if it fails;consensusasks every engine at once. The scene selects each engine’s matching check, so a nickname is judged differently from a forum post. -
Merge
Engine labels are mapped to one category set. Each category records its score and the share of engines that flagged it.
-
Explain
You get pass, review or block, the categories with matched spans, and on request a short English description of each category.
The categories
- politics
- terrorism
- violence
- porn
- gambling
- drugs
- illegal
- abuse
- minors
- ads
- spam
- religion
- other
Request early access
zhsafe is in early access. We're onboarding a small number of teams and issuing API keys by email.
- Tell us what you moderate and roughly how much of it.
- We'll reply to talk through your scenes and issue a key.
- There is no self-serve sign-up or payment yet; pricing is agreed with each team.
Questions
What is zhsafe?
zhsafe is a Chinese content moderation API for companies outside China: one API over several major Chinese moderation engines, with 13 shared categories, pass / review / block verdicts and English category descriptions. You send Chinese text such as chat messages, nicknames, posts, ad copy or model output, and get back a verdict with the flagged categories and the matched text.
Can a company outside China use Chinese content moderation services?
The moderation services run by mainland Chinese cloud providers generally require a mainland business license and real-name verification. zhsafe runs those engines under its own accounts, so you call one API with a zhsafe key and need no Chinese entity.
What does zhsafe detect?
Every engine's labels are mapped onto 13 categories: politics, terrorism, violence, porn, gambling, drugs, illegal, abuse, minors, ads, spam, religion, other. The ads category also covers off-platform contact details and wording restricted by China's Advertising Law.
What does a check return?
Each check returns pass, review or block; each flagged category with a score from 0 to 1 and the share of engines that flagged it; the matched text spans; and, when you ask for it, a one-line English description of each category.
What happens when the engines disagree?
With the consensus strategy every engine checks the text in parallel. If they all pass, the text passes; if more than half block, it is blocked; any other split returns review. The fast strategy asks one engine and falls back to the next if it fails.
Is the same text checked again every time?
No. Identical text in the same scene and strategy is answered from cache for up to 7 days; send cache: false to force a fresh check. A verdict corrected by human review applies to that exact text in that scene for 90 days.
How do I report a wrong verdict?
Send POST /v1/feedback with the check id and the verdict you expected. Feedback goes to a human review queue, and the reviewed verdict is returned for that exact text in that scene for 90 days.
Does zhsafe store the text I send?
Yes. Each checked text is stored with its verdict and the engines’ responses. Samples, disagreements and feedback are reviewed by people to correct verdicts and improve accuracy. A retention period has not been published yet.
How do I get access, and what does it cost?
zhsafe is in early access. There is no self-serve sign-up or payment yet: request access on the website, and API keys are issued by email with pricing agreed per team.