{"service":"Subpay PDF reader","reads":"Reads the PDF at a URL into structured JSON: what the document is, title, authors, date, a summary, its sections, key facts and figures with page numbers, its tables as rows and columns, and the full text of every page. Optionally answers one question about it, citing pages. For research papers, reports, filings, manuals, spec sheets and other PDFs that HTML scrapers mangle.","endpoint":"POST /api/v1/pdf","body":{"url":"http(s) URL of the PDF (required)","question":"one question to answer from it (optional)"},"price":"$0.04 per page (up to 25 pages)","freeReads":"First 3 reads a day are free (documents up to 10 pages, no payment needed); after that, the usual price.","pricing":"Each PDF is downloaded and quoted before payment: pages × the per-page price, up to 25 pages ($1.00). The 402 response states the exact amount.","payment":{"protocol":"x402","scheme":"exact","asset":"USDC","chains":[{"chain":"base","network":"eip155:8453","testnet":false},{"chain":"solana","network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","testnet":false}]},"available":true,"returns":"document (kind, title, authors, publisher, date, language, summary), sections, keyFacts, tables, answer, text (per page), textLayer, warnings, confidence","example":{"url":"https://example.org/reports/annual-2025.pdf","pages":12,"priceUsd":0.48,"document":{"kind":"annual report","title":"Annual Report 2025","authors":[],"publisher":"Example Foundation","date":"2026-03-31","language":"en","summary":"The foundation's 2025 results: grants, programs and audited financial statements."},"sections":[{"heading":"Financial statements","page":8,"summary":"Audited statement of activities and financial position."}],"keyFacts":[{"label":"Total grants awarded","value":"$4.2 million","page":3}],"tables":[{"title":"Statement of activities","page":9,"columns":["Line","2025","2024"],"rows":[["Total revenue","5,912,400","5,401,100"]]}],"answer":{"question":"How much was awarded in grants?","answer":"$4.2 million in 2025.","found":true,"pages":[3]},"text":[{"page":1,"text":"Annual Report 2025 …"}],"textLayer":"full","warnings":[],"confidence":0.93},"maxBytes":4194304,"maxPages":25,"fetching":"Public http(s) URLs only, up to 3 redirects, 10 s timeout. User agent: subPAY.ai-pdf-reader/1.0.","charging":"Only successful reads are charged. URLs that don't return a readable PDF are refused before any price is quoted.","retention":"Documents are read and discarded, never stored.","docs":"https://subpay.ai/developers","requests":"POST https://subpay.ai/api/v1/requests (free) — tell us what you need and what you'd pay","llms":"https://subpay.ai/llms.txt","terms":"https://subpay.ai/api-terms — by sending a request or payment you agree to these terms."}