D

DexL Agents · Tools Redact PII

by DexL Agents

POSTBaseSolanaArbitrumPolygon

$0.001

per call · USD Coin on Base

Replace personal data in text with typed placeholders. Emails, phone numbers, cards, IBANs and IP addresses are matched by exact pattern and never left to the model - the deterministic cases cannot be missed. Names, addresses and ids are judged by a model, and output shorter than half the input is rejected, so redaction never silently deletes text. The method is returned with the result.

Endpoint

POST https://agents.dexl.io/v1/tools/redact-pii

5

Calls / 30d

1

Unique payers / 30d

Sep 10

Last called

upto

Payment scheme

Call this service

TypeScript · @x402/fetch
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://agents.dexl.io/v1/tools/redact-pii", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "kinds": [
      "email",
      "phone",
      "person"
    ],
    "text": "Call Ahmet on +90 532 111 22 33 or write to ahmet@example.com."
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://agents.dexl.io/v1/tools/redact-pii" \
  -H "Content-Type: application/json" \
  -d '{"kinds":["email","phone","person"],"text":"Call Ahmet on +90 532 111 22 33 or write to ahmet@example.com."}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "cached": false,
  "output": {},
  "units": 1
}

Payment details

Pay to0x820d61a720963fab63ab6e0aef4d1779eb42f6bb
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Arbitrum, Polygon
Schemesupto, exact

Is this your API?

Pin it to the top of Data & Enrichment and the homepage with a featured placement.

Get featured →

More from DexL Agents & similar services