HomeIntegrationsLlamaIndex
Webcrawl + LlamaIndex
Fetch LLM-ready Markdown for LlamaIndex indexes via Webcrawl.
No official LlamaIndex package
Webcrawl does not publish a LlamaIndex reader. Scrape Markdown with @webcrawl/client, then construct LlamaIndex documents from the returned text.
Discover then scrape
import { createClient } from "@webcrawl/client";
const client = createClient({ apiKey: process.env.WEBCRAWL_API_KEY });
const mapped = await client.map({ url: "https://example.com/docs" });
console.log(mapped);import { createClient } from "@webcrawl/client";
const client = createClient({ apiKey: process.env.WEBCRAWL_API_KEY });
const page = await client.scrape({ url: "https://example.com" });
console.log(page.markdown);Ingestion tips
- Prefer
POST /v1/mapbefore a wide crawl so you only index the URLs that matter. - Use
POST /v1/parsefor PDFs you want in the same Markdown chunking path. - See RAG knowledge base and documentation ingestion.
FAQ
Is there an official LlamaIndex Webcrawl reader?
No. Webcrawl does not publish an official LlamaIndex package. Scrape Markdown with @webcrawl/client or REST, then load documents with your own reader or Document objects.
How should I discover docs URLs?
Call POST /v1/map on the docs origin, filter the list, then scrape or crawl the pages you want in the index.
Can I include PDFs?
Yes. POST /v1/parse (or scrape of a PDF URL) returns Markdown you can store beside HTML page Markdown.