{"service":"pdf-text","version":"1.0.0","title":"PDF to text","description":"Use when you need to extract text from a pdf, pdf to text or document parsing for an LLM. Do not use for scanned PDFs (no OCR), password-protected files or files over 15 MB. Returns JSON with PDF text extraction: the text of each page (first 20 pages) plus title, author and producer metadata for 0.0025 USDC per page, up to 0.05 USDC per call (clients without upto pay the cap). Asynchronous: the paid call returns a jobId and a free pollUrl; typical job time 10000 ms (p95). Category: Data.","paid":{"method":"POST","url":"https://x402-gateway.blackwoodstate8.workers.dev/v1/pdf-text","scheme":"upto","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","amount":"50000","amountUsdc":"0.05","payTo":"0x2b1CcDEc444AbEFEa996D5b472f3dfAaD0446a8b","maxTimeoutSeconds":60,"pollUrl":"https://x402-gateway.blackwoodstate8.workers.dev/v1/pdf-text/jobs/:jobId","unit":"page","unitAmount":"2500","unitUsdc":"0.0025","exactFallback":"50000"},"input":{"schema":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri","description":"Public http(s) URL of the PDF file, e.g. https://example.com/report.pdf (up to 15 MB)"}},"required":["url"]},"example":{"url":"https://pdfobject.com/pdf/sample.pdf"}},"output":{"schema":{"type":"object","properties":{"jobId":{"type":"string","minLength":1,"maxLength":100},"pollUrl":{"type":"string","format":"uri"},"expiresAt":{"type":"string","description":"ISO 8601: depois disso o resultado deixa de existir"},"status":{"type":"string","const":"queued"},"next":{"type":"object","properties":{"service":{"type":"string","description":"Service id of the suggested next paid call"},"tool":{"type":"string","description":"MCP tool name of the same call"},"method":{"type":"string","enum":["GET","POST"]},"url":{"type":"string","description":"Paid route of the next call"},"useWhen":{"type":"string","description":"When the next call is the right one"},"sample":{"type":"string","description":"Free fixed sample of the whole family"}},"required":["service","tool","method","url","useWhen","sample"],"additionalProperties":false,"description":"Suggested next paid call in the same family (call it in a loop when the task continues)"}},"required":["jobId","pollUrl","expiresAt","status"],"additionalProperties":false},"example":{"jobId":"job_00000000000000000000000000000000","pollUrl":"https://gateway.example/v1/pdf-text/jobs/job_00000000000000000000000000000000","expiresAt":"2026-01-31T00:00:00.000Z","status":"queued"}},"mcp":{"url":"https://x402-gateway.blackwoodstate8.workers.dev/mcp","tool":"blackwood_pdf_extract"},"openapi":"https://x402-gateway.blackwoodstate8.workers.dev/openapi.json","status":"https://x402-gateway.blackwoodstate8.workers.dev/status.json"}