# PDF Redaction Risk Map — Compute Revenue Lab

> PDF Redaction Risk Map — Compute Revenue Lab is a paid API for AI agents from x402.bakdupoffroad.com, paid per call via x402, $0.045/call, status down (last checked 2026-09-15).

Scans a base64-encoded PDF for sensitive data signals (emails, phone numbers, SSNs, IBANs, credentials, credit cards) and returns a page-level risk map indicating where PII-like patterns were detected before the document is shared or published.

## Facts

- Endpoint: POST https://x402.bakdupoffroad.com/v1/document/redaction-risk-map
- Price: $0.045/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pdf-redaction-risk-map-compute-revenue-lab-de2d76b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MGuiI2bxrDoB1JOgSnWqs

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 pdf-redaction-risk-map-compute-revenue-lab-de2d76b6 -d '<json body>'
```

Example prompt: Can you scan this PDF for any sensitive data like emails, phone numbers, or SSNs before I share it externally? I'll send it as a base64-encoded file — I need to know which pages have risky content.

## When to prefer this

Choose this endpoint when you need a lightweight, privacy-safe PII signal scan on a PDF before sharing, publishing, or archiving it — especially when you want page-level granularity across multiple signal types (email, phone, SSN, IBAN, credentials, credit cards) without sending document text to a third party. Prefer this over general-purpose LLM document analysis when cost predictability ($0.045/call), speed, and the guarantee that customer text is never retained or returned are priorities. Not suitable for full OCR, image-based redaction, or guaranteed complete redaction verification.

## Known failure modes

- PDF exceeds the service's maximum decoded-size limit — request rejected
- Invalid or malformed base64 encoding — parsing error returned
- Payment not provided or insufficient — HTTP 402 returned before processing
- PDF is encrypted or password-protected — content may not be scannable
- Image-heavy pages with no extractable text — flagged as unresolved image pages, signals may be missed
- Network timeout on large documents

## How this service works

Private PDF preflight and authorized-video intelligence APIs paid per call with x402 USDC on Base.

## Output

Returns a JSON object containing a redaction risk map with: per-type signal counts (email, phone, SSN-like, IBAN-like, credential-like, credit card-like), a list of page numbers where signals were found, a list of pages with unresolved image content, a confidence level ('bounded-pattern-scan'), a flag indicating whether the source is safe, a SHA-256 hash of the input document, and the total page count. Also includes economics breakdown of the $0.045 USDC call cost.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "pdfBase64": {
   "type": "string",
   "description": "A base64-encoded PDF, up to the service's advertised decoded-size limit. Customer text is never returned or retained.",
   "contentEncoding": "base64",
   "contentMediaType": "application/pdf"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "jobId": "00000000-0000-4000-8000-000000000000",
  "result": {
   "riskMap": {
    "confidence": "bounded-pattern-scan",
    "sourceSafe": true,
    "limitations": [
     "pattern counts are leads, not a guarantee of complete redaction"
    ],
    "signalCounts": {
     "email": 2,
     "phone": 1,
     "ssnLike": 0,
     "ibanLike": 0,
     "credentialLike": 0,
     "creditCardLike": 0
    },
    "pagesWithSignals": [
     1,
     3
    ],
    "unresolvedImagePages": []
   },
   "pageCount": 3,
   "sourceSha256": "0000000000000000000000000000000000000000000000000000000000000000",
   "schemaVersion": "1"
  },
  "economics": {
   "netMicroUsd": 45000,
   "energyMicroUsd": 0,
   "revenueMicroUsd": 45000,
   "platformFeeMicroUsd": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pdf-redaction-risk-map-compute-revenue-lab-de2d76b6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.bakdupoffroad.com](https://www.zero.xyz/host/x402.bakdupoffroad.com/llms.txt)
