Crawl API - Stream markdown pages from a website
Crawl multiple pages from a website with depth control. Streams Server-Sent Events as pages are scraped. The public endpoint currently returns markdown content per page. Billed per successfully scraped page ($0.001/page).
Authorizations
Bearer token authentication using your LLMLayer API key. Include in Authorization header as: Bearer YOUR_LLMLAYER_API_KEY
Body
Seed URL to start crawling from
"https://www.ycombinator.com"
Maximum number of pages to crawl (hard limit: 100)
1 <= x <= 100Maximum depth to crawl from seed URL
x >= 1Total timeout in seconds for the entire crawl operation
If true, includes pages from subdomains
Include hyperlinks in extracted content
Include images in extracted content
Enable advanced proxy for protected sites.
Extract only main page content.
Accepted for compatibility; only markdown is currently honored by /api/v2/crawl_stream.
markdown ["markdown"]
Response
Server-Sent Events stream of crawled pages
SSE stream with event types: page, usage, done, error
