# Paperknife PDF Extraction API

> Paperknife PDF Extraction API is a paid API for AI agents from paperknife-api.davidgoparkid369.chatgpt.site, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Extracts clean, structured text from a publicly accessible PDF URL and returns it as JSON with per-page breakdown

## Facts

- Endpoint: POST https://paperknife-api.davidgoparkid369.chatgpt.site/api/extract
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/paperknife-pdf-extraction-api-846076d4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dd3NEGNbmpuAK261gq0dF

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 paperknife-pdf-extraction-api-846076d4 -d '<json body>'
```

Example prompt: Can you extract all the text from this PDF — https://example.com/report.pdf — and give it to me broken down page by page?

## When to prefer this

Choose this endpoint when you need a zero-setup, pay-per-call PDF text extraction with no API key or account registration. Ideal for agents that occasionally process PDFs without wanting to manage credentials or subscriptions. Best for text-native PDFs (not scanned images) up to 20 MB and 100 pages. Prefer over heavier document-intelligence platforms when you only need clean text output and per-page breakdown, not layout analysis, table extraction, or OCR on scanned images.

## Known failure modes

- PDF URL is not publicly accessible or requires authentication — request fails
- PDF exceeds 20 MB or 100 page limits — extraction rejected
- URL does not resolve to a valid PDF — parse error returned
- PDF is image-only (scanned) with no embedded text — returns empty or minimal text
- Network timeout fetching the remote PDF — connection error
- Malformed URL input — validation error on the url field

## How this service works

A pay-per-call PDF text extraction API. No account, no key, just x402.

## Output

A JSON object containing: 'text' (full concatenated document text), 'pages' (total page count as an integer), 'title' (document title string or null if absent), and 'byPage' (array of objects each with 'page' index and 'text' for that page). Supports PDFs up to 20 MB and 100 pages.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Public HTTPS PDF URL, up to 20 MB and 100 pages."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "Dummy PDF file",
  "pages": 1,
  "title": null,
  "byPage": [
   {
    "page": 1,
    "text": "Dummy PDF file"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/paperknife-pdf-extraction-api-846076d4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from paperknife-api.davidgoparkid369.chatgpt.site](https://www.zero.xyz/host/paperknife-api.davidgoparkid369.chatgpt.site/llms.txt)
