Repository navigation
Free spam classification API for Telegram bots — multi-LLM, no setup #1847
DarynaFor
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi aiogram community 👋
I run Varta — a Telegram anti-spam SaaS protecting 51 live groups (29K+ members). Last month I extracted the spam classifier into a free public API at isitaspam.com, and I thought it might be useful for bot developers who want AI-based spam detection without training their own model.
What it does
POST a message text → get back:
verdict:SAFE/SUSPICIOUS/DANGEROUSconfidence: float 0–1category: e.g.financial_scam,phishing,fake_job,crypto_scamred_flags: list of human-readable reasonswhat_to_do: plain-language recommendationClassification uses multi-LLM consensus (GPT + Claude + Gemini) for ambiguous cases + vector similarity against 1,100+ verified scam patterns. p95 latency ~3s (LLM path), ~30ms (cache hit).
Quick aiogram integration
Because it is async (no blocking I/O), it fits naturally into aiogram's event loop. You can also classify messages on
messageevents before forwarding to handlers.Not suitable for: per-message hot paths (3s LLM latency). Ideal for join-request queues, async moderation pipelines, or periodic re-checks of pending approvals.
Free tier
50 checks/day per API key. Paid: Micro $5/mo (300/day), Starter $19/mo (2K/day), Pro $49/mo (10K/day).
Get a key instantly at https://isitaspam.com/developers — no credit card, no email verification.
OpenAPI 3.1 spec: https://isitaspam.com/openapi.yaml
MCP server (for Claude Code/Cursor):
claude mcp add varta --transport sse https://mcp.getvarta.com/sse --header "Authorization: Bearer YOUR_KEY"Happy to write a more complete example (join flow + message moderation + feedback loop) if anyone finds this useful.
— Daryna (Varta — getvarta.com)
All reactions