# Vextorium PDF Extract Pages

> Vextorium PDF Extract Pages 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-19).

Extracts a subset of pages from a PDF at a given URL and returns the new PDF as a base64-encoded string.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/pdf-extract-pages?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: down
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-pdf-extract-pages-ac643597
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a5OGjfzd2JtyDeNCrATV8

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-extract-pages-ac643597 -d '<json body>'
```

Example prompt: Can you extract pages 1-3 and 7 from this PDF — https://example.com/report.pdf — and give me the result as a base64 PDF I can download?

## When to prefer this

Choose this endpoint when you need to programmatically extract a specific subset of pages from a remote PDF document without downloading and processing the file locally. It is ideal for agents that need to isolate chapters, sections, or signature pages from large documents and pass the result downstream as base64. Prefer this over general-purpose PDF libraries when you want a hosted, pay-per-call solution with no infrastructure overhead.

## Known failure modes

- Invalid or inaccessible PDF URL returns an error — the URL must be publicly reachable
- Malformed page range string (e.g. non-numeric characters or out-of-bound page numbers) may cause extraction to fail
- Page numbers exceeding the actual document length result in an error or empty output
- Very large PDFs may time out or exceed processing limits
- Non-PDF content at the provided URL will cause a parsing error

## How this service works

558 pay-per-call data APIs for AI agents: Solana and EVM on-chain data, tokenized stocks, DeFi, Hyperliquid, economy and official statistics, FX, validation, web and developer tools. Pay in USDC via x402.

## Output

A JSON object containing the base64-encoded PDF of the extracted pages, the number of pages in the new document, and the file size in bytes. The base64 string can be decoded to reconstruct and save the PDF file.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-pdf-extract-pages-ac643597/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)
