# PDF to text

GET https://horizonpulse.dev/api/pdf

- Price: $0.02 per call. The exact amount is in the 402.
- Pay with: USDC on Base, USDC on Solana, USDC on Polygon, RLUSD on XRP Ledger, EURC on Base
- Family: Web, search and documents (/catalog/web-documents.md)

## What it returns
PDF URL to text per page plus metadata

## Inputs
- url (required): Absolute http(s) URL of a public PDF (required, max 10MB).
- pages: Max pages to return, integer 1-50 (default 50).
Full schema and bounds: /openapi.json

## If the call fails
- USDC on Base: errors are not charged, apart from the exceptions noted on a route.
- USDC on Solana: a refused or failed request may still be charged.
- On Polygon (native USDC), a request is settled only when it succeeds (HTTP status below 400). Failed requests are not charged.
- RLUSD on XRP Ledger: a refused or failed request may still be charged.

## Try it
- Unpaid sample on a fixed input: GET https://horizonpulse.dev/api/demo/pdf
- Setup: /setup.md
