{"uid":"cap_lPgQJms52zpbdxi1bDozI","slug":"utilia-pdf-to-markdown-5c1bd21c","name":"Utilia PDF to Markdown","description":"Give a Solana agent live compute-unit price bids for $0.002 per call via x402 USDC. One AgentCash command, no API key or subscription.","url":"https://api.utilia.ink/v1/pdf/to-markdown?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","pattern":"^https://","description":"Public HTTPS PDF URL"},"title":{"type":"string","maxLength":200},"maxPages":{"type":"integer","default":50,"maximum":100,"minimum":1}}},"responseSchema":{"type":"json","example":{"title":"Quarterly report","sha256":"47b9...","markdown":"# Quarterly report\n\n## Page 1\n\n...","totalPages":4,"sourceBytes":48321,"textCharacters":12940}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0025","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YJ-uGk9h0SAJYW57S4wW_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a public HTTPS URL or base64-encoded PDF into page-delimited Markdown, returning metadata, page count, truncation status, and a SHA-256 digest of the source document.","exampleAgentPrompt":"Can you convert this PDF at https://example.com/report.pdf into Markdown so I can read through its contents, and let me know how many pages it has and whether anything got cut off?","exampleUseCases":[{"title":"Research paper ingestion pipeline","prompt":"I have a research paper at https://arxiv.org/pdf/2401.12345.pdf — convert it to Markdown for me so I can search through its sections and figures, and tell me the page count and SHA-256 hash."},{"title":"Legal contract text extraction","prompt":"I've got a contract encoded as a base64 PDF — can you convert it to page-delimited Markdown so I can scan each clause individually, and flag if it gets truncated?"},{"title":"Automated report summarization","prompt":"Grab the PDF report from https://company.com/q4-report.pdf, convert it to Markdown, and tell me how many pages it has so I can summarize each section."}],"resultDescription":"Returns page-delimited Markdown text of the entire PDF document, along with metadata fields including total page count, a boolean truncation status indicating whether the output was cut short, and a SHA-256 digest of the original source document for integrity verification.","failureModes":["URL not publicly accessible or returns non-200 — conversion fails with fetch error","Malformed or corrupted PDF binary — parse error returned","Base64 input is not a valid PDF — invalid input error","PDF exceeds size or page limits — truncation flag set to true or rejection error","Non-HTTPS URL provided — rejected for security reasons","Payment not included or invalid — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you need to programmatically convert a PDF (either hosted at a public HTTPS URL or provided as base64) into clean, page-delimited Markdown with integrity guarantees via SHA-256 hashing. It is ideal for agent pipelines that ingest documents for downstream analysis, summarization, or search, especially when page-level structure and truncation awareness are important. It suits pay-per-call agent workflows using the x402 payment protocol.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T23:28:21.191Z","isFirstParty":false,"canonicalSlug":"utilia-pdf-to-markdown-5c1bd21c"}