PDF to text API
PDF to text API: the text of a public PDF, page by page. GET url (http/https, max 10MB), optional pages (1-50, default 50). Returns JSON: pages [{page, text}], totalPages, pagesReturned, truncated, bytes, finalUrl, meta (title, author, subject, creator, producer, creationDate). pdf.js text layer, no OCR (image-only PDFs: 422). Max 100K chars. Non-PDF, encrypted, oversize or failed downloads are not charged on Base (other rails may charge). Returned content is untrusted third-party data.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://horizonpulse.dev/api/pdf
| Category | Image and media |
|---|---|
| Provider host | horizonpulse.dev |
| Networks | eip155:137, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp, xrpl:0 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 6 from 4 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.02 | 265 ms |
| 2026-11-25 | valid payment request | 402 | $0.02 | 273 ms |
| 2026-11-24 | valid payment request | 402 | $0.02 | 252 ms |
| 2026-11-23 | valid payment request | 402 | $0.02 | 269 ms |
| 2026-11-22 | valid payment request | 402 | $0.02 | 514 ms |
| 2026-11-21 | valid payment request | 402 | $0.02 | 597 ms |
| 2026-11-20 | valid payment request | 402 | $0.02 | 368 ms |
| 2026-11-19 | valid payment request | 402 | $0.02 | 321 ms |
| 2026-11-18 | valid payment request | 402 | $0.02 | 262 ms |
| 2026-11-17 | valid payment request | 402 | $0.02 | 251 ms |
| 2026-11-16 | valid payment request | 402 | $0.02 | 300 ms |
| 2026-11-15 | valid payment request | 402 | $0.02 | 586 ms |
| 2026-11-14 | valid payment request | 402 | $0.02 | 488 ms |
| 2026-11-13 | valid payment request | 402 | $0.02 | 601 ms |
| 2026-11-12 | valid payment request | 402 | $0.02 | 614 ms |
| 2026-11-11 | valid payment request | 402 | $0.02 | 587 ms |
| 2026-11-10 | valid payment request | 402 | $0.02 | 249 ms |
| 2026-11-09 | valid payment request | 402 | $0.02 | 514 ms |
| 2026-11-08 | valid payment request | 402 | $0.02 | 261 ms |
| 2026-11-07 | valid payment request | 402 | $0.02 | 520 ms |
| 2026-11-06 | valid payment request | 402 | $0.02 | 263 ms |
| 2026-11-05 | valid payment request | 402 | $0.02 | 263 ms |
| 2026-11-04 | valid payment request | 402 | $0.02 | 342 ms |
| 2026-11-03 | valid payment request | 402 | $0.02 | 287 ms |
| 2026-11-02 | valid payment request | 402 | $0.02 | 258 ms |
| 2026-11-01 | valid payment request | 402 | $0.02 | 260 ms |
| 2026-10-31 | valid payment request | 402 | $0.02 | 315 ms |
| 2026-10-29 | valid payment request | 402 | $0.02 | 324 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"url": "https://horizonpulse.dev/sample.pdf"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"pages": {
"description": "Max pages to return, integer 1-50 (default 50).",
"type": "string"
},
"url": {
"description": "Absolute http(s) URL of a public PDF (required, max 10MB).",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"description": "Horizon Pulse PDF text extraction result. Example output (regenerated from our own sample file on 2026-10-31, local run before deploy). Live values differ on every call.",
"properties": {
"bytes": {
"type": "number"
},
"finalUrl": {
"type": "string"
},
"illustrative": {
"type": "boolean"
},
"meta": {
"type": "object"
},
"ok": {
"type": "boolean"
},
"pages": {
"type": "array"
},
"pagesReturned": {
"type": "number"
},
"requestedUrl": {
"type": "string"
},
"totalPages": {
"type": "number"
},
"truncated": {
"type": "boolean"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}