# Bounty Engineer PII Redaction Map

> Bounty Engineer PII Redaction Map is a paid API for AI agents from bounty-engineer-x402-prod.onrender.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-12).

Scans input text for PII (emails, phones, IPs, payment card numbers), returns redacted text and a map of findings with type, position, and SHA-256 hash for each detected item.

## Facts

- Endpoint: POST https://bounty-engineer-x402-prod.onrender.com/v1/pii-redaction-map?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bounty-engineer-pii-redaction-map-6d84078e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z6HoyrfovMB9FU6rWO-mA

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability bounty-engineer-pii-redaction-map-6d84078e -d '<json body>'
```

Example prompt: Scan this text for any emails, phone numbers, or card numbers, replace them with redaction placeholders, and give me a map showing what was found and where: 'Email me at alice@example.com or call 555-867-5309.'

## When to prefer this

Choose this endpoint when you need both a redacted copy of the text AND a structured map of findings (type + position + hash) in a single call — ideal for audit trails, downstream annotation, or compliance logging. Prefer it over a simple regex scrub when you need reproducible SHA-256 hashes of the original PII values for pseudonymization or deduplication without retaining raw data.

## Known failure modes

- Missing or empty 'text' field returns an error or empty findings
- Very long strings may time out or be truncated
- Pattern-based detector misses non-standard PII formats (e.g. obfuscated emails, international phone formats)
- Luhn-valid card detection may produce false positives on numeric strings that happen to pass the check
- Non-UTF-16 offset consumers may misalign if they use byte or UTF-8 offsets instead

## How this service works

Machine-buyable infrastructure for autonomous agents: API cost routing, margin optimization, funding-rate data, webpage extraction, result verification, spend controls, retry planning, state, tender search and GitHub bounty intelligence.

## Output

Returns a JSON object with ok=true, the redacted version of the input text (with PII replaced by labeled placeholders like [REDACTED_EMAIL]), an array of findings each containing type, UTF-16 start/end offsets, and SHA-256 hash of the original value, a total finding_count, a SHA-256 of the original input, and a limitations notice about the pattern-based detection scope.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "mode": "pii_redaction_map",
  "findings": [
   {
    "type": "email",
    "sha256": "58a95c78e3beee8314b84cfaf78d08a3b787573e4765037cd9e5ed648af73031",
    "end_utf16": 29,
    "start_utf16": 12
   },
   {
    "type": "phone",
    "sha256": "59159146211f23f6090cc3d9cdf5f2edfedfa84ce1792cc47de412974dce7ef8",
    "end_utf16": 54,
    "start_utf16": 38
   }
  ],
  "limitations": [
   "Pattern-based detector for common emails, phones, IPv4 addresses and Luhn-valid payment-card-like numbers. It does not detect all personal data."
  ],
  "input_sha256": "7c7bf3adff122fdc8fb162a57cb68320988627716ca5c53f5a0470930dfa8e42",
  "finding_count": 2,
  "redacted_text": "Email me at [REDACTED_EMAIL] or call [REDACTED_PHONE]."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bounty-engineer-pii-redaction-map-6d84078e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bounty-engineer-x402-prod.onrender.com](https://www.zero.xyz/host/bounty-engineer-x402-prod.onrender.com/llms.txt)
