{"uid":"cap_YU9RNQDoglX7H5lLCbNth","slug":"agentdiet-pdf-extract-ae71a7be","name":"AgentDiet PDF Extract","description":"Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.","url":"https://mcp-gateway.agentdiet.dev/v1/pdf-extract?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST"],"type":"string"},"queryParams":{"type":"object","properties":{"url":{"type":"string"},"mode":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{},"status":"ok","roi_proof":{"compression_ratio_pct":91.4}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nzpoqB8BB_e-48ON1-DmM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts and compresses text content from a PDF file at a given URL, returning structured data with a compression ratio proof.","exampleAgentPrompt":"Can you extract all the text from this PDF for me? Here's the URL: https://example.com/report.pdf — use GET mode.","exampleUseCases":[{"title":"Extract contract text for review","prompt":"Pull all the text out of this PDF contract so I can review the terms: https://example.com/contract.pdf"},{"title":"Parse academic paper content","prompt":"Extract the full text from this research paper PDF so I can summarize it: https://arxiv.org/pdf/2301.00001.pdf"},{"title":"Read invoice data from PDF","prompt":"Get the contents of this invoice PDF for me so I can pull out the line items: https://example.com/invoice.pdf"}],"resultDescription":"Returns a JSON object with a 'data' field containing extracted text content, a 'status' field ('ok' on success), and an 'roi_proof' object showing the compression_ratio_pct achieved (e.g. 91.4%), indicating how much the PDF content was compressed during extraction.","failureModes":["Invalid or inaccessible PDF URL returns an error status","Non-PDF URLs may return empty or malformed data","Rate limiting or payment failure (x402) if USDC payment is not properly settled","Large PDFs may time out or return partial results","Password-protected PDFs may not be extractable"],"whenToPreferThis":"Choose this endpoint when you need to extract text from a PDF accessible via a public URL and want a lightweight, pay-per-call solution settling in USDC. Ideal for agents that occasionally need to read PDF documents without maintaining a full document-processing infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:43:28.030Z","isFirstParty":false,"canonicalSlug":"agentdiet-pdf-extract-ae71a7be"}