{"uid":"cap_hTE8sdJDjvLb0NKg2YihQ","slug":"bot-bazaar-pii-redaction-check-76f8f315","name":"Bot Bazaar PII Redaction Check","description":"Scan a text snippet for email addresses, phone numbers, and 64-hex tokens, returning findings and a cleanly redacted string.","url":"https://bot-bazaar.fly.dev/v1/x402/pii-redaction-check?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"text":{"type":"string","description":"Text snippet to scan and redact"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_izHlO7FKrrWkzyvDoHYWX","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":"Scans a text snippet for email addresses, phone numbers, and 64-hex tokens, returning the detected findings and a redacted version of the text.","exampleAgentPrompt":"Can you scan this text for any emails, phone numbers, or 64-character hex tokens and give me back a clean redacted version? Here's the text: 'Contact John at john.doe@example.com or call 415-555-0198, token: a3f1bc9d2e4a7c8b0f6e5d3a2c1b9e8f7a4d6c5b3e2f1a0d9c8b7e6a5f4d3c2'","exampleUseCases":[{"title":"Sanitize logs before storage","prompt":"Before we write these application logs to our database, scan them for any emails, phone numbers, or hex tokens and give me the redacted version — here's the raw log line: 'User auth attempt: user=alice@corp.com ip=10.0.0.1 session_token=4a3f1bc9d2e4a7c8b0f6e5d3a2c1b9e8f7a4d6c5b3e2f1a0d9c8b7e6a5f4d3c2 result=success'"},{"title":"Validate user input before forwarding","prompt":"A user just submitted this support ticket comment — check it for any PII like email addresses or phone numbers before we forward it to our third-party ticketing system: 'Please reach me at sarah.jones@gmail.com or 212-867-5309 if you need more info.'"},{"title":"Audit text for exposed secrets","prompt":"I want to make sure this config snippet doesn't accidentally contain any hex API keys or contact details before I paste it into our public Slack channel — can you scan it and redact anything sensitive? The text is: 'db_host=prod.internal api_key=9f8e7d6c5b4a3f2e1d0c9b8a7f6e5d4c3b2a1f0e9d8c7b6a5f4e3d2c1b0a9f8e admin_contact=ops@mycompany.com'"}],"resultDescription":"Returns a list of findings (each with type such as 'email', 'phone', or 'hex_token', and the matched value) plus a redacted version of the input text where detected PII has been replaced with placeholder markers.","failureModes":["Missing required 'text' query parameter returns an error response","Empty or whitespace-only text may return empty findings with unchanged text","Very long text snippets may hit URL length limits for a GET request","Non-UTF-8 encoded characters in the query string may cause parsing errors","Rate limiting or payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need a fast, lightweight scan of a short text snippet for the three specific PII categories — emails, phone numbers, and 64-character hex tokens — and want both a structured list of findings and a ready-to-use redacted string in a single call. Ideal for pre-logging sanitization, user input validation, or secret-detection pipelines where you need deterministic rule-based detection rather than an ML-based approach.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:06:47.951Z","isFirstParty":false,"canonicalSlug":"bot-bazaar-pii-redaction-check-76f8f315"}