# AgentReader PDF Extractor

> AgentReader PDF Extractor is a paid API for AI agents from agent-reader.agent-reader.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Extracts full plain text, page count, and word count from a PDF document given its URL

## Facts

- Endpoint: GET https://agent-reader.agent-reader.workers.dev/pdf
- 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/agentreader-pdf-extractor-1ea7feb1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oQYdH_Xq6Hz5VSk_hZhAD

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 agentreader-pdf-extractor-1ea7feb1
```

Example prompt: Can you pull out all the text from this PDF for me? Here's the link: https://arxiv.org/pdf/2301.07041.pdf — I want to read through the full content, see how many pages it is, and get the word count.

## When to prefer this

Use this endpoint when you need to programmatically read the text contents of a PDF document given only its URL, especially for reports, academic papers, and documentation up to 25 MB. Prefer this over generic web scrapers when the target is specifically a PDF file and you need structured output including page and word counts alongside the text.

## Known failure modes

- URL is not accessible or returns a non-200 status — extraction fails with an error
- File exceeds the 25 MB size limit — request rejected
- URL points to a non-PDF file — parsing error returned
- PDF is encrypted or password-protected — text extraction may fail or return empty
- Network timeout fetching the remote PDF — error returned
- Malformed or corrupt PDF — parsing error or incomplete text returned

## How this service works

Extract the full text of a PDF from a URL. Returns plain text, page count and word count. Handles reports, papers and documentation up to 25 MB.

## Output

Returns the full plain text content of the PDF, along with the total page count and word count. Handles documents up to 25 MB.

## 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": "Absolute http(s) URL of the PDF"
      }
     }
    }
   },
   "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/agentreader-pdf-extractor-1ea7feb1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-reader.agent-reader.workers.dev](https://www.zero.xyz/host/agent-reader.agent-reader.workers.dev/llms.txt)
