# PDF to Plain Text Extractor (api.x402node.dev)

> PDF to Plain Text Extractor (api.x402node.dev) is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.015/call, status unknown (last checked 2026-09-14).

Fetches a PDF from a given URL and returns its extracted plain text content, optimized for minimal token footprint in AI summarization and analysis workflows.

## Facts

- Endpoint: GET https://api.x402node.dev/pdf/text
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-x402node-dev-c8595d76
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V4GH8Vs7MYjnaTw6K1UHX

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 api-x402node-dev-c8595d76
```

Example prompt: Extract the plain text from this PDF so I can summarize it: https://example.com/contract.pdf

## When to prefer this

Choose this endpoint when you need to extract raw plain text from a text-based PDF accessible via URL, especially in AI agent workflows involving document summarization, RAG indexing, contract review, or analysis pipelines where minimal token overhead is important. Not suitable for scanned/image PDFs — use an OCR service for those.

## Known failure modes

- PDF URL is inaccessible or returns a non-200 response
- URL does not point to a valid PDF file
- PDF is scanned/image-based and contains no extractable text layer (returns empty or error)
- PDF is password-protected or encrypted
- Network timeout fetching the remote PDF
- Malformed or corrupted PDF file

## How this service works

pdf to text, extract text from pdf, pdf text extractor, pdf parser, pdf to plain text, read text from pdf. Fetch PDF from URL and return extracted plain text. Minimal token footprint for summarization and analysis. Supports text-based PDFs (for scanned images use image OCR). For AI agents doing document analysis, RAG indexing, contract review, summary pipelines. Accepts payment on Base or Solana — either network works.

## Output

Returns the extracted plain text content of the PDF fetched from the provided URL. The response is optimized for minimal token footprint, making it suitable for feeding into summarization, analysis, or RAG indexing pipelines. Works only on text-based PDFs (not scanned image PDFs).

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string",
       "description": "Target URL (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-x402node-dev-c8595d76/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
