Skip to content
REST APIJS SDKSoon

The content moderation API for everything your users post

One API call from your backend checks text and images as your users submit them, returns a verdict with a score for every policy, and sends the unclear cases to your team.

Free plan with 150 checks a month, and test keys that never use them. No card needed.

Acme Corp.
QueueNewest first
Resultmod_tA8LZ4jnOrkoY7Ce58mP30
text · ReviewWorst seller ever. You are a complete idiot.
FlaggedTriggeredAI not detected
Swear words0.21
Hate speech0.03
Toxicity0.94
Violence0.02
Made with AI0.00
RecommendationSent to reviewReview

One request in, a decision out

Every submission takes the same four steps: the policies you turned on score it, your rules turn the scores into a decision, and the verdict comes back as JSON with a signed webhook to follow.

Acme Corp./How a check runs
01Submit

One POST from your backend, with your user's id as the author.

POST/v1/moderations
{
  "template": "listing",
  "type": "text",
  "input": "Price negotiable, WhatsApp me on +44 7700 900123",
  "author_id": "user_9x1q"
}
user_9x1q · trust New
  • Text
  • Image
  • AudioSoon
  • VideoSoon
02Score

Every policy the template turned on returns a score from 0 to 1.

  • Links & contact details0.98
  • Personal data0.84
  • Spam & advertising0.12
  • Toxicity0.00
Flagged2 triggered
03Decide

Your content rules run top to bottom and the first match wins.

  1. Zero tolerance for hateIf Hate speech is flaggedReject
  2. Allow established authorsIf trust is at least RegularAllow
  3. Links from new accountsIf trust is New and Links & contact details is flaggedReview
  4. Severity triageBelow 0.40 allow, 0.40 review, 0.80 rejectFallback
04Act

The verdict comes back as JSON, and a signed webhook follows.

200 OK
{
  "flagged": true,
  "recommendation": "review",
  "triggered": ["links_contact", "personal_data"],
  "latency_ms": 341
}
  • POSTmoderation.completed200
  • POSTqueue_item.created200

Add moderation to your upload flow with one API call

Send content to the REST API from your backend. The response carries a verdict, a recommendation and a score for every policy.

  • REST API. JSON over HTTPS, authenticated with a bearer key.

  • Webhooks. HMAC-signed events for every decision, retried with backoff.

  • Test keys. Keys starting ir_test_ run the whole pipeline and never use checks.

  • Sync and async. Text is answered in the same request. Images are accepted at once and the verdict follows by webhook.

POST /v1/moderationsShell
curl https://api.useinfrared.com/v1/moderations \
  -H "Authorization: Bearer ir_live_…" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "review",
    "type": "text",
    "input": "Worst seller ever. You are a complete idiot."
  }'
Text · Reviewmod_1B7lY4kzM9n2Qx8sRt3wVu · 388 ms

Worst seller ever. You are a complete idiot.

FlaggedTriggeredSent to reviewReview
Swear words0.21
Hate speech0.03
Toxicity0.94
Violence0.02
Made with AI0.00

Pre-built policies, plus rules only your product needs

Turn on the checks each kind of content needs. For anything specific to your product, write a guideline, keep a wordlist or tell the model what a good submission looks like.

Policy catalog

Every check, scored from 0 to 1

A template turns on the policies its content needs and sets the score that triggers each one. Paid plans can turn on every basic check; the Free plan runs eight of them as its built-in basic check.

Basic
ToxicityHate speechSwear wordsViolenceSelf-harmSexual contentPersonal dataSpam & advertisingLinks & contact detailsDuplicate contentIllicit & regulated goodsLookalike charactersOff-topicMeaningless textAI instructionsScreenshot instead of photoLow image qualityStock or third-party watermark
Advanced
Made with AIImage verificationSoonAudio transcriptionSoonURL riskSoon
Example · Message

“Can we move this chat to WhatsApp? My number is +44 7700 900123”

Links & contact details0.98
Personal data0.84
Toxicity0.00

Scores become decisions with content rules

A rule reads as if this, then that. Rules run top to bottom and the first match decides. Switch one off to see what last week's traffic would have done.

  • First match wins

    Certain rules at the top, broad ones below. Anything no rule catches falls back to severity triage.

  • Author trust in every rule

    Every author has a history, from New to Trusted, so regulars skip review and new accounts get a closer look.

  • Simulate before you publish

    Replay last week's traffic against a draft, or dry run on live traffic, and see what would move before anything changes.

Content rulesListing
First match wins
  1. Reject
  2. Reject
  3. Reject
  4. Allow
  5. Review
  6. Severity triageAllow below 0.40, review from 0.40, reject from 0.80
Simulation · last 7 days · sample data12,480 items
Allow
11,282
No change
Review
704
No change
Reject
494
No change

A review queue for what your rules cannot decide

Everything your rules send to review lands in one queue. Your team assigns it, decides it, and every decision is recorded with who made it.

Work everything pending, your own items, the unassigned or the overdue. Assign an item, set its priority, leave a note, and allow or reject one or many at once.

Acme Corp./Review queue
Sample data
  • All pending128
  • Assigned to me12
  • Unassigned97
  • Overdue7
  • Can we move this chat to WhatsApp? My number is +44 7700 900123MessageNewHighFlagged
  • Studio photo of a leather three-seat sofaListingBasicFlagged
  • This is a f***ing scam, don't buy from himForum threadBasicFlagged
  • Worst seller ever. You are a complete idiot.ReviewNewFlagged

Made for every product that runs on user content

Start from the preset for the kind of content you moderate, then change anything: fields, policies, rules and instructions are all yours.

Preset

Listing

preset: "listing"

A marketplace or classifieds listing for an item, a service, a property or a vehicle: title, description, price and photos.

Listing preset fields
TitleText5 to 120 characters
DescriptionTextUp to 5,000 characters
PriceNumber0 or more
PhotosImageUp to 10 files, 10 MB each
Content rules
  1. Block banned authorsReject
  2. Zero tolerance for hateReject
  3. Illicit goodsReject
  4. No sexual contentReject
  5. Allow established authorsAllow
  6. Links from new accountsReview
AI instructions

Check that the title, description, price and photos describe the same offer, that the photos show what is offered rather than unrelated or stock images, and that the price is plausible for what is described. Flag listings that only advertise another website or ask buyers to pay outside the platform.

ListingsPhotosMessagesReviews

17 policies on by default. Often paired with the Message and Review presets.

More on marketplaces and classifieds

Start free, upgrade when your volume grows

Every plan includes a monthly number of checks. Test keys never use them, and extra checks can be added to any plan.

Free

Try the basic check on text and images.

$0a month

No card needed

Get Started Free
  • 150 checks a month
  • 1 project
  • 1 team member
  • Content is not stored
  • 60 requests a minute per key

Includes

  • Basic check of text and images

Starter

For a product getting its first moderation pipeline live.

$89a month

or $979 a year, 1 month free

Choose Starter
  • 10,000 checks a month
  • 2 projects
  • 5 team members
  • Retention up to 30 days
  • 300 requests a minute per key

Everything in Free, plus

  • Templates, guidelines and wordlists
  • Audio and videoSoon
  • Saved viewsSoon
  • Simulation

Growth

Advanced checks, several projects and a real review team.

$289a month

or $3,179 a year, 1 month free

Choose Growth
  • 100,000 checks a month
  • 5 projects
  • 15 team members
  • Retention up to 90 days
  • 600 requests a minute per key

Everything in Starter, plus

  • Made with AI detection
  • CasebookSoon

Business

High volume, long retention and every advanced policy.

$849a month

or $9,339 a year, 1 month free

Choose Business
  • 250,000 checks a month
  • 20 projects
  • 50 team members
  • Retention up to 365 days
  • 1,500 requests a minute per key
Extra checks
  • 5,000for $39
  • 25,000for $149
  • 100,000for $499
Compare plans

Prices in US dollars, excluding tax. Extra checks last a year from purchase and are used after your monthly checks.

Questions teams ask before they integrate

Anything else, ask support@useinfrared.com.

Start moderating your users' content

Create an API key, send your first request and get a verdict back.