{"uid":"cap_KqhbzB0hP4n8ZJrYSnqqs","slug":"agentpay-content-safety-scanner-e6b376f1","name":"AgentPay Content Safety Scanner","description":"Pay-per-call AI services via the 402 Payment Required protocol. No accounts, no API keys — just USDC on Base.","url":"https://agentpay.help/v1/content-safety","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":20000,"minLength":1,"description":"Text to scan"}}},"responseSchema":{"type":"json","example":{"safe":false,"flags":[{"type":"pii","subtype":"email"},{"type":"pii","subtype":"phone"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_s0jy9UFpxIdu_3LpjLApb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans text for unsafe content including PII (emails, phone numbers) and other safety flags, returning a structured safety report","exampleAgentPrompt":"Can you check this text for any PII or unsafe content before I store it in the database? Here's the text: 'Please contact John at john.doe@example.com or call 555-867-5309 for more information.'","exampleUseCases":[{"title":"PII scrubbing before LLM input","prompt":"Before sending this customer message to the AI, scan it for any emails, phone numbers, or other sensitive info: 'Hi, my name is Sarah and you can reach me at sarah@company.com or at 212-555-0199 anytime.'"},{"title":"User-generated content moderation","prompt":"Can you check this forum post for any PII or policy-violating content before we publish it? The text is: 'Great article! For deals DM me at mike_jones@gmail.com — I sell at 40% off, call 800-555-0123.'"},{"title":"Compliance screening for data pipeline","prompt":"I need to screen this batch of text fields from our intake form for any personally identifiable information like phone numbers or emails before we log them: 'Contact: 347-555-9021, Email: applicant_2024@domain.org, Name: Alex Rivera.'"}],"resultDescription":"Returns a JSON object with a boolean 'safe' field and a 'flags' array. Each flag has a 'type' (e.g. 'pii') and 'subtype' (e.g. 'email', 'phone') identifying the specific category of unsafe or sensitive content detected in the scanned text.","failureModes":["Text exceeds 20,000 character limit — returns validation error","Empty or missing 'text' field — returns 400-level error","Payment not included or insufficient USDC — returns HTTP 402 Payment Required","Network timeout on large text payloads","False negatives: obfuscated PII (e.g. phone numbers with dashes replaced by dots) may not be flagged"],"whenToPreferThis":"Choose this endpoint when you need lightweight, pay-per-call PII and content safety scanning with no account setup or API key management. Ideal for AI agent pipelines that need to screen text before storage, display, or further LLM processing. Best for applications where cost predictability at $0.02/call matters and you want structured flag output (type + subtype) rather than a raw score. Prefer alternatives if you need real-time streaming analysis, image/audio moderation, or bulk batch processing at volume discounts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:02:35.304Z","isFirstParty":false}