{"uid":"cap_jR4tAi2PBeo1R9FVg-ROZ","slug":"newbotlabor-pdf-text-extractor-0ec72960","name":"NewBotLabor PDF Text Extractor","description":"Pay-per-call utilities for autonomous agents, paid with x402 (USDC on Base; no account, no API key).","url":"https://newbotlabor--254ecdfcc2de11f19b541607ee4eb77e.web.val.run/api/pdf/text?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"public http(s) URL of a PDF"},"base64":{"type":"string","description":"PDF bytes, base64 (instead of url)"},"maxPages":{"type":"number","description":"1-200, default 200"},"joinPages":{"type":"boolean","description":"also return all pages joined as text"}}},"responseSchema":{"type":"json","example":{"meta":{"title":null,"author":null},"bytes":13264,"chars":15,"pages":1,"sha256":"3df79d34…","pageText":[{"page":1,"text":"Dummy PDF file","chars":15}],"emptyPages":[],"returnedPages":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pRuieDXcXmLHS07upiaSh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts text content and metadata from a PDF document supplied as a URL or base64-encoded bytes, returning per-page text and document metadata.","exampleAgentPrompt":"Can you extract all the text from this PDF — https://example.com/report.pdf — and give me the text for each page separately, up to 50 pages?","exampleUseCases":[{"title":"Research paper text extraction","prompt":"I need you to pull out all the text from this academic paper PDF at https://arxiv.org/pdf/2301.00001.pdf so I can summarize and analyze its findings — give me the text page by page."},{"title":"Invoice data parsing","prompt":"Extract the text from this base64-encoded invoice PDF I'm sending you so I can find the line items and total amount — limit it to the first 5 pages."},{"title":"Legal document review prep","prompt":"Grab all the text from https://contracts.example.com/agreement.pdf and also give me the combined full text as a single block, up to 100 pages, so I can search it for specific clauses."}],"resultDescription":"Returns a JSON object containing document metadata (title, author), file size in bytes, total character count, page count, a SHA-256 hash of the PDF, an array of per-page text objects (page number, text, character count), a list of empty page numbers, and optionally a joined full-text string if joinPages was requested.","failureModes":["PDF URL is not publicly accessible or returns a non-200 response — extraction fails with an error","Invalid or malformed base64 input causes a parse error","PDF is encrypted or password-protected — text cannot be extracted","maxPages value outside 1-200 range is rejected","PDF contains only scanned images with no embedded text — returns empty text per page","Network timeout fetching the remote PDF URL"],"whenToPreferThis":"Choose this endpoint when you need to extract raw text from a PDF document on a per-page basis without setting up an account or API key, especially in autonomous agent workflows where pay-per-call microtransactions via x402/USDC are preferred over subscription billing. Ideal for one-off or low-volume PDF parsing tasks where you have either a public URL or raw PDF bytes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:38:07.896Z","isFirstParty":false,"canonicalSlug":"newbotlabor-pdf-text-extractor-0ec72960"}