Spam detection API.
One endpoint. A score back in milliseconds.
Install the official PHP SDK via Composer and call check(). Get back a score, a verdict, and which signals fired. No CAPTCHA — runs server-side, invisible to users.
$ composer require ramlev/kireifilter
use Ramlev\Kireifilter\KireifilterClient; $client = new KireifilterClient('kf_live_...'); // One argument: your API token. // Guzzle is bundled — no extra wiring.
$result = $client->check( type: 'comment', content: $input->getContent(), metadata: ['ip' => $request->getClientIp()], ); if ($result->isSpam) { // block, flag, or queue for review } // $result->score float 0.0–1.0 // $result->reasons string[] // $result->id int (server-side ID)
Detection pipeline
Independent layers run in sequence. Scores accumulate; high-confidence matches short-circuit the chain.
| # | Layer | What it checks |
|---|---|---|
| 1 | Custom rules Pro+ | Your own allow and deny lists applied before anything else |
| 2 | IP & sender reputation | Real-time blocklists, prior submission history, and repeat offenders |
| 3 | Content analysis | Links, patterns, obfuscation attempts, and text quality signals |
| 4 | Email intelligence | Address validity, spoofing, authentication, and throwaway detection |
Get started in three steps
-
1
Free plan included — no credit card required.
-
2
Generate an API token
From the dashboard settings. You can create and revoke tokens at any time.
-
3
Run
composer require ramlev/kireifilterCall
$client->check()before persisting data. Act on$result->isSpam— reject, queue for review, or pass through. Raw HTTP also works.
Properties
- No CAPTCHA
- Filtering runs server-side. Real users see nothing different.
- EU-hosted
- Servers in Germany (Hetzner). Data never leaves the EU.
- GDPR-compliant
- No third-party trackers, no cross-account data sharing.
- You decide
- We return a score. What you do with it stays in your code.
- PHP SDK
- Official
ramlev/kireifilterSDK on Packagist. One token, one call — built on Guzzle. - Any stack
- JSON over HTTP. Python, Node.js, Ruby, Go — use the raw API directly if you prefer.
Pricing
Start free. Scale when you need to.
Free
- — 100 requests / month
- — 1 API token
- — All detection layers
-
× No request history× No verdict corrections× Community support only
No credit card required
Starter
€8.33/mo equivalent
- — 500 requests / month
- — 2 API tokens
- — 24h request history
- — Commercial use
-
× No verdict corrections× No custom denylist— Email support
No credit card required
Pro
Popular€13.33/mo equivalent
- — 1,000 requests / month
- — 5 API tokens
- — 7-day history
- — Verdict corrections
-
— Analytics dashboard— Custom denylist (25 rules)— Priority email support
No credit card required
Max
€30/mo equivalent
- — 10,000 requests / month
- — Unlimited tokens
- — 30-day history
- — Denylist + allowlist rules
-
— Analytics dashboard— Verdict corrections— Custom allowlist (100 rules)— Priority support
No credit card required
Need something bigger?
Higher volumes or custom retention — we'll put together a plan that fits.
Ready to add spam detection?
Free plan available. No credit card required.