{"uid":"cap_UYGKHNG3CsnNi5LKu7EHz","slug":"spam-detection-a89a65dd","name":"Spam Detection","description":"Spam detection: classify text as spam or not spam with a confidence score. Powered by Jev, with an automatic Groq-hosted LLM fallback if Jev is slow or unavailable - under 4.5s guaranteed. Try GET /spam-check/sample.","url":"https://x402.agentindex.world/spam-check?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Text to classify, up to 4000 characters."}}},"responseSchema":{"type":"json","example":{"input":"CONGRATULATIONS! You've won a $1000 gift card! Click here immediately to claim your prize before it expires!","label":"spam","engine":"jev","probability":1,"alternate_label":"not_spam","alternate_probability":0}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LbBedJQEajePIseQhDsUx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies text as spam or not spam and returns a confidence score, with guaranteed sub-4.5s response via Jev LLM with Groq fallback.","exampleAgentPrompt":"Can you check if this message is spam and tell me how confident you are: 'Congratulations! You've been selected for a $500 gift card — click here to claim now before it expires!'","exampleUseCases":[{"title":"Filtering user-submitted comments","prompt":"I need you to check this comment someone just submitted on my site for spam before I publish it: 'Buy cheap followers now!! 100% real guaranteed, visit spamsite.biz' — is it spam and how confident are you?"},{"title":"Email pre-screening for support inbox","prompt":"Before routing this incoming support email to my team, tell me if it's spam: 'Dear customer, your account has been compromised. Send us your login details immediately to restore access.' Give me the spam verdict and confidence."},{"title":"Spam guard for chat app messages","prompt":"A user just sent this in my chat app — classify it as spam or not spam with a confidence score: 'Act now! Limited time crypto investment returns 1000% in 24 hours. DM for details.'"}],"resultDescription":"Returns a spam/not-spam classification label and a numeric confidence score (0–1) indicating how certain the model is. Response is guaranteed within 4.5 seconds, served by Jev with automatic Groq-hosted LLM fallback if Jev is slow or unavailable.","failureModes":["Text exceeds 4000 character limit — request rejected","Empty or missing text field — validation error","Both Jev and Groq fallback unavailable — service timeout beyond 4.5s SLA","Payment not provided or insufficient USDC balance — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you need fast, pay-per-call spam classification with a confidence score and a hard latency guarantee (under 4.5s). Ideal for real-time filtering of user-generated content — comments, emails, chat messages — without running your own model. Particularly useful in agentic pipelines that need a cheap, reliable spam gate before processing or publishing content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T00:44:56.853Z","isFirstParty":false,"canonicalSlug":"spam-detection-a89a65dd"}