{"uid":"cap_4Y-GdxGLjhsYkz2Qj_TO8","slug":"api-strale-io-f831b43c","name":"Strale PII Redactor","description":"Detect and redact personally identifiable information (PII) from text. Identifies names, emails, phone numbers, national ID numbers (Swedish personnummer, Finnish henkilötunnus, etc.), addresses, and more.","url":"https://api.strale.io/x402/pii-redact?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","required":["text"],"properties":{"text":{"type":"string","description":"Text to redact PII from"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"text":"Please contact Sarah Mitchell at sarah.mitchell@example.com or call +1 555 123 4567. Her social security number is 123-45-6789 and she lives at 456 Oak Street, Portland, Oregon 97201."},"response":{"_meta":{"payment":{"method":"x402","price_usd":0.0324,"settlement_id":"0x98eae5bf0b2823216d19ead41d56a77c1ec8cc84894b313adb0887dc295356c9"},"capability":"pii-redact","latency_ms":3498,"provenance":{"source":"pii-redact:claude-haiku","fetched_at":"2026-06-13T04:23:38.144Z"}},"entities":[{"end":28,"type":"PERSON_NAME","start":14,"redacted_as":"[REDACTED_PERSON_NAME]"},{"end":56,"type":"EMAIL","start":32,"redacted_as":"[REDACTED_EMAIL]"},{"end":83,"type":"PHONE","start":67,"redacted_as":"[REDACTED_PHONE]"},{"end":129,"type":"SSN","start":117,"redacted_as":"[REDACTED_SSN]"},{"end":183,"type":"ADDRESS","start":148,"redacted_as":"[REDACTED_ADDRESS]"}],"entity_counts":{"SSN":1,"IBAN":0,"EMAIL":1,"PHONE":1,"ADDRESS":1,"PASSPORT":0,"ID_NUMBER":0,"CREDIT_CARD":0,"PERSON_NAME":1},"redacted_text":"Please contact [REDACTED_PERSON_NAME] at [REDACTED_EMAIL] or call [REDACTED_PHONE]. Her social security number is [REDACTED_SSN] and she lives at [REDACTED_ADDRESS]."}},"exampleRequest":{"text":"Please contact Sarah Mitchell at sarah.mitchell@example.com or call +1 555 123 4567. Her social security number is 123-45-6789 and she lives at 456 Oak Street, Portland, Oregon 97201."},"tags":["x402"],"displayCostAmount":"0.0324","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0324/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0324","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0324","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4CD4JAhlZLy89fHhFRUpI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0324","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects and redacts personally identifiable information (PII) from a given text, replacing names, emails, phone numbers, national IDs, and addresses with placeholders.","exampleAgentPrompt":"Can you redact all personally identifiable information from this text: 'Please contact John Andersson at john.andersson@email.com or call +46 70 123 4567, his personnummer is 811228-9874 and he lives at Storgatan 12, Stockholm.'","exampleUseCases":null,"resultDescription":"Returns the input text with all detected PII replaced by redacted placeholders, along with identified entity types such as names, email addresses, phone numbers, national ID numbers (e.g. Swedish personnummer, Finnish henkilötunnus), and physical addresses.","failureModes":["Missing required 'text' query parameter returns a 400 error","Empty string input may return unchanged text with no redactions","Very long texts may time out or be truncated","Non-Latin scripts or unusual national ID formats may not be detected","Payment failure (402) if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need to anonymize free-form text containing Nordic/European national ID formats (Swedish personnummer, Finnish henkilötunnus) in addition to standard PII like names, emails, and phone numbers. Ideal for GDPR-sensitive pipelines, pre-storage sanitization, or compliance workflows where a lightweight per-call API is preferable to running a local NLP model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:46:51.447Z","isFirstParty":false,"canonicalSlug":"api-strale-io-f831b43c"}