For a small app, picking a moderation API is mostly a product decision: what happens to your users when the API is slow, wrong or gone? Feature lists all sound alike. The questions below separate candidates in a couple of days, using your own data.
Start with your content, not the vendor
Write down what your users actually post (short chat, long reviews, usernames, profile photos, photo feeds) and the three worst things that could realistically appear. A language-exchange app worries about harassment and sexual messages; a recipe app mostly about spam and scams. That list is your scoring sheet.
1. Categories covered
Most providers score the same core set: sexual content, hate, harassment, violence and self-harm. Check the edges:
- Spam and scams. Many general-purpose endpoints have no spam category at all. If spam is your main problem, plan rate limits and account-age rules instead.
- Sexual content involving minors. It should be its own category, with a lock you cannot loosen. Find out whether it is scored for images or only for text.
- Severity. Does "violence" lump a film review together with a threat, or is there a separate threatening or graphic score?
- Languages. Test your own top three, not only English.
2. Text versus images
"Supports images" can mean very little. Ask for a table of category by input type. Some providers score only a subset of categories for images, and an unevaluated category often comes back as 0.0, which looks identical to "clean". An image can then pass a rule that never ran.
Make sure the response says which categories were actually checked, and test for it. TrustShip, for example, returns an unevaluated_categories list so a zero can be told apart from "not checked".
For images also ask:
- Can you send bytes, or only a URL? If the provider fetches the URL itself, the file can change between the check and publication.
- What are the size and format limits? A camera-roll photo may exceed them.
- Is known-CSAM hash matching included or separate? It only recognises material already in a database, so it complements a classifier. Free scanners exist but usually require an application, so start early. What you must do after a match depends on the country; ask a lawyer.
3. Latency in the posting path
If you moderate before publishing, the call sits between "Post" and the post appearing. Measure it from a phone on mobile data, and ask:
- What is the 95th percentile, not the average?
- What are the timeouts and retries? A provider that retries internally can take many times its typical response before it errors. Set your client timeout longer than that worst case, or you give up early and may moderate the same content twice.
- How much slower are images than text?
Then decide what your app does when the call fails. Failing open keeps the app usable but lets bad content through during an outage; failing closed is safer but frustrating. A reasonable split is open for chat text, closed for images and public profiles. Either way, put unchecked items in your review queue.
4. False positives and thresholds
Every classifier is wrong sometimes; you control which way. Prefer an API that returns raw scores per category and lets you set the cut-off, with three outcomes rather than two:
| Outcome | Meaning | Typical use |
|---|---|---|
| Allow | Below every threshold | Publish |
| Flag | Borderline | Publish or hold, and send to a human |
| Block | Clearly over the line | Reject, with a way to appeal |
Do not rely on published accuracy figures. Build a test set of 100 to 200 real or realistic messages, including slang, sarcasm, banter and your borderline cases, label them by hand and count the errors:
def evaluate(samples, moderate):
# samples: list of (text, should_block) pairs, labelled by you
false_pos = false_neg = 0
for text, should_block in samples:
blocked = moderate(text)["decision"] == "block"
false_pos += blocked and not should_block
false_neg += should_block and not blocked
return false_pos, false_neg
Run it at two or three threshold settings and watch how gracefully each provider degrades. Keep the set for later provider or threshold changes, and in production tune from your queue: tighten where harm is worst, loosen where reviewers keep approving flagged items.
5. Policy customisation
A dating app and a kids' drawing app need different rules, and you want to change them without an app release. Check that you can:
- Set a threshold and an action (allow, flag, block) per category and per project.
- Edit the policy from a dashboard, starting from a sensible preset.
- Keep critical rules locked, so the minors rule cannot be switched off by accident.
Be wary of a free-text "custom rule" box when the provider cannot show you test results for it.
6. Reporting, blocking and the queue
A classifier alone does not satisfy the stores. Apple's Guideline 1.2 asks for filtering, reporting with timely responses, blocking of abusive users and published contact information; Google Play asks for in-app reporting and blocking. A score-only API leaves you building the rest, so check what is included:
- Reports with de-duplication, and blocks between users.
- Bans that stop a banned user's later posts before they are scored.
- A queue with approve, remove and ban, which closes related reports on removal.
- Appeals and an audit log for disputes and App Review questions.
- A status lookup, so a removed post disappears from other users' devices.
You can build these, but price the work honestly: it is usually bigger than the integration itself.
7. Data handling and privacy
Moderation sends your users' words and photos to someone else's server, so read the data terms first:
- Is content stored, for how long, can you delete it, and is it used for training?
- Which subprocessors see it (model vendors, a CSAM scanner), and where?
- What happens to your data if you cancel or delete a project?
- Can you self-host, so content stays on your infrastructure?
List every provider that sees user content in your privacy policy and App Store privacy answers. Consent rules, especially for minors or users in the EU, differ by country, so check with a lawyer. And keep the key on your own backend: a key inside an app binary can be extracted.
8. Pricing model questions
Prices change, so compare the shape of the pricing, not the numbers:
- What is the unit? Per request, per character or per image can produce very different bills for long posts and short chat.
- Do retries, edits, reports and blocks count as billable calls?
- What happens at the limit? A hard stop mid-month is an outage; a grace period or warning header is easier to live with. Handle the quota error in your app.
- How many projects does a plan cover, and what does a fair-use clause on "unlimited" mean?
- What does leaving cost? Can you export your audit log and reports?
Estimate your volume (posts per daily user, times users, times the image share), compare on that, and add margin for a viral week.
The comparison checklist
Copy this into a spreadsheet, one column per candidate. Mark anything you could not verify as unknown, not yes.
| Area | Question |
|---|---|
| Categories | All the ones you need, including spam? |
| Images | Which categories are scored, and does the response say which were skipped? |
| Images | Bytes and URL input, size limits, hash matching? |
| Latency | p95 on mobile, worst-case timeout, images versus text? |
| Failure | Clear error codes, safe retries? |
| Accuracy | False positives and negatives on your own test set? |
| Thresholds | Raw scores, per-category thresholds, flag as well as block? |
| Policy | Editable without a release, presets, locked critical rules? |
| Store rules | Reports, blocks, bans, contact info, queue, appeals? |
| Audit | Decision log keyed by your own ids? |
| Privacy | Retention, training use, subprocessors, deletion, self-hosting? |
| Pricing | Unit, limit behaviour, projects, fair use, exit? |
| Integration | SDKs, docs, a sandbox or mock mode? |
A two-day evaluation plan
- Day 1 morning: write your worst-case list and test set, then cut candidates to two or three using documentation only.
- Day 1 afternoon: run the test set at a few thresholds, and record errors and latency from a real phone.
- Day 2: test failure paths (no network, an oversized image, a rate limit), read the data terms, estimate cost and decide.
Keep the integration thin: one function that takes content and returns allow, flag or block. Switching providers later is then a day of work, not a rewrite.
This is general guidance, not legal advice. Rules on child safety reporting, consent and data protection differ by country, so check with a lawyer where you operate.
Run your test set through it
TrustShip returns allow, flag or block for text and images, with user reports, blocks, a review queue and a checklist for App Store Guideline 1.2. Create a project and try it against your own sample messages.
Start free