ecommerce review moderation api

E-commerce review and marketplace listing moderation API

Publish genuine 1-star and 5-star buyer feedback immediately while catching phone numbers, home addresses, counterfeit safety claims, and competitor coupon spam in one ~39 ms pass.

Interactive marketplace review & listing compliance gate
Input state evaluated

Courier left the box in the rain at 418 Oak Ave Apt 4B. Call me at 415-555-0192 to send a replacement.

Primary choice confidence
pii_leak (97%)
Est. model spend / 1k calls
$0.0036 (~189 tok)
AUTO-ESCALATE · pii_leak + hold_publication P(hold_publication) = 0.96
review_policy → pii_leak 97%
curl --fail-with-body https://clef-flash.com/api/v1/decisions \
  -H "authorization: Bearer $CLEF_API_KEY" \
  -H "content-type: application/json" \
  --data-binary @- <<'CLEF_DECISION'
{
  "model": "cloudflare/clef-flash",
  "threshold": 0.85,
  "state": "Courier left the box in the rain at 418 Oak Ave Apt 4B. Call me at 415-555-0192 to send a replacement.",
  "questions": {
    "review_policy": {
      "type": "choice",
      "instructions": "Evaluate this marketplace review or product listing against store policy.",
      "criteria": {
        "approved": "genuine buyer feedback or compliant product description",
        "pii_leak": "exposes phone number, home address, email or order tracking ID",
        "counterfeit_claim": "alleges fake goods, unsafe defect or regulated item violation",
        "incentivized_spam": "promotes external store links, coupon spam or paid 5-star exchange"
      }
    },
    "hold_publication": {
      "type": "noul",
      "instructions": "Should this review or listing be held back from public display?",
      "criteria": {
        "true": "contains PII, counterfeit/safety claim, external spam or policy violation",
        "false": "safe to publish immediately, including honest negative product reviews"
      }
    }
  }
}
CLEF_DECISION
Pro API key · $19 / 30 days · no auto-renewal

Ship this in production with a $19 Pro key

2,000 decisions/day, 8 concurrent requests in flight, text + JSON + image states, and an API key emailed in about a minute.

Protect store trust without censoring honest negative reviews

Naive sentiment moderation mistakenly blocks legitimate 2-star reviews complaining about battery life or loose stitching—destroying shopper trust and inviting regulatory scrutiny. At the same time, letting a single review exposing a buyer’s street address or promoting a rival scam link go live creates immediate liability.

Clef-Flash evaluates every submission against explicit store-policy criteria: approved, pii_leak, counterfeit_claim, and incentivized_spam, plus a calibrated hold_publication gate so honest criticism publishes automatically.

  • Distinguishes honest negative product feedback from PII exposure and off-site coupon spam.
  • Flags counterfeit and product-safety allegations immediately for compliance escalation.
  • Screens both review text and buyer-uploaded product photos on paid API keys.

Marketplace review moderation policy matrix

Calibrate publication thresholds cleanly across high-trust verified buyers and anonymous guest listings.

Policy BucketExample SubmissionAutomated Storefront Action
approvedHonest 2-star battery or sizing complaintPublish immediately; keep store reviews credible
pii_leakPhone number, apartment address, tracking IDHold & prompt buyer to redact personal info
counterfeit_claimFake serial number or electrical safety hazardHold & escalate straight to Merchant Compliance
incentivized_spamExternal coupon URL or paid-review offerAuto-reject & log abusive account signal

Scale cleanly across Black Friday and flash-sale spikes

Marketplace review volume spikes 5×–10× during holiday events. At $0.019 per million input tokens and ~39 ms median latency, moderating 50,000 customer reviews takes seconds of compute and pennies of upstream token spend.

Start with the $19 Pro API key (2,000 decisions/day) or $79 Scale key (20,000 decisions/day, 32 concurrent calls) and add non-expiring credit packs for seasonal traffic bursts.

Multimodal listing & photo moderation in the same call

Seller listings and buyer reviews frequently include photos containing competitor watermarks, QR codes, or prohibited items. Paid API keys can attach up to 4 listing images right inside the same POST /api/v1/decisions request.

Frequently asked questions

Will Clef-Flash accidentally block honest 1-star or 2-star product reviews?

No—when your criteria explicitly define honest product criticism as approved, Clef-Flash publishes critical reviews while holding only real policy violations such as PII leaks or spam.

Can we moderate buyer-uploaded review photos alongside review text?

Yes. Paid API keys on /api/v1/decisions accept up to 4 images (up to 4 MiB each) together with the review text in one call.

Can we customize prohibited categories for regulated marketplaces?

Yes. Pass your store’s exact policy definitions inside criteria on every request—whether you sell apparel, electronics, supplements, or digital licenses.

How fast does review moderation run synchronously on form submit?

Clef-Flash recorded ~39 ms median and ~122 ms p95 model latency in Cloudflare’s published benchmark, allowing synchronous pre-publish checks without slowing checkout or review forms.

Keep reading

Model notes

One short email when a new decision model lands or a benchmark changes. No spam, unsubscribe in one click.