For game studios and communities
Moderate what players publish
Avatars, profile pictures, clan names, in-game chat, mods and skin listings: one API call before anyone else sees them. You get accept, review or reject on content, or a fraud decision (beta) such as allow, step up, hold or block on a new account, with the reasons.
2,000 free usage credits each month, no card.
curl -X POST \
-H "Authorization: Bearer $OPENSHIELD_API_KEY" \
--data-binary @photo.jpg \
"https://api.openshield.dev/v1/image?ref=avatar_4821"{
"summary": {
"action": "reject",
"reject_reason": [
{ "id": "nudity", "score": 0.97, "threshold": 0.8 }
]
},
"scores": { "nudity": 0.97, "gore": 0.01 },
"ref": "avatar_4821"
}What you check
Everything a player can publish
Stop unsafe avatars, abusive chat, scam skin listings and fake accounts before they reach other players, and hold the doubtful ones for your team.
Avatars, profile pictures and attachments
The image API (POST /v1/image) takes JPEG, PNG, WebP or GIF, up to 15 MB. Nudity, suggestive content, gore, violence, weapons, drugs, hate symbols and self-harm are built-in categories. Text written on an image and QR codes can be read and checked, including scam and unsafe-site links. Add your own categories in words for a house rule the catalogue does not have, up to 20 custom categories per workflow, without training a model.
In-game chat, clan names and bios
Chat messages, clan names, player names and bios go through the text API (POST /v1/text): spam, scams, off-platform contact, personal data, links to adult, gambling or unsafe sites, hate, sexual content and illegal activity. The same call checks a chat message and a clan name.
Skin, mod and item listings
Listing photos go through the image API, titles and descriptions through the text API: the same pair of calls as for a marketplace listing. Describe a prohibited item in words as a custom category, up to 20 per workflow, without training a model.
New accounts (beta)
Fake accounts and linked accounts are a fraud problem, not a content one. The fraud prevention API (beta) scores a sign-up, a login or a payment and returns a decision such as allow, step up, hold or block, with the rules that fired. Pack rules start in shadow. An owner or an admin turns it on in the dashboard; until then the API answers 404 fraud_not_enabled. Same account and prepaid balance as moderation.
Why it fits a game
A decision your code can act on
Accept, review or reject
Accept: publish the avatar, the message or the listing. Review: hold it for your team. Reject: refuse it, with a message you choose from the category id. openshield does not review content for you: your team runs its own review queue.
A workflow per surface
Avatars, chat, clan names and listings each get a workflow, with its own categories and review and reject thresholds. Every change is a new version you can compare.
A key per surface
Limit a key to the workflows that surface needs, such as the chat service or the listing service. Rotate it with a grace delay, so a deploy never has a gap.
A journal you can search
Each moderation decision is kept with your own ref (a player, message, avatar or listing id), the reasons, the scores and the workflow version: 7 days before a first top-up, 30 days after. The content is never kept.
Nothing stored, in the EU
Content is checked in memory and forgotten when the answer is sent, in the European Union. Fraud instances (beta) run in Germany, and their events are pseudonymized.
Sign-up abuse too (beta)
Fake accounts and linked accounts are not content. The fraud prevention API (beta) scores a sign-up before you create the account, from the same account and balance.
How it fits
Check before other players see it
Your server calls the API with your own ref, then publishes, holds or refuses. For a new account, call POST /fraud/v1/decide before you create it (beta), once an owner or an admin has turned fraud prevention on in the dashboard.
- 01
A player posts
A player uploads an avatar, sends a chat message, names a clan or lists a skin. Your server gets it, as it does today.
- 02
Check it
Call POST /v1/image or POST /v1/text with the content and your own ref, such as the message or listing id. The answer carries the decision and the reasons.
- 03
Publish, hold or refuse
Act on summary.action. If the moderation check fails or times out, hold the content: do not publish what was never checked.
import { checkText, ModerationError } from "./moderation"
// A request the API refuses as it is: it will never be accepted.
const refused = [400, 413, 415]
export async function moderateComment(text: string, commentId: string) {
try {
const decision = await checkText(text, commentId)
if (decision.action === "accept") return "publish"
if (decision.action === "review") return "hold"
return "refuse"
} catch (error) {
const status = error instanceof ModerationError ? error.status : 0
if (refused.includes(status)) return "refuse"
// A timeout or any other failure: keep it hidden for now.
return "hold"
}
}Categories
What a check can find in player content
These come from openmod's catalogue. A workflow picks the ones you care about and the thresholds for each.
Images
- Nudity
- Suggestive content
- Gore
- Violence
- Weapon
- Drugs
- Hate symbol
- Self-harm
- QR code
- and your own
Texts
- Spam
- Scam
- Off-platform contact
- Email address
- Phone number
- Adult site link
- Gambling site link
- Unsafe site link
- Hate speech
- Sexual content
- Illegal activity
In the docs
Read how it works
- Quickstart Your first check in five minutes, from an account to a key and one request.
- Best practices Server-side only, fail closed, and messages chosen by category id.
- Workflows Categories, thresholds, custom categories and versions.
- The journal and ref What the journal keeps, and how your own id finds a decision.
- Node.js and TypeScript A small module with timeouts and a decision that fails closed.
- Fraud prevention (beta) Decide and events, the end user's context, prices, webhooks and errors.
More
Other ways in
- For marketplaces Moderate listing photos, descriptions and seller sign-ups before they go live.
- For dating apps Moderate profile photos, bios and messages before anyone else sees them.
- Image moderation API Nudity, gore, weapons and more, with a score per category.
- Text moderation API Unsafe text, personal data, spam and scams, with the reasons.
- Fraud prevention API (beta) Sign-up farms, card testing and account takeover, with your own openfraud instance.
- Pricing Free use each month, then a prepaid balance, priced by what each check uses.
Questions
Before you start
- What do I do with the review outcome?
- Hide the avatar, the message or the listing from other players until someone on your team approves it. If you have no moderation queue, start with a flag on the row and a screen that lists the flagged rows. openshield does not review content for you.
- What if a moderation check fails or times out?
- Hold the content until a retry succeeds or someone has looked at it. Publishing what was never checked is the case a moderation API exists to prevent. This applies to moderation only: on a timeout, a 429 or a 5xx, the fraud prevention SDKs (beta) retry, then answer allow.
- Can I call the API from my game client?
- No. Keys are secret and belong on your servers, and the API refuses calls that carry a browser Origin header. Call it from your backend and give your client the decision.
- Do you store avatars or chat messages?
- No. Content is checked in memory and forgotten once the answer is sent. The journal keeps metadata only: the time, the decision, the reasons, the scores and your ref. Fraud events (beta) are the documented exception, kept pseudonymized: see Privacy and data in the docs.
- Can it check voice chat, video or audio?
- No. openshield checks images and text. It does not check voice, video or audio.
- Is this an anti-cheat tool?
- No. It moderates what players publish, images and text, and, in beta, scores sign-ups, logins and payments. It does not look at gameplay.
- What does a check cost?
- Beta prices, in euros, excluding VAT, from a prepaid balance with no subscription: €0.002 for an image under a usual workflow (nudity and visual categories), €0.003 per started 1,000 characters of text checked with rules and AI, and €0.001 for a fraud decision (beta). Every account gets 2,000 free usage credits each month, no card, shared by moderation checks and fraud calls (beta). They do not carry over to the next month. The full grid is on the pricing page.
Start with 2,000 free usage credits each month, no card
No card needed. Create a key and send your first request in five minutes.
Prepaid, in euros, excluding VAT