{"uid":"cap_rbvCMaXkoQWyuUkZCSt4r","slug":"text-tools-api-pii-scrub-9c52ef39","name":"Text Tools API – PII Scrub","description":"Deterministic text utilities paid per call in USDC on Base: CSV to JSON with type inference, and PII redaction (emails, phones, IBAN, card numbers). Free /health. 0.01 USDC per call via x402 v2.","url":"https://texttools.ggez.my.id/v1/pii-scrub?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object"},"output":{"type":"object"}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dhDVOFkoVGakQxrSGOoel","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Redacts personally identifiable information (emails, phone numbers, IBAN, card numbers) from text, paid per call in USDC via x402.","exampleAgentPrompt":"Can you scrub all PII — emails, phone numbers, credit card numbers, and IBANs — from this text before I store it: 'Contact John at john@example.com or +1-555-123-4567, his card ending 4111111111111111'?","exampleUseCases":[{"title":"GDPR compliance before data storage","prompt":"Before we save these customer support transcripts to our database, can you redact any emails, phone numbers, and card numbers from this text: 'Please call me at +44 7911 123456 or email me at sarah.jones@email.com'?"},{"title":"Sanitize logs before sending to analytics","prompt":"Our application logs accidentally captured some user PII — can you scrub all emails, phone numbers, IBANs, and credit card numbers from this log snippet before we ship it to our analytics platform?"},{"title":"Anonymize survey responses for sharing","prompt":"I need to share these open-ended survey responses with our external research partner, but first please remove any personal details like emails, phone numbers, or payment info so respondents stay anonymous."}],"resultDescription":"Returns a JSON object with a boolean 'ok' field and the sanitized text with all detected PII (email addresses, phone numbers, IBAN numbers, and credit/debit card numbers) replaced by redaction placeholders.","failureModes":["Payment not provided or insufficient USDC — returns 402 Payment Required","Malformed request body — returns 400 with validation error","Unrecognized PII patterns may not be redacted (false negatives for edge-case formats)","Rate limiting or server errors may return 429 or 5xx"],"whenToPreferThis":"Choose this endpoint when you need deterministic, rule-based PII redaction covering emails, phone numbers, IBANs, and card numbers at low cost ($0.01/call) and want a simple pay-per-use model via x402/USDC on Base — ideal for pipelines that cannot use ML-based or subscription PII services.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-01T18:34:52.101Z","isFirstParty":false,"canonicalSlug":"text-tools-api-pii-scrub-9c52ef39"}