{"uid":"cap_GCdoup6bp3srHuPnfYrmZ","slug":"agentsvc-io-document-parser-c8397e52","name":"agentsvc.io Document Parser","description":"86 APIs for AI agents: web scraping and crawling to Markdown, AI summaries, data extraction and cited answers, screenshots and PDF, PDF, OCR and document conversion, news, paper and developer search and more, paid per call with USDC on Base, Solana, Polygon or Arbitrum via x402. No account, no API key, free sample on every service.","url":"https://agentsvc.io/api/v1/proxy/doc-parse?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string"},"from":{"type":"string"},"content":{"type":"string"},"max_chars":{"type":"integer","default":50000,"maximum":200000,"minimum":1000},"file_base64":{"type":"string","description":"Document as base64 (max 10 MB)"}}},"responseSchema":{"type":"json","example":{"data":{"date":null,"title":"Docs: how agents pay per call with x402 · agentsvc.io","author":null,"format":"html","source":"https://agentsvc.io/docs","outline":[{"text":"Pay per call. Nothing else to set up.","level":1},{"text":"Free trial, no wallet","level":2},{"text":"GET works too and uses the example input:","level":1}],"language":"en","markdown":"<div hidden=\"\">\n\n</div>\n\n<div style=\"border-bottom:1px solid var(--border);background-color:rgba(10, 14, 26, 0.92);backdrop-filter:blur(12px);position:sticky;top:0;z-index:50\">\n\n<div class=\"container\" style=\"display:flex;align-items:center;justify-content:space-between;min-height:60px;gap:1rem\">\n…","truncated":true,"characters":2000,"word_count":8068,"image_count":0,"table_count":0,"heading_count":8},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.009","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.009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TiVeECfOGelZcvseKffu0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses a document or web page (by URL, raw content, or base64 file) into structured markdown, metadata, and outline","exampleAgentPrompt":"Parse this PDF for me — fetch it from https://example.com/report.pdf and give me the clean markdown text, title, author, and outline, up to 80000 characters.","exampleUseCases":[{"title":"Extract research paper content","prompt":"Grab this academic paper at https://arxiv.org/pdf/2401.00001 and parse it into clean markdown so I can read the sections and see the outline — limit it to 100000 characters."},{"title":"Parse uploaded contract document","prompt":"I have a contract PDF encoded in base64 — can you parse it and pull out the full text as markdown along with the title and any headings so I can review the structure?"},{"title":"Scrape article for summarization","prompt":"Fetch the article at https://techcrunch.com/2024/01/15/some-article and convert it to clean readable markdown text, and also tell me the author, publication date, and word count."}],"resultDescription":"Returns a JSON object with: document title, author, publication date, detected format (e.g. html, pdf), source URL, language code, an outline array of headings with levels, full markdown-rendered text content (up to max_chars), character count, word count, image count, table count, heading count, and a truncated flag if content was cut off.","failureModes":["URL unreachable or returns non-200 status — parse fails or returns empty content","Base64 file exceeds 10 MB limit — request rejected","max_chars below 1000 or above 200000 — validation error","Unsupported file format — parser may return empty or partial markdown","Password-protected or paywalled document — content not accessible","Malformed base64 string — decoding error"],"whenToPreferThis":"Use this endpoint when you need to extract readable text, metadata, and structure from a document or web page in a single call without setting up an account or API key. It is ideal for agents that need to ingest PDF, HTML, or other documents on demand and receive clean markdown plus an outline. Prefer it over generic scrapers when you also need document metadata (author, date, language) and structural outline in addition to raw text.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:36:04.269Z","isFirstParty":false,"canonicalSlug":"agentsvc-io-document-parser-c8397e52"}