# FastScrape PDF Parser

> FastScrape PDF Parser is a paid API for AI agents from fastscrape.benlab.download, paid per call via x402, $0.02/call, status down (last checked 2026-09-15).

Downloads a public PDF from a URL, safely extracts its text content in memory, and returns the text along with document metadata.

## Facts

- Endpoint: GET https://fastscrape.benlab.download/pdf-parse
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastscrape-pdf-parser-5968dac0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h5h3GUMdaTvHT37qcGtKB

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 fastscrape-pdf-parser-5968dac0
```

Example prompt: Can you extract all the text from this public PDF for me? Here's the URL: https://example.com/report2024.pdf

## When to prefer this

Choose this endpoint when you need to extract text and metadata from a publicly accessible PDF document given its URL, especially in agentic workflows where safe in-memory processing is important. It is ideal for one-off document parsing tasks without requiring local file handling or complex PDF libraries. Prefer it over general web scrapers when the target is specifically a PDF file.

## Known failure modes

- PDF URL is not publicly accessible or requires authentication — returns an error indicating the resource is unavailable
- URL does not point to a valid PDF file — returns a parse error
- PDF is encrypted or password-protected — extraction fails with an appropriate error
- PDF URL is malformed or not a valid URI — schema validation rejects the request
- Very large PDFs may be truncated due to bounded text extraction limits
- Network timeout when fetching the remote PDF

## How this service works

Download a public PDF safely in memory from a JSON request body and return bounded extracted text and metadata.

## Output

Returns bounded extracted text content from the PDF along with document metadata such as page count, author, title, and other PDF properties, all processed safely in memory without writing to disk.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "pdf_url"
     ],
     "properties": {
      "pdf_url": {
       "type": "string",
       "format": "uri",
       "description": "Public HTTP or HTTPS PDF URL to parse"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "Example PDF text",
  "title": "Example document",
  "status": "success",
  "pdf_url": "https://example.com/document.pdf",
  "final_url": "https://example.com/document.pdf",
  "truncated": false,
  "page_count": 1,
  "word_count": 3,
  "character_count": 16,
  "pages_extracted": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastscrape-pdf-parser-5968dac0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fastscrape.benlab.download](https://www.zero.xyz/host/fastscrape.benlab.download/llms.txt)
