# Compute Revenue Lab — PDF Preflight Intake Plan (Base64)

> Compute Revenue Lab — PDF Preflight Intake Plan (Base64) is a paid API for AI agents from x402.bakdupoffroad.com, paid per call via x402, $0.055/call, status down (last checked 2026-09-15).

Analyzes a base64-encoded PDF to produce a preflight intake plan including document family, recommended extraction method, risks, metadata, and page statistics.

## Facts

- Endpoint: POST https://x402.bakdupoffroad.com/v1/document/intake-plan-base64
- Price: $0.055/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/compute-revenue-lab-pdf-preflight-intake-plan-base64-3a2753c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jSJc9Lnu9qAEUNL4ke7UR

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 compute-revenue-lab-pdf-preflight-intake-plan-base64-3a2753c5 -d '<json body>'
```

Example prompt: Can you preflight this PDF for me and tell me whether it has selectable text or needs OCR, how many pages it has, and what the recommended extraction method is? Here's the base64-encoded content: [base64 string].

## When to prefer this

Choose this endpoint when you need a lightweight, paid-per-call preflight check on a PDF before committing to heavier extraction or OCR workflows. It is ideal for routing decisions in document ingestion pipelines where you want to know whether selectable text extraction or OCR is appropriate, without retaining or exposing customer content. Prefer it over full extraction endpoints when the goal is classification and risk assessment rather than content retrieval.

## Known failure modes

- Oversized PDF exceeds the service's decoded-size limit — request rejected
- Malformed or invalid base64 input — parse error returned
- Non-PDF content encoded as base64 — document family unrecognized
- Payment failure via x402/USDC on Base — 402 response before processing begins
- Network timeout if PDF is very large and encoding is slow client-side

## 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 with a jobId, and a result block containing: documentFamily (e.g. selectable_pdf), recommendedMethod, fallbackMethod, risks array, formType, pageSize, encrypted boolean, pageCount, pdfVersion, sourceSha256, schemaVersion, and firstPageTextCharacters count. Also includes an economics block with the per-call cost breakdown in micro-USD.

## 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": {
   "risks": [
    "reading order and tables may not match visual layout"
   ],
   "formType": "none",
   "pageSize": "612 x 792 pts (letter)",
   "encrypted": false,
   "pageCount": 4,
   "pdfVersion": "1.7",
   "sourceSha256": "0000000000000000000000000000000000000000000000000000000000000000",
   "schemaVersion": "1",
   "documentFamily": "selectable_pdf",
   "fallbackMethod": "render-page-and-ocr-only-failed-regions",
   "recommendedMethod": "extract-selectable-text-with-page-locators",
   "firstPageTextCharacters": 412
  },
  "economics": {
   "netMicroUsd": 55000,
   "energyMicroUsd": 0,
   "revenueMicroUsd": 55000,
   "platformFeeMicroUsd": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/compute-revenue-lab-pdf-preflight-intake-plan-base64-3a2753c5/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)
