LLM & RAG Pipelines
Feed your models clean web text.
Turn web pages into clean Markdown and links for retrieval.
The problem
Why this is hard.
Retrieval works best on clean text. Raw HTML is full of navigation, scripts and markup that waste tokens and confuse chunking.
Writing and maintaining your own fetcher — proxies, retries, encoding, timeouts — is work that does not improve your product.
How Datafor helps
With the products that are live today.
- 01
Fetch as Markdown
Call the URL Scraper with formats=markdown. Headings, lists and links survive, boilerplate markup does not.
- 02
Collect links
Add links to the formats to get every absolute URL on the page, so you can decide what to fetch next.
- 03
Retry when blocked
Blocked requests are retried automatically; use residential=true for the strictest sites.
- 04
Chunk, embed, cite
Store the Markdown with metadata.url and scraped_at so answers can cite their source and age.
- 05
Or let the agent fetch
Connect the Datafor MCP server and your agent calls url_scraper and google_serp itself when it needs fresh pages.
Example request
One page in, Markdown and links out.
Same endpoint as every other scraper: POST /v1/run.
curl -X POST https://api.datafor.dev/v1/run \
-H "Content-Type: application/json" \
-H "x-api-key: $DATAFOR_API_KEY" \
-d '{
"script_name": "url_scraper",
"params": {
"url": "https://example.com/docs/getting-started",
"formats": "markdown,links"
}
}'Not live yet
What still needs your own code.
These parts of the workflow are planned but not built. Until they ship, you handle them in your own stack.
- Coming soonCrawling a whole site in one call (Deep Crawler) — today you fetch one URL per run.
- Coming soonStructured JSON extraction with an LLM and a schema.
Products
Used in this workflow.
Live works today · Coming soon planned
Try it with 50 free credits.
Verify your email, create an API key and run the example above.