# Tanod pdfpeek PDF Page Removal

> Tanod pdfpeek PDF Page Removal 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).

Removes specified pages from a PDF and returns the resulting PDF without those pages.

## Facts

- Endpoint: POST https://tanod.dev/v1/pdf/remove-pages?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-page-removal-60f0f8be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZSecikCEhHkLrglwm7lkH

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-page-removal-60f0f8be -d '<json body>'
```

Example prompt: Can you remove pages 1, 3, and 5-7 from this PDF at https://example.com/report.pdf using pdfpeek?

## When to prefer this

Use this endpoint when you need a simple, pay-per-call PDF page removal with no setup, supporting both URL-referenced and base64-encoded PDFs up to 20 MB. Prefer it over general PDF libraries when operating in an agent workflow that needs a hosted API rather than local processing, especially when working with PDFs fetched from public URLs.

## Known failure modes

- PDF URL is unreachable or returns a non-PDF file
- PDF exceeds the 20 MB URL or 10 MB base64 size limit
- Invalid page specification format (must match pattern of numbers, ranges, and 'last' keywords)
- Page number specified is out of range for the document
- Neither url nor pdf_base64 provided
- Both url and pdf_base64 omitted or both provided ambiguously
- Malformed or password-protected PDF that cannot be parsed

## 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

A PDF file with the specified pages removed, returned as binary PDF content. The remaining pages retain their original content, order, and formatting.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "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": {
   "type": "string",
   "pattern": "^[0-9a-zA-Z ,\\-]+$",
   "maxLength": 200,
   "minLength": 1,
   "description": "1-based pages to remove: N, N-M, N- (to the end), -M, last; comma separated."
  },
  "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."
  },
  "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."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "file": {
   "name": "removed.pdf",
   "bytes": 51782,
   "pages": 1,
   "data_base64": "JVBERi0xLjcKJb/3... (trimmed: 69,044 base64 characters in the reply)",
   "content_type": "application/pdf"
  },
  "operation": "remove-pages",
  "input_bytes": 140815,
  "input_pages": 6,
  "output_bytes": 51782,
  "untrusted_content": true,
  "active_content_removed": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tanod-pdfpeek-pdf-page-removal-60f0f8be/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)
