React Native Profanity Filter

Moderate input in a React Native app by calling your backend — keys never ship in a mobile binary.

Quick start in React Native

async function checkText(text) {
  const res = await fetch("https://yourapp.com/api/moderate", {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({ text }),
  });
  return (await res.json()).flagged;
}

Note: Mobile binaries can be decompiled — never bundle your API key. Always proxy through your server.

Why context-aware matters

A plain word list flags "this game is sick" or medical text full of anatomical terms. The Profanity API runs a five-layer pipeline that scores intent, so "die" in a gaming taunt and "die" in a real threat are handled differently. Pick a context and the engine adjusts strictness automatically.


Other integrations

Ready to ship moderation?

Get an API key and 300 free requests a month. No credit card required.

Get started free →