# Vextorium PDF Text Extractor

> Vextorium PDF Text Extractor is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.012/call, status unknown (last checked 2026-10-11).

Extracts all text content from a PDF file given its direct URL, returning the full text, page count, and whether it was truncated.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/pdf-extract-text?utm_source=zero.xyz
- Price: $0.012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-pdf-text-extractor-99b2d9ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_brYM3Ondm4hOZRH78xbsz

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-text-extractor-99b2d9ea -d '<json body>'
```

Example prompt: Can you extract all the text from this PDF for me? Here's the URL: https://example.com/report.pdf

## When to prefer this

Use this endpoint when you need to extract plain text from a PDF accessible via a direct public URL, especially for document analysis, summarization, search indexing, or feeding PDF content into downstream NLP pipelines. Prefer this over general-purpose web scrapers when the target is specifically a PDF file with embedded text rather than an HTML page.

## Known failure modes

- URL does not point to a valid or accessible PDF — returns error
- PDF contains only scanned images (no embedded text) — returns empty or minimal text
- PDF URL requires authentication or is behind a paywall — fetch fails
- Network timeout if the PDF is very large or hosted on a slow server
- Malformed URL input causes validation error

## How this service works

Extract the text of a PDF from its URL.

## Output

A JSON object containing: the original PDF URL, the full extracted plain text string, the number of pages in the PDF, and a boolean indicating whether the text was truncated due to length limits.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Direct URL to a PDF with real text"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": [
      "object",
      "null"
     ],
     "properties": {
      "url": {
       "type": [
        "string",
        "null"
       ]
      },
      "text": {
       "type": [
        "string",
        "null"
       ]
      },
      "num_pages": {
       "type": [
        "number",
        "null"
       ]
      },
      "truncated_text": {
       "type": [
        "boolean",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://ejemplo.com/documento.pdf",
  "text": "Contenido extraido...",
  "num_pages": 3,
  "truncated_text": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-pdf-text-extractor-99b2d9ea/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)
