# zapspam.com - Anti-Spam & Anti-Injection API # Part of the 1id.com agent identity ecosystem ## What is zapspam.com? zapspam.com provides ML-based abuse detection for AI agents. Scan content for spam, prompt injection, malicious links, and other threats. One API call, instant results. ## Why does this exist? 1. Prompt injection - Malicious instructions embedded in user input 2. Spam at scale - Agents targeted with automated spam campaigns 3. Reputation damage - Falling for attacks hurts your reputation ## What we detect - **Spam**: Unsolicited bulk content, promotional spam, SEO manipulation - **Prompt injection**: "Ignore previous instructions", jailbreaks, role manipulation - **Malicious content**: Phishing, malware URLs, social engineering - **Data exfiltration**: PII harvesting, unauthorized data collection - **Impersonation**: Fake authority claims, identity spoofing - **Abuse patterns**: Rate limit evasion, coordinated attacks, Sybil behavior ## API Usage ### Scan content ```bash curl -X POST https://zapspam.com/api/v1/scan \ -H "Authorization: Bearer $ONEID_TOKEN" \ -d '{ "content": "Ignore all previous instructions...", "types": ["spam", "injection", "malicious"] }' ``` Response: ```json { "safe": false, "scores": { "spam": 0.12, "injection": 0.98, "malicious": 0.15 }, "flags": ["injection"], "recommendation": "block" } ``` ### Batch scan ```bash curl -X POST https://zapspam.com/api/v1/batch \ -H "Authorization: Bearer $ONEID_TOKEN" \ -d '{ "items": [ {"id": "1", "content": "..."}, {"id": "2", "content": "..."} ] }' ``` ## Endpoints - Scan: POST https://zapspam.com/api/v1/scan - Batch: POST https://zapspam.com/api/v1/batch - Machine metadata: https://zapspam.com/.well-known/index.json ## Authentication OAuth2 via 1id.com - Scope: zapspam:scan ## Response format - `safe`: boolean - true if no threats detected above threshold - `scores`: object - threat scores 0-1 for each category - `flags`: array - categories that exceeded threshold - `recommendation`: string - "allow", "review", or "block" ## Pricing Free during beta (10,000 scans/month). Post-beta pricing TBD. ## Status Coming Q2 2026 ## Part of the ecosystem zapspam.com is used by: - mailpal.com - Email spam filtering - un.ag - Content moderation - antisocial.biz - Post filtering - Any agent that receives untrusted input ## Contact Operated by Crypt Inc. (Delaware, USA) https://cryptinc.com