# Sift Web Tools – PDF Text Extraction

> Sift Web Tools – PDF Text Extraction is a paid API for AI agents from sift.srv1996466.hstgr.cloud, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-19).

Extracts and returns the text content of a remote PDF file, page by page, as structured JSON

## Facts

- Endpoint: GET https://sift.srv1996466.hstgr.cloud/v1/pdf?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sift-web-tools-pdf-text-extraction-f1209b0b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yI9xAAtleYMetrcbwN4wl

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 sift-web-tools-pdf-text-extraction-f1209b0b
```

Example prompt: Pull the text from this PDF — https://example.com/report.pdf — and give me all the pages, up to 20 pages max.

## When to prefer this

Use this endpoint when you have a direct URL to a PDF file and need its text content structured page-by-page. It is preferable to generic web-fetch endpoints when the target is specifically a PDF, as it handles PDF parsing natively and returns per-page structured output. The pay-per-call USDC model means you only pay $0.004 on success, making it cost-effective for occasional or on-demand PDF reading without a subscription.

## Known failure modes

- URL is not a valid or accessible PDF — returns error
- PDF is password-protected or encrypted — text extraction fails
- PDF exceeds max_pages cap (50) — only up to the limit is returned
- Network timeout fetching the remote PDF — call fails and no charge is made
- PDF contains only scanned images with no embedded text — returns empty page text

## How this service works

Extract text from a PDF URL, page by page. Text of a PDF (up to 25 MB, first 50 pages) page by page, with document metadata and a hint when the PDF is a scan.

## Output

Returns a JSON object with a 'pages' array (each entry has 'page' number and 'text' string) and a 'page_count' integer reflecting the total number of pages extracted. Only pages within the requested max_pages limit are 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",
       "description": "PDF URL"
      },
      "max_pages": {
       "type": "integer",
       "description": "Max pages (1-50, default 50)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sift-web-tools-pdf-text-extraction-f1209b0b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sift.srv1996466.hstgr.cloud](https://www.zero.xyz/host/sift.srv1996466.hstgr.cloud/llms.txt)
