{"uid":"cap_lrjlmzcG5nZGrovqqxfLT","slug":"folio-document-extraction-102cc18e","name":"Folio Document Extraction","description":"Document extraction for AI agents. Send a URL (web page or PDF) and get clean markdown with metadata. Strips navigation and ads, preserves tables and headings, extracts PDF text and properties. $0.03 USDC on Base via x402. No API key.","url":"https://d1ithbpxjsnhrn.cloudfront.net/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"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_58mF-kJcv9fJLR8AKj-Mr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a web page or PDF from a given URL and returns clean markdown content with metadata, stripping ads and navigation while preserving tables and headings","exampleAgentPrompt":"Can you fetch the content from https://arxiv.org/pdf/2310.06825.pdf and give me the clean text as markdown so I can read through it?","exampleUseCases":[{"title":"Research paper ingestion for AI pipeline","prompt":"Grab the full text from this arxiv PDF — https://arxiv.org/pdf/2312.00752.pdf — and give it to me as clean markdown so I can summarize it."},{"title":"News article extraction for summarization","prompt":"Pull the article content from https://www.nytimes.com/2024/05/01/technology/ai-regulation.html and strip out all the navigation and ads — just give me the clean readable text."},{"title":"PDF report extraction for data analysis","prompt":"Extract all the text and tables from this annual report PDF at https://example.com/annual-report-2023.pdf so I can analyze the financial figures inside."}],"resultDescription":"Clean markdown representation of the page or PDF content, including preserved tables, headings, and document structure, plus metadata such as title, description, and PDF properties like author and creation date. Navigation elements, ads, and boilerplate are stripped.","failureModes":["URL is inaccessible or returns a non-200 status — extraction fails with an error","PDF is scanned/image-only with no extractable text — returns empty or minimal content","URL points to a non-document resource (e.g. a video or image) — unsuitable content returned","Payment of $0.03 USDC via x402 fails — request is rejected before processing","Paywalled or login-required pages — only publicly accessible content is extracted","Very large documents may time out or return partial content"],"whenToPreferThis":"Choose Folio when you need clean, agent-ready markdown from a web page or PDF URL without managing API keys or subscriptions. It is especially well-suited for AI agent pipelines that need to ingest arbitrary documents on demand at a predictable per-call cost. Prefer it over general-purpose browser automation when you just need readable text content rather than interactive page control, and over raw HTTP fetching when you need intelligent content extraction that removes clutter and preserves document structure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T00:30:39.592Z","isFirstParty":false,"canonicalSlug":"folio-document-extraction-102cc18e"}