Website Content Crawler - Markdown for LLM, RAG & AI Agents avatar

Website Content Crawler - Markdown for LLM, RAG & AI Agents

Pricing

from $0.50 / 1,000 page saveds

Go to Apify Store
Website Content Crawler - Markdown for LLM, RAG & AI Agents

Website Content Crawler - Markdown for LLM, RAG & AI Agents

Crawl any website over fast plain HTTP and get one row per page with clean Markdown (navigation, footers and cookie banners removed) for RAG, vector databases and LLM context. Flat $0.50 per 1,000 pages. Monitor mode re-emits only new and changed pages.

Pricing

from $0.50 / 1,000 page saveds

Rating

0.0

(0)

Developer

rj

rj

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Website Content Crawler - Clean Markdown for LLM, RAG & AI Agents

Crawl a whole website, a sitemap or a list of URLs and get one row per page with clean Markdown: navigation, headers, footers, sidebars, cookie banners and scripts removed; headings, lists, tables, code blocks (with language), links and blockquotes kept. Built for RAG pipelines, vector databases, LLM context and AI agents.

Three things set it apart from other content crawlers:

  • A flat, known price: $0.50 per 1,000 pages. No compute bill that depends on how slow the site is. You know the cost before you press Start (maxPages x $0.0005).
  • Fast plain HTTP, no browser. Several pages per second, low memory, no timeouts on big sites.
  • Monitor mode: only new and changed pages. Schedule a nightly crawl and feed your vector database only what actually changed. Unchanged pages are not output and not charged.

The honest limit: it does not run JavaScript. Pages that only show their text after client-side rendering come back empty or thin and are flagged needsJavaScript: true (see Tips and limits).

What data can you get

FieldWhat it is
url, canonicalUrlPage URL after redirects, and the canonical URL the page declares
title, description, languageFrom <title>, the meta description and <html lang>
markdownThe main content as clean Markdown
text, htmlOptional plain text and cleaned HTML of the same content
wordCount, tokensEstimateSize of the content; tokens are estimated as characters / 4
headingsH1-H3 outline: [{ level, text }], handy for chunking
author, publishedAt, modifiedAtFrom meta tags or JSON-LD, when the page has them
depth, referrerUrlClicks from the start URL and the page that linked here
statusCodeHTTP status
contentHash, changeTypeHash of the page text; new / changed in monitor mode
needsJavaScripttrue when the page looks client-rendered
id, crawledAtStable page ID (hash of the URL) and fetch time

Use cases

  • RAG and chatbots over your docs: crawl a documentation site and load the Markdown into Pinecone, Qdrant, Weaviate, pgvector or a LangChain / LlamaIndex loader.
  • Keep a vector database fresh: schedule a nightly run in monitor mode and re-embed only the rows that come back.
  • LLM context and fine-tuning data: turn a help centre, a blog or a knowledge base into clean text with token estimates.
  • AI agents: give an agent a URL list and get Markdown back, cheaper than a browser-based fetch.
  • Content migration and audits: export every page of a site as Markdown with its title, description and heading outline.

How to use

  1. Put the site (or section) in Start URLs. https://example.com/docs crawls /docs and everything below it.
  2. Set Max pages. Each saved page costs $0.0005.
  3. Run it, then open the Markdown content view of the dataset or fetch it by API.

Crawl a documentation section:

{
"startUrls": [{ "url": "https://docs.apify.com/academy" }],
"maxPages": 200
}

Only the blog, found through the sitemap, without links in the Markdown:

{
"startUrls": [{ "url": "https://crawlee.dev/sitemap.xml" }],
"crawlMode": "sitemap",
"includeGlobs": ["/blog/**"],
"excludeGlobs": ["/blog/archive", "/blog/authors/**", "/blog/authors", "/blog/tags/**", "/blog/page/**"],
"maxPages": 100,
"includeLinks": false
}

A fixed list of pages, with plain text as well:

{
"startUrls": [
{ "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control" },
{ "url": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/ETag" }
],
"crawlMode": "urls",
"outputFormats": ["markdown", "text"]
}

Nightly sync: only new and changed pages (put this on a schedule):

{
"startUrls": [{ "url": "https://docs.python.org/3/tutorial/" }],
"maxPages": 500,
"monitorMode": "changed",
"stateKey": "python-tutorial"
}

Input reference

InputDefaultNotes
startUrls-One or more URLs
crawlModesitesite follows same-host links under the start URL's path. sitemap reads the site's sitemaps (or a sitemap.xml you give) and crawls only those pages. urls fetches exactly the given URLs
maxPages50Total for the run, max 20,000. 0 = the 20,000 cap
maxDepth10Site mode: clicks from the start URL
useSitemaptrueSite mode: also add sitemap pages that are under the start URL
includeGlobs, excludeGlobsnone* within a path segment, ** anything. /blog/** matches the path; https://example.com/**/api/** the whole URL
outputFormats["markdown"]Any of markdown, text, html
includeLinks / includeImagestrue / falseKeep [text](url) and ![alt](url) in the Markdown
removeSelectors, keepSelectorsnoneExtra CSS selectors to drop, or restrict the content to
monitorMode, stateKeyall, defaultchanged = only new and changed pages; one memory per monitor name
maxConcurrency5Parallel requests per host
respectRobotsTxttrueSkip URLs disallowed for user agent WebsiteContentCrawler
proxyConfigurationoffApify datacenter proxy or your own proxy URLs

Output example

A real row from https://docs.apify.com/academy (Markdown shortened here):

{
"id": "b4aa330fc8278f66",
"url": "https://docs.apify.com/academy/tutorials",
"canonicalUrl": "https://docs.apify.com/academy/tutorials",
"title": "What's this section? | Academy | Apify Documentation",
"description": "Learn about various different specific topics related to web-scraping and web-automation with the Apify Academy tutorial lessons!",
"language": "en",
"markdown": "# What's this section?\n\n**Learn about various different specific topics related to web-scraping and web-automation with the Apify Academy tutorial lessons!**\n\n---\n\nIn web scraping, there are a whole lot of niche cases that you will run into. ...",
"text": null,
"html": null,
"wordCount": 81,
"tokensEstimate": 133,
"headings": [{ "level": 1, "text": "What's this section?" }],
"author": null,
"publishedAt": null,
"modifiedAt": null,
"depth": 1,
"referrerUrl": "https://docs.apify.com/academy",
"statusCode": 200,
"contentHash": "f82e8e5193bd072a",
"changeType": null,
"needsJavaScript": false,
"crawledAt": "2026-11-18T15:51:32.484Z",
"scrapedAt": "2026-11-18T15:51:32.484Z"
}

What the Markdown looks like for a docs page with code:

# Quick Start
With this short tutorial you can start scraping with Crawlee in a minute or two.
## Installation with Crawlee CLI
The fastest way to try Crawlee out is to use the **Crawlee CLI** and choose the **Getting started example**.
```bash
npx crawlee create my-crawler
```

The key-value store record RUN_SUMMARY has the counts for the run: pages crawled, saved and unchanged, non-HTML files skipped, URLs that failed and why, requests per host and warnings.

Pricing

Pay per event, the same on every Apify plan:

EventPrice
page - one page row saved to the dataset$0.0005
apify-actor-start - once per run$0.00005
  • 1,000 pages = $0.50. 10,000 pages = $5.00. A 200-page docs site = $0.10.
  • Not charged: pages that fail, redirects out of scope, non-HTML files (PDF, images), URLs blocked by robots.txt, pages with no extractable text, and in monitor mode every unchanged page.
  • A nightly monitor run over a 1,000-page site where 12 pages changed costs 12 x $0.0005 = $0.006.
  • Platform compute is included in the price. Set Maximum cost per run in the run options and the crawl stops cleanly when it is reached.

Tips and limits

  • No JavaScript rendering. Single-page apps that ship an empty HTML shell return little or nothing. Those rows have needsJavaScript: true, the run summary counts them, and rows with no text at all are not charged. Server-rendered sites (most documentation generators, WordPress, Ghost, Next.js with SSR, static sites) work.
  • Scope. Site mode stays under the start URL's path. Starting from a single page such as /docs/quick-start crawls only that page (the log says so): start from /docs, or set includeGlobs to ["/docs/**"].
  • Main content detection. <main> is used when present, then the <article> holding the H1, then a text-density heuristic. If a site keeps unwanted blocks, add them to removeSelectors; if the wrong area is picked, set keepSelectors.
  • Tables. Data tables become GitHub-style Markdown tables. Row spans are flattened, and a table without a header row uses its first row as the header.
  • Monitor mode. The change check hashes the page title and text, so new build IDs, tracking parameters or changed link targets do not count as a change, while any edit to the visible text does. Deleted pages are not reported. Keep maxPages above the size of the site, otherwise different pages may be reached on different nights.
  • Sitemaps. Gzipped sitemaps (.xml.gz) are not read; the crawler then relies on links.
  • Non-HTML files (PDF, images, archives) are skipped and counted, not converted.
  • Very long pages are cut at 2,000,000 characters per content field.
  • Blocking. The crawler identifies itself as WebsiteContentCrawler and does not evade bot protection. If a site answers HTTP 403/429 or a challenge page, the URL is listed in the run summary; enabling Apify Proxy (datacenter) can help.

FAQ

Is it legal to crawl a website? The Actor reads only publicly reachable pages, without logging in, and respects robots.txt by default. You are responsible for how you use the content: check the site's terms and copyright, and data-protection law (GDPR, CCPA) if pages contain personal data. The Actor does not harvest contact data.

How is this different from Apify's Website Content Crawler? That Actor bills platform compute and uses a browser by default, so the cost per page varies with the site. This one is HTTP-only with one flat price per page, and adds the only-changed-pages mode. If you need JavaScript rendering, use a browser-based crawler.

Can I use residential proxies? No. Under pay-per-event pricing the proxy traffic would cost more than the page price. If you select the RESIDENTIAL group, the Actor logs a warning and uses Apify datacenter proxy instead. Your own proxy URLs work.

How do I chunk the output for embeddings? Split markdown on headings (## ), or use the headings outline. tokensEstimate tells you which pages need splitting.

Why did I get fewer pages than Max pages? The site has fewer pages in scope, some URLs failed, or the maximum cost per run was reached. RUN_SUMMARY lists the reasons.

Does monitor mode work across different sites? Yes. Use a different stateKey (monitor name) per site or schedule so each keeps its own memory.

Integrations

  • API: start runs and read the dataset with the Apify API or the JavaScript / Python clients. GET /datasets/{id}/items?view=content returns url, title and markdown.
  • Make, Zapier, n8n: use the Apify apps to run the Actor on a schedule and send rows to your database or vector store.
  • LangChain / LlamaIndex: load the dataset with their Apify dataset loaders, mapping markdown to the document text and url to the source.
  • MCP: call the Actor from Claude, Cursor or any MCP client through the Apify MCP server.
  • Webhooks: trigger your embedding job when a run succeeds.

Changelog

  • 0.1 (2026-11-18): first version. Site, sitemap and URL-list crawling; Markdown, text and cleaned HTML output; monitor mode for new and changed pages.

Ready-to-run examples

More scrapers by the same developer

Browse all my Actors on my Apify Store profile.

Support

Found a page that converts badly, or a site that does not crawl? Open an issue on the Actor's Issues tab with the URL and the run ID, and it will be looked at.