$0.0001
per call · USD Coin on Base
BitBooth PII Redact: pay 0.002 USDC, strip emails, phones, SSNs, credit cards, IPv4 addresses, and hex-looking secrets from a text blob before passing it to an LLM. Compliance primitive for agents in regulated industries (health, finance, legal). Pure regex — no LLM inference, deterministic output.
Endpoint
POST https://app.heinrichstech.com/v1/cdp/pii-redact2
Calls / 30d
2
Unique payers / 30d
Sep 7
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://app.heinrichstech.com/v1/cdp/pii-redact", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"patterns": [
"email",
"phone"
],
"replacement": "[REDACTED]",
"text": "Email me at alice@example.com or 555-123-4567"
}),
});
const data = await res.json();curl -X POST \
"https://app.heinrichstech.com/v1/cdp/pii-redact" \
-H "Content-Type: application/json" \
-d '{"patterns":["email","phone"],"replacement":"[REDACTED]","text":"Email me at alice@example.com or 555-123-4567"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"counts": {
"creditCard": 0,
"email": 1,
"hexSecret": 0,
"ipv4": 0,
"phone": 1,
"ssn": 0
},
"ok": true,
"originalBytes": 46,
"payment": {
"network": "eip155:8453",
"payer": "0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
"transaction": "0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
},
"redacted": "Email me at [REDACTED] or [REDACTED]",
"redactedBytes": 36,
"totalRedactions": 2
}Payment details
0xda2f35d283c42dd60b965322394bc658a5c1769fUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Other and the homepage with a featured placement.
More from Heinrichstech & similar services
Heinrichstech · CDP Echo
app.heinrichstech.com
BitBooth echo endpoint — pays a tiny USDC fee, returns a JSON echo. Reference implementation of the x402 + CDP Facilitator + Bazaar discovery loop.
Heinrichstech · Chain Erc20 Balance
app.heinrichstech.com
ERC-20 token balance for any wallet — USDC, USDT, DAI, or any token contract — via balanceOf eth_call, with decimals applied. Ethereum or Base mainnet. Pay 0.003 USDC.
Heinrichstech · CDP Whois
app.heinrichstech.com
BitBooth Whois: pay 0.005 USDC, get the parsed whois record for any domain — registrar, creation/updated/expiry dates, name servers, status flags, plus the raw whois text. Two-hop resolution via whois.iana.org then the authoritative registry over TCP port 43. 5s per-connection timeout cap. Rejects IPv4/IPv6 inputs and blocks SSRF at the DNS layer. Built for agents auditing domain ownership, monitoring expiry, or pre-flighting a target.