Extract content from any URL in multiple formats simultaneously: markdown, HTML, PDF (base64), or screenshot (base64). Can request multiple formats in a single call.
Bearer token authentication using your LLMLayer API key. Include in Authorization header as: Bearer YOUR_LLMLAYER_API_KEY
URL to scrape
"https://example.com/article"
Output formats to generate. Can request multiple formats in one call.
markdown, html, screenshot, pdf ["markdown", "screenshot"]
Include images in markdown output
Include hyperlinks in markdown output
Scraped content in requested formats
Content in markdown format (always returned)
Final URL after any redirects
HTTP status code (200 for success)
Content in HTML format (when 'html' in formats)
Base64-encoded PDF data (when 'pdf' in formats)
Base64-encoded screenshot image (when 'screenshot' in formats)
Page title extracted from metadata
Cost in USD ($0.001 per scrape request)
Additional metadata extracted from the page