# Lordevo PDF to Text

> Lordevo PDF to Text is a paid API for AI agents from shop.lordevo.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Downloads a public PDF from a URL and returns its text layer page by page, with page count and title metadata

## Facts

- Endpoint: GET https://shop.lordevo.com/api/quick/pdf-text?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lordevo-pdf-to-text-f73ccd2f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5K69h5qwz4hjYKXdGl8br

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 lordevo-pdf-to-text-f73ccd2f
```

Example prompt: Can you extract the text from this PDF — https://example.gov/report.pdf — and give me the content page by page? Just the first 10 pages please.

## When to prefer this

Choose this endpoint when you need to extract the existing text layer from a publicly accessible PDF — especially useful for documents, reports, papers, or contracts hosted online. It is not suitable for scanned image PDFs (no OCR), password-protected files, or PDFs larger than 10 MB. Prefer this over general web scraping tools when the target is specifically a PDF document.

## Known failure modes

- Password-protected PDFs are refused with an error
- PDFs larger than 10 MB are rejected
- PDFs with more than 50 pages are capped at max_pages (default 50)
- Scanned image-only PDFs return empty text (no OCR performed)
- URLs blocked by robots.txt are not fetched
- Non-PDF URLs return an error
- Unreachable or invalid URLs return a fetch error
- Total output truncated at 500,000 characters

## How this service works

PDF to text, page by page: Downloads one public PDF and returns its text layer page by page, with page count and title metadata. Input: url, optional max_pages. Limits: 10 MB, 50 pages, 500,000 characters; password-protected PDFs are refused and scanned images are not OCRed; robots.txt obeyed for ev

## Output

Returns a JSON object containing: the source URL, page count, total character count, whether the PDF has a real text layer, whether the result was truncated, and an array of page objects each with page number, text content, and character count. Also includes PDF metadata (title, author, etc.) and file size in bytes.

## 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 or bare domain, e.g. https://example.com"
      },
      "max_pages": {
       "type": "string",
       "default": "50",
       "pattern": "^\\d{1,2}$",
       "description": "Pages to read, 1-50 (default 50)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "tool",
      "url",
      "page_count",
      "pages"
     ],
     "properties": {
      "url": {
       "type": "string"
      },
      "info": {
       "type": "object"
      },
      "tool": {
       "type": "string"
      },
      "bytes": {
       "type": "integer"
      },
      "pages": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "page": {
          "type": "integer"
         },
         "text": {
          "type": "string"
         },
         "characters": {
          "type": "integer"
         }
        }
       }
      },
      "truncated": {
       "type": "boolean"
      },
      "page_count": {
       "type": "integer"
      },
      "text_layer": {
       "type": "boolean"
      },
      "pages_returned": {
       "type": "integer"
      },
      "total_characters": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lordevo-pdf-to-text-f73ccd2f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from shop.lordevo.com](https://www.zero.xyz/host/shop.lordevo.com/llms.txt)
