{"uid":"cap_I24os6MYwzfavu1z5oZ3i","slug":"2s-text-redaction-api-dda0afdf","name":"2s Text Redaction API","description":"The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.","url":"https://2s.io/api/text/redact","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Text to redact (up to 256 KB)."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_byGqxgk90AafrwVzVdLca","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Automatically detects and redacts sensitive personally identifiable information (PII) and confidential data from free-form text","exampleAgentPrompt":"Can you redact all personal information from this text before I save it: 'John Smith called from 555-867-5309, his SSN is 123-45-6789 and he lives at 42 Maple Street, Springfield'?","exampleUseCases":null,"resultDescription":"Returns the input text with sensitive entities (names, phone numbers, emails, SSNs, addresses, and other PII) replaced with redaction placeholders, leaving non-sensitive content intact.","failureModes":["Text exceeds 256 KB limit — request rejected with payload too large error","Empty or missing text field — returns validation error","Ambiguous or context-dependent PII may not be fully detected — partial redaction possible","Network timeout for very large documents near the size limit"],"whenToPreferThis":"Use this endpoint when you need to programmatically strip PII or sensitive data from arbitrary free-form text before storing, logging, sharing, or analyzing it. Prefer this over manual regex-based approaches when the text contains varied PII types (names, phone numbers, emails, SSNs, addresses). Ideal for compliance workflows, data anonymization pipelines, and pre-processing steps before sending text to third-party services.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:55:03.634Z","isFirstParty":false}