# PDF to Text Extractor

> PDF to Text Extractor is a paid API for AI agents from clink-lithium-vault.fly.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Extracts full plain text from any publicly accessible PDF URL, returning the text content along with page count and a scanned-document flag

## Facts

- Endpoint: GET https://clink-lithium-vault.fly.dev/pdf/text
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pdf-to-text-extractor-a2edc07b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3kct1E5elQFD4Pzr-GkPb

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 pdf-to-text-extractor-a2edc07b
```

Example prompt: Can you pull the full text out of this PDF for me? Here's the URL: https://example.com/annual-report-2024.pdf — I need the plain text so I can analyze it.

## When to prefer this

Choose this endpoint when you need to quickly extract plain text from a publicly accessible PDF URL without setting up any authentication or accounts. It is ideal for processing SEC filings, research papers, reports, invoices, and manuals that are available via a direct HTTP link. Prefer this over general-purpose document parsers when you want a zero-setup, pay-per-call solution with a clear scanned-document indicator. Not suitable for scanned/image PDFs (no OCR) or private/auth-gated documents.

## Known failure modes

- PDF URL is not publicly accessible or returns a non-200 response
- PDF exceeds 25MB size limit
- Extracted text exceeds 500,000 character limit
- PDF is scanned/image-based — no OCR available, likely_scanned flag is set true and text may be empty
- URL does not point to a valid PDF file
- Network timeout fetching the remote PDF
- Malformed or password-protected PDF

## How this service works

Convert PDF to text for AI agents - pass any public PDF URL, get the full extracted plain text in one call. pdftotext / pdf to text converter / extract text from PDF / read a PDF / parse PDF documents, papers, SEC filings, reports, invoices, manuals. Up to 25MB and 500k chars, with page count and a likely_scanned flag (text-based PDFs only, no OCR). No API key, no account. ?url=<public PDF url>. Free live sample: /pdf/example.

## Output

Returns the full extracted plain text of the PDF, along with metadata including total page count and a likely_scanned boolean flag indicating whether the document appears to be a scanned image (in which case text extraction may be incomplete or unavailable). Supports PDFs up to 25MB and 500,000 characters. No OCR is performed on scanned 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",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public http(s) URL of a PDF file"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pdf-to-text-extractor-a2edc07b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clink-lithium-vault.fly.dev](https://www.zero.xyz/host/clink-lithium-vault.fly.dev/llms.txt)
