Web Content
Document extraction
Document extraction: fetch a PDF, DOCX, or CSV by URL and get clean Markdown plus structured JSON — PDF text by page with metadata (honestly flags scanned PDFs that would need OCR), DOCX converted to real Markdown, CSV parsed to typed columns + JSON rows + a Markdown table. For agents that need document contents, not bytes.
Price: $0.02 per call, paid in USDC via the x402 protocol (see the x402 security scheme).
get/api/extract
Request
- Base URL: https://api.webbersites.com
- URL: https://api.webbersites.com/api/extract
- Auth: API key in header X-PAYMENT
Query parameters
urlstring required
Public http(s) URL of the .pdf, .docx, or .csv document
typestring
Force the parser: pdf, docx, or csv (default: auto-detect from content-type, extension, magic bytes)
max_rowsnumber
CSV only: max rows returned as JSON (default 1000, max 5000)
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.