# Quietforge PDF Text Extraction

> Quietforge PDF Text Extraction is a paid API for AI agents from qf-api.quietforge-studio.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-11).

Extracts text content page-by-page from a PDF, returning structured JSON with per-page text and document metadata

## Facts

- Endpoint: POST https://qf-api.quietforge-studio.workers.dev/v1/pdf/text?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quietforge-pdf-text-extraction-0d811bf2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JA5dhA6tyF7lFqoScSnRx

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 quietforge-pdf-text-extraction-0d811bf2 -d '<json body>'
```

Example prompt: Can you extract all the text from this PDF for me? Here's the URL: https://example.com/report.pdf — I need it broken down page by page.

## When to prefer this

Choose this endpoint when you need per-page structured text extraction from a PDF without any signup, API key, or subscription — ideal for pay-as-you-go agent workflows. Prefer it when you have either a public URL or raw PDF bytes (up to 15 MB) and need clean JSON output with page-level granularity and document metadata. Best for lightweight extraction tasks billed at $0.005 per call via USDC on Base.

## Known failure modes

- PDF URL is not publicly accessible or returns a non-200 status — endpoint cannot fetch the document
- PDF exceeds 15 MB when base64-encoded — request rejected
- PDF is image-only or scanned without embedded text — returns empty or near-empty text per page
- Malformed base64 input — parsing error returned
- Payment via x402/USDC fails or is insufficient — 402 response, no extraction performed
- Password-protected or encrypted PDF — extraction fails or returns empty text

## How this service works

Pay-per-call document conversion, PDF text extraction, headless-browser rendering of a URL or HTML to PNG / JPEG / PDF, a health-probed directory of x402 pay-per-call endpoints, a sudoku generator (solver-verified, technique-graded puzzles as JSON or a print-ready A4/Letter book), a book typesetter (prose manuscript to a KDP-ready interior PDF + editable docx), a crossword generator (verified freeform grid from your clue/answer pairs as JSON or print-ready PDFs), a family tree chart layout engine (descendant / ancestor / hourglass charts from people+families JSON or a GEDCOM file, as verified layout JSON or print-ready poster and tiled PDFs), and a dataset quality audit tool (duplicates, missing values, type consistency, class imbalance, numeric outliers and PII-pattern counts for a CSV/JSON dataset, as JSON or a one-page PDF summary). Payment: x402 (USDC on Base). No signup, no API key.

## Output

A JSON object containing an array of pages (each with a page number and extracted text string), a metadata object (including document title), and a total page_count integer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Public https URL of the PDF"
  },
  "content_base64": {
   "type": "string",
   "description": "PDF bytes, base64 (max 15 MB). Either this or url."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pages": [
   {
    "page": 1,
    "text": "..."
   },
   {
    "page": 2,
    "text": "..."
   }
  ],
  "metadata": {
   "title": "..."
  },
  "page_count": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quietforge-pdf-text-extraction-0d811bf2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from qf-api.quietforge-studio.workers.dev](https://www.zero.xyz/host/qf-api.quietforge-studio.workers.dev/llms.txt)
