# Vextorium PDF Page Extractor

> Vextorium PDF Page Extractor is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.004/call, status down (last checked 2026-10-21).

Extracts a specified subset of pages (e.g. 1-3,7) from a PDF at a given URL and returns the resulting PDF as a base64-encoded string.

## Facts

- Endpoint: POST https://api.vextorium.com/pdf-extraer-paginas-pago?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: down
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-pdf-page-extractor-318f63b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Qpqr4ZR_6ve3bklFUbGyU

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 vextorium-pdf-page-extractor-318f63b6 -d '<json body>'
```

Example prompt: Take the PDF at https://example.com/report.pdf and create a new PDF with only pages 1-3 and 7, then give me the result as base64.

## When to prefer this

Use this endpoint when you need to programmatically extract a specific subset of pages from a remotely hosted PDF and receive the result as base64 for further processing or storage. Prefer this over full-PDF downloads when only certain pages are needed, or when you want to create a trimmed document without manual editing tools.

## Known failure modes

- URL is unreachable or returns non-PDF content — extraction fails
- Page range string references pages beyond the PDF's actual page count — partial or empty result
- Malformed page range string (e.g. invalid syntax) — request rejection
- PDF is password-protected or DRM-restricted — extraction fails
- Very large PDFs may time out during download or processing

## How this service works

Create a new PDF with only the pages you choose (e.g. 1-3,7) from a PDF at a URL, returned in base64.

## Output

A JSON object containing the base64-encoded content of the newly created PDF (base64), its size in bytes (bytes), and the number of pages in the output PDF (paginas).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  },
  "paginas": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bytes": 332949,
  "base64": "JVBERi0xLjcKJeLjz9MKMSAwIG9iago8PAovUHJvZHVjZXIgKHB5cGRmKQo+PgplbmRvYmoKMiAwIG9iago8PAovVHlwZSAvUGFnZXMKL0NvdW50IDIKL0tpZHMgWyA0IDAgUiAzMyAwIFIgXQo+PgplbmRvYmoKMyAwIG9iago8PAovVHlwZSAvQ2F0YWxvZwovUGFnZXMgMiAwIFIKPj4KZW5kb2JqCjQgMCBvYmoKPDwKL0Fubm90cyA1IDAgUgovQ29udGVudHMgWyA4IDAgUiA5IDAgUiAxMCAwIFIg…",
  "paginas": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-pdf-page-extractor-318f63b6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
