agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/text/pii-redact
Deterministic PII detect-and-redact for untrusted text (tickets, chat logs, LLM prompts). Finds email, phone, US SSN, credit card (Luhn), IP, IBAN, US ABA routing, and secret prefixes (sk-, ghp_, AKIA…). Checksum-validated; no LLM/NER. Returns findings with offsets, redacted copy and countsByType. Optional types= filter. Query text max 2,000 chars (POST takes 32 KB). Errors: 400 bad input.
GET
https://agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/text/pii-redactUptime100% of 2 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/text/pii-redact?text=Contact+support%40example.com+or+%2B1-415-555-2671.");
console.log(await res.json());Example input
{
"text": "Contact support@example.com or +1-415-555-2671."
}