{"uid":"cap_bF17Ejsq6nIuSwftR2UuP","slug":"agentindex-x402-pdf-reader-cd73af26","name":"AgentIndex x402 PDF Reader","description":"Process the files and content an agent gives you. Nothing else. A pay-per-call kit for AI agents in USDC on Base (x402/MPP): pdf, web-read, extract, summarize, and the free detect-language entry point - see GET /capabilities. Plus two tools outside the kit: translate and jobs.","url":"https://x402.agentindex.world/pdf","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Public HTTPS URL of a PDF file. Provide this or pdf_base64, not both."},"pdf_base64":{"type":"string","description":"Base64-encoded PDF file content. Provide this or url, not both."}}},"responseSchema":{"type":"json","example":{"markdown":"Universal Declaration of Human Rights \nPreamble \nWhereas recognition of the inherent dignity and of the equal and inalienable \nrights of all members of the human family is the foundation of freedom, justice \nand peace in the world, ...","metadata":{"date":"2001-09-10T01:04:58-17:00","pages":8,"title":null,"author":"lindner"},"token_count":2330}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zv4H0kBwCp6yJSRAfuAnY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a PDF file (by URL or base64) into Markdown text with metadata, billed at $0.05 USDC per call via x402","exampleAgentPrompt":"Can you extract the text from this PDF and give it to me as markdown? Here's the URL: https://example.com/report.pdf","exampleUseCases":[{"title":"Research paper text extraction","prompt":"I need to read this academic PDF at https://arxiv.org/pdf/2310.12345.pdf — can you pull out all the text as markdown so I can analyze it?"},{"title":"Legal contract parsing","prompt":"Extract all the text from this contract PDF so I can review the clauses: https://files.example.com/contract-2024.pdf"},{"title":"Government report ingestion","prompt":"Can you read this government report PDF and give me the content in markdown? It's a base64-encoded file I'll pass you directly."}],"resultDescription":"A JSON object containing: 'markdown' (the full document text converted to Markdown), 'metadata' (title, author, date, page count), and 'token_count' (number of tokens in the extracted content).","failureModes":["PDF URL is not publicly accessible or returns a non-200 status — endpoint will fail to fetch the document","Providing both url and pdf_base64 simultaneously — only one should be supplied","Malformed or password-protected PDFs may result in empty or partial extraction","Very large PDFs may time out or produce truncated results","Non-PDF URLs passed as url will result in parsing errors"],"whenToPreferThis":"Use this endpoint when you need to extract the full text content of a PDF — whether hosted at a public URL or available as a base64-encoded blob — and want the result as Markdown with document metadata (title, author, page count). Prefer this over generic web-read endpoints when the source is definitively a PDF. It is particularly well-suited for AI pipelines that need to ingest document content for downstream summarization, fact-checking, or analysis, and where micropayment via x402/USDC on Base is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:35:04.377Z","isFirstParty":false}