{"uid":"cap_rXKLMDMD1CLA_MHfmiruT","slug":"machina-agent-services-pdf-large-document-extractor-9c86a706","name":"Machina Agent Services – PDF Large Document Extractor","description":"x402-powered API services for AI agents","url":"https://mach402.dev/pdf/extract/large?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType"],"properties":{"body":{"type":"string","description":"Raw PDF bytes (Content-Type: application/pdf), max 200 pages"},"type":{"const":"http"},"method":{"const":"POST"},"bodyType":{"const":"json"}}},"output":{"type":"object","required":["type"],"properties":{"type":{"const":"json"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"markdown":"# Title\n\nContent...","page_count":120,"word_count":45000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.18","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.18/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.18","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.18","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_drhd_rAvMGSHkiRKMYgjh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.18","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts full text content from large PDF documents (up to 200 pages) and returns structured Markdown along with page and word counts","exampleAgentPrompt":"Can you extract all the text from this large PDF document — it's about 120 pages — and give me the content in markdown format along with the page count and word count?","exampleUseCases":[{"title":"Annual report content extraction","prompt":"I have a 150-page annual report PDF — can you pull out all the text as markdown so I can analyze the financials and key sections?"},{"title":"Academic thesis text extraction","prompt":"Extract the full text from this 180-page PhD thesis PDF and convert it to markdown for me, including the page and word count."},{"title":"Legal contract bulk parsing","prompt":"I need to extract all the content from this lengthy legal contract PDF — it's around 90 pages — and get it back as structured markdown text."}],"resultDescription":"Returns a JSON object containing: 'markdown' (the full extracted document text formatted as Markdown), 'page_count' (total number of pages processed), and 'word_count' (total word count of the extracted content).","failureModes":["PDF exceeds 200-page limit — request rejected or truncated","Malformed or corrupted PDF bytes — parsing error returned","Non-PDF binary content submitted — content-type mismatch error","Payment not completed via x402 protocol — 402 Payment Required returned","Scanned/image-only PDF with no embedded text — empty or minimal markdown output","Request timeout for extremely large or complex documents"],"whenToPreferThis":"Choose this endpoint when dealing with large PDFs up to 200 pages that need full-document text extraction into Markdown. It is specifically optimized for large documents (as opposed to smaller/standard PDF extraction endpoints on the same service). Prefer this over general-purpose PDF tools when you need structured Markdown output with metadata like page and word counts, and when your workflow supports x402 micropayment authentication.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T15:23:49.124Z","isFirstParty":false,"canonicalSlug":"machina-agent-services-pdf-large-document-extractor-9c86a706"}