PDF to Text is a paid API for AI agents from web.tollkit.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-12).
Fetches a PDF from a URL and extracts the full text of every page along with metadata like title, author, and page count.
PDF to text: give a PDF URL, get the text of every page with the title, author and page count. For RAG, research and summarizing reports, filings and papers.
Returns a JSON object containing the document URL, file size in bytes, page count, number of pages read, total text length, title, author, creation date, a truncation flag, the fetch timestamp, and an array of page objects each with a page number and its extracted text string.
POSThttps://web.tollkit.dev/pdf?utm_source=zero.xyzChoose this endpoint when you need to extract structured, page-by-page text from a PDF accessible via a public URL, especially for RAG pipelines, research paper ingestion, financial filings, or government documents. It is preferable over generic web scrapers when the target is specifically a PDF file, and over OCR services when the PDF contains embedded (selectable) text rather than scanned images.
| Field | Type | Description |
|---|---|---|
| url | string | Absolute http(s) URL of a PDF. |
| max_pages | integer | Read at most this many pages. |
{
"type": "json",
"example": {
"url": "https://www.irs.gov/pub/irs-pdf/fw9.pdf",
"bytes": 140815,
"pages": [
{
"page": 1,
"text": "Form W-9(Rev. March 2024)\nRequest for Taxpayer\nIdentification Number and Certification\nDepartment of the Treasury\nInternal Revenue Service Go to www.irs.gov/FormW9 for instructions and the latest information.\nGive form to the\nrequester. Do not\nsend to the IRS.\nBefore you begin. …"
},
{
"page": 2,
"text": "Form W-9 (Rev. 3-2024) Page 2\nmust obtain your correct taxpayer identification number (TIN), which\nmay be your social security number (SSN), individual taxpayer\nidentification number (ITIN), adoption taxpayer identification number\n(ATIN), or employer identification number (EIN),…"
}
],
"title": "Form W-9 (Rev. March 2024)",
"author": "SE:W:CAR:MP",
"created": "2024-03-06",
"final_url": "https://www.irs.gov/pub/irs-pdf/fw9.pdf",
"truncated": true,
"fetched_at": "2026-10-05T00:25:27.940Z",
"page_count": 6,
"pages_read": 2,
"text_length": 13826
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"