Turn the web into a dataset your model can read.
For ML and platform teams building RAG pipelines or training corpora who need current, clean, deduplicated text from thousands of sites without writing a scraper per site.
Why this is hard to do well
Raw HTML is 90% navigation and scripts; embedding it wastes tokens and degrades retrieval quality.
Sites block bulk crawlers, and a corpus with gaps where the useful sites were is a biased corpus.
Freshness matters for retrieval: the index has to be rebuilt on a schedule, not once.
Which products, in which order
How the pieces fit together
Failed requests inside the Datafuel layer are retried on a fresh identity and never billed; only what reaches the output column costs anything.
From zero to working
Real and runnable
import requestsr = requests.post("https://scraping-api.datafuel.ai/api/v1/task",headers={"Authorization": "Bearer $DATAFUEL_KEY"},json={"type": "crawl","attributes": {"url": "https://docs.example.com","max_depth": 3,"limit": 500,"include_paths": ["/guides/*", "/reference/*"],"output": "markdown","webhook_url": "https://your.app/hooks/crawl"}},)print(r.json())
$DATAFUEL_KEY with a free key and this runs as is.Run this with a free keyWhat you need, and what it costs
Honest caveats
- Respect robots.txt and licensing: a page you can fetch is not automatically a page you may train on.
- Depth limits are your cost control; start shallow and widen once you have seen the output.
- Boilerplate removal is good, not perfect; keep a sample review step in the pipeline.
In numbers
Figures marked placeholder await real customer numbers; a case study replaces this block when one is available.
Questions teams ask about aI training data & RAG
Why Markdown instead of HTML?
How do I avoid paying for pages I do not need?
Can I bring my own AI key?
What happens when a site blocks the crawler?
Is there an MCP server?
How large can a job be?
Ready to build?
Start with the free tier and scale as your project grows. No credit card, no sales call.
Talk to an engineer, not a chatbot.