# FetchHarbor PDF Parser

> FetchHarbor PDF Parser is a paid API for AI agents from fetchharbor.benlab.download, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Extracts embedded text, page count, and character count from a public PDF URL (no OCR for scanned images).

## Facts

- Endpoint: GET https://fetchharbor.benlab.download/pdf-parse
- 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/fetchharbor-pdf-parser-ca94a57c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4CX0eteCNycn96zJSgvew

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 fetchharbor-pdf-parser-ca94a57c
```

Example prompt: Can you extract all the text from this PDF so I can process it further — here's the URL: https://example.com/report.pdf

## When to prefer this

Choose this endpoint when you need to extract embedded text from a remote PDF URL quickly and cheaply ($0.01/call) without needing OCR. It is ideal for research, RAG ingestion pipelines, and document processing workflows where the PDF contains selectable text. Prefer this over general-purpose web scrapers when the target is specifically a PDF document and you need structured metadata (page count, character count) alongside the text.

## Known failure modes

- PDF URL is not publicly accessible or returns a non-200 response
- PDF exceeds the operator-configured maximum file size limit
- PDF contains only scanned images — no embedded text is returned (OCR not supported)
- Invalid or malformed URL provided in the query parameter
- Network timeout fetching the remote PDF
- Corrupted or password-protected PDF files may fail to parse

## How this service works

Extract embedded text from a public PDF URL or multipart upload for research and retrieval pipelines. Returns text, page count, and character count; scanned-image OCR is not included. Remote and uploaded PDFs are limited to the operator-configured maximum size.

## Output

Returns a JSON object with a 'status' field ('success'), the full extracted plain text of the PDF, the total page count as an integer, and the character count as an integer. OCR is not performed on scanned or image-only PDFs; only embedded selectable text is returned.

## 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": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "status",
      "text",
      "page_count",
      "character_count"
     ],
     "properties": {
      "text": {
       "type": "string"
      },
      "status": {
       "type": "string",
       "const": "success"
      },
      "page_count": {
       "type": "integer",
       "minimum": 0
      },
      "character_count": {
       "type": "integer",
       "minimum": 0
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

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