# PDF URL to Text Extractor

> PDF URL to Text Extractor is a paid API for AI agents from workspace-x402-paywall.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Fetches a PDF from a public URL and returns its extracted text content as a string, capped at 50,000 characters

## Facts

- Endpoint: GET https://workspace-x402-paywall.onrender.com/scrape/pdf?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pdf-url-to-text-extractor-cdb43c2c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n3jtgYeLrtIAIshp8nS4S

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-url-to-text-extractor-cdb43c2c
```

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

## When to prefer this

Choose this endpoint when you need to quickly extract raw text from a publicly accessible PDF file given only its URL, without needing to download or process the file locally. It is well-suited for agent workflows that need to read PDF content on-the-fly as part of research, summarization, or analysis pipelines. At $0.01 per call it is cost-effective for occasional PDF reads.

## Known failure modes

- Invalid or non-public URL returns an error
- URL does not point to a valid PDF file
- PDF is password-protected or encrypted and cannot be parsed
- PDF contains only scanned images with no extractable text layer
- Network timeout if the PDF URL is slow or unreachable
- Text truncated at 50,000 characters for very large documents

## How this service works

Fetches a PDF from a URL and returns the extracted text as a string in a JSON object, capped at 50,000 characters

## Output

A JSON object containing the extracted text from the PDF as a string, truncated to a maximum of 50,000 characters if the document is longer.

## 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": "Requires a valid public http:// or https:// URL string pointing to a PDF file"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pdf-url-to-text-extractor-cdb43c2c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from workspace-x402-paywall.onrender.com](https://www.zero.xyz/host/workspace-x402-paywall.onrender.com/llms.txt)
