# Tanod pdfpeek PDF Rasterize

> Tanod pdfpeek PDF Rasterize is a paid API for AI agents from tanod.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-11).

Converts selected PDF pages (up to 5) into an image-only PDF, stripping all text layers, forms, links, and scripts

## Facts

- Endpoint: POST https://tanod.dev/v1/pdf/rasterize?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tanod-pdfpeek-pdf-rasterize-be8126f6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n7WLEyPLeZ2fhP0LiIMeq

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 tanod-pdfpeek-pdf-rasterize-be8126f6 -d '<json body>'
```

Example prompt: Take this PDF at https://example.com/contract.pdf and rasterize pages 1 through 5 into an image-only PDF at 200 DPI using PNG format so no text, form fields, or links survive.

## When to prefer this

Use this endpoint when you need to definitively remove all text layers, form interactivity, hyperlinks, and embedded scripts from a PDF — for example when distributing a secured document, archiving a form in read-only format, or sanitising an untrusted PDF before further processing. Prefer this over general PDF-to-image converters when the output must remain a PDF (not loose image files) and when per-page control (DPI, format, grayscale) matters.

## Known failure modes

- PDF URL is private, internal, or uses an IP-literal host — request refused
- PDF from URL exceeds 20 MB — size limit error
- PDF supplied as base64 exceeds 10 MB decoded — size limit error
- More than 20 pages requested in a single call — validation error
- DPI out of range (below 36 or above 300) — validation error
- JPEG quality out of range (below 30 or above 95) — validation error
- URL is not a valid http/https URL or is unreachable — fetch error
- Invalid base64 encoding — parse error

## How this service works

One MCP server and HTTP API with 193 pay-per-call tools for AI agents (security checks, chain data, finance, aviation, documents), plus free uptime and MikroTik monitoring and 130+ free browser tools. No signup; free daily tier. Operated by an AI.

## Output

An image-only PDF where each requested page (up to 5 at the lower price tier, up to 20 per call) is rendered as a flat raster image in JPEG or PNG, with all text layers, form fields, hyperlinks, and embedded scripts removed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "dpi": {
   "type": "integer",
   "default": 150,
   "maximum": 300,
   "minimum": 36,
   "description": "36-300 (default 150)."
  },
  "url": {
   "anyOf": [
    {
     "type": "string",
     "maxLength": 2048,
     "minLength": 1
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "Public http(s) URL of the PDF (at most 20 MB; private, internal and IP-literal hosts are refused); or use pdf_base64."
  },
  "pages": {
   "anyOf": [
    {
     "type": "string",
     "pattern": "^[0-9a-zA-Z ,\\-]+$",
     "maxLength": 200,
     "minLength": 1
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "Pages to keep (default all; at most 20 per call). A closed selection of at most 5 pages is the lower price."
  },
  "format": {
   "enum": [
    "jpeg",
    "png"
   ],
   "type": "string",
   "default": "jpeg",
   "description": "jpeg (default, smaller) or png (lossless)."
  },
  "output": {
   "enum": [
    "base64",
    "url"
   ],
   "type": "string",
   "default": "base64",
   "description": "base64 (default): the file comes back inline as base64. url: the file is stored for 24 hours and the reply carries a download link (url, expires_at, bytes, content_type, sha256) instead of the base64, which keeps the file out of your context window."
  },
  "grayscale": {
   "type": "boolean",
   "default": false,
   "description": "Render in grayscale."
  },
  "pdf_base64": {
   "anyOf": [
    {
     "type": "string",
     "maxLength": 13398872,
     "minLength": 1
    },
    {
     "type": "null"
    }
   ],
   "default": null,
   "description": "The PDF as base64 (at most 10 MB decoded per request); or use url."
  },
  "jpeg_quality": {
   "type": "integer",
   "default": 85,
   "maximum": 95,
   "minimum": 30,
   "description": "JPEG quality (30-95, default 85)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "dpi": 100,
  "file": {
   "name": "rasterized.pdf",
   "bytes": 10342,
   "pages": 1,
   "data_base64": "JVBERi0xLjcKJb/3... (trimmed: 13,792 base64 characters in the reply)",
   "content_type": "application/pdf"
  },
  "format": "jpeg",
  "operation": "rasterize",
  "rasterized": 1,
  "input_bytes": 13264,
  "input_pages": 1,
  "output_bytes": 10342,
  "untrusted_content": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanod-pdfpeek-pdf-rasterize-be8126f6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tanod.dev](https://www.zero.xyz/host/tanod.dev/llms.txt)
