HomeUse casesRAG knowledge base
Build a RAG knowledge base from the web
RAG quality tracks source quality. We help you discover the right URLs, fetch clean Markdown, and refresh pages without inventing a separate document pipeline.
Workflow
- Map the docs site. Start with POST /v1/map on your docs origin so you get a URL list before you spend crawl credits on every asset.
- Scrape or crawl Markdown. Call POST /v1/scrape for priority pages, or POST /v1/crawl when you want multiple pages from one start URL. Store the Markdown your retriever already understands.
- Extract fields when you need JSON. Use POST /v1/extract with a prompt or schema for changelogs, version numbers, or pricing tables that should land as structured records.
- Keep agents connected. Expose the same capabilities over MCP (hosted or @webcrawl/mcp) so coding agents can refresh a page during a task instead of relying on stale chunks alone.
Scrape a docs page for your index
curl -s -X POST https://webcrawl.app/v1/scrape \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/docs/getting-started"}'Related free tools: website to Markdown, URL extractor, PDF to Markdown. Related guides: documentation ingestion, LlamaIndex.
FAQ
Does Webcrawl embed documents for me?
No. We return Markdown and structured extracts you can embed with your own vector store or search stack.
Can I include PDFs in the knowledge base?
Yes. POST /v1/parse (or scrape of a PDF URL) converts PDF text to Markdown for the same chunking path as HTML pages.
How do credits work for RAG ingestion?
Map is 1 credit. Scrape and crawl charge per page. Extract is 3 credits. Check GET /health creditSchedule for the live table.