# Apiosk Gateway – PDF URL Text Extractor

> Apiosk Gateway – PDF URL Text Extractor is a paid API for AI agents from gateway.apiosk.com, paid per call via x402, $0.020625/call, status unknown (last checked 2026-09-16).

Extracts text from a PDF at a remote URL, optionally scoped to a page range and coordinate-bounded region, and returns the content as a string.

## Facts

- Endpoint: POST https://gateway.apiosk.com/apyhub-extractor-pdf-text/extract/text/pdf-url
- Price: $0.020625/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apiosk-gateway-pdf-url-text-extractor-c83129f1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gcVY32FGDYHYLq629UoZY

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 apiosk-gateway-pdf-url-text-extractor-c83129f1 -d '<json body>'
```

Example prompt: Can you pull out all the text from this PDF at https://example.com/report.pdf, just pages 3 to 7?

## When to prefer this

Choose this endpoint when you have a remotely hosted PDF and need its text content without downloading and processing the file locally. It is ideal for pipeline steps that ingest documents from the web, when you need to scope extraction to specific pages or coordinate regions, and when you want a simple string output rather than structured JSON. Prefer it over OCR-based solutions when the PDF contains machine-readable text layers.

## Known failure modes

- PDF URL is unreachable or returns a non-200 response — extraction fails with a URL error
- URL points to a non-PDF file — parser returns an error or empty content
- Requested page range exceeds the document's actual page count — may return partial or empty results
- Password-protected or encrypted PDFs cannot be parsed — extraction fails
- Malformed coordinate bounds produce empty or incorrect region extractions
- Large PDFs may timeout or return truncated content

## How this service works

Extracts text from a PDF located at a remote URL and returns the extracted content as a string. You can optionally limit the extraction to a page range and define coordinate bounds for the extracted area.

## Output

A string containing the extracted text from the specified PDF, scoped to the requested page range and coordinate bounds if provided. Returns plain text with the content as parsed from the PDF layout.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/apiosk-gateway-pdf-url-text-extractor-c83129f1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.apiosk.com](https://www.zero.xyz/host/gateway.apiosk.com/llms.txt)
