Website Content & Markdown Scraper (llms.txt) | 2Space avatar

Website Content & Markdown Scraper (llms.txt) | 2Space

Pricing

from $0.20 / 1,000 pages markdown extracted

Go to Apify Store
Website Content & Markdown Scraper (llms.txt) | 2Space

Website Content & Markdown Scraper (llms.txt) | 2Space

High-speed website content scraper and Markdown crawler for AI, ChatGPT, and RAG. Scrapes /llms.txt and XML sitemaps first, strips boilerplate, and outputs clean Markdown and RAG chunks.

Pricing

from $0.20 / 1,000 pages markdown extracted

Rating

0.0

(0)

Developer

2Space Group

2Space Group

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

an hour ago

Last modified

Features

Limited permissions

Share

Built by 2Space Group — Fast, lightweight AI & B2B data Actors on Apify. Zero browser bloat, predictable Pay-Per-Event pricing, and 1-step MCP support for ChatGPT, Claude Code, Cursor, Antigravity & n8n.

What does Sitemap & llms.txt Precision AI Docs Crawler do?

Sitemap & llms.txt Precision AI Docs Crawler (reminiscent_medaka/llms-sitemap-rag-mcp) is a fast, zero-LLM-cost website content crawler, markdown scraper for AI, RAG web scraper, llms.txt & sitemap extractor, and ChatGPT knowledge crawler. Instead of wasting compute on heavy headless browsers that scrape noisy navigation menus, it probes /llms.txt, /llms-full.txt, robots.txt, and XML sitemaps first, prioritizes high-signal sections (docs, api, pricing, changelog), strips HTML boilerplate, and outputs clean Markdown with optional heading-aligned RAG chunks and SHA-256 content hashes.


Features

  • Native /llms.txt & /llms-full.txt Discovery: Probes AI-curated Markdown endpoints first (with HTML soft-404 rejection) before falling back to robots.txt and nested <sitemapindex> XML files.
  • Zero Browser Overhead & Zero LLM Keys: Pure HTTP fetch and CheerioCrawler keep memory footprint low (128–256 MB) and deliver up to 10x faster extraction than Playwright-based crawlers.
  • Deterministic Section Scoring & Filtering: Ranks discovered URLs by prioritySections (docs, api, pricing, changelog, about, security, blog) and filters with includePathPatterns / excludePathPatterns.
  • Incremental RAG Deduplication: Every item includes wordCount, tokenEstimate, headings, lastModified, and a SHA-256 contentHash so your vector database only re-embeds changed pages.
  • Optional RAG Chunking & Domain Bundles: Toggle emitRagChunks for heading-aligned chunks (chunkMaxTokens) or compileBundle to write a consolidated LLMS_BUNDLE_<domain>.md to Key-Value Store.
  • Anti-1-Star Cost Protection (No Data, No Charge): Thin pages under minWordCount and failed requests are never charged. Hard maxPagesPerDomain, maxTokensTotal, and maxCostUsd circuit breakers protect your budget.

What data can this Actor extract?

FieldTypeDescription
domainstringNormalized hostname (e.g. crawlee.dev)
urlstringCanonical URL of the extracted page
sourceTypestringDiscovery source ("llms_txt", "sitemap", or "direct")
sectionBucketstringMatched prioritySections bucket or "general"
titlestring | nullExtracted <h1>, frontmatter title, or <title>
headingsstring[]Ordered Markdown headings outside fenced code blocks
wordCountintegerWord count of the cleaned Markdown
tokenEstimateintegerEstimated LLM tokens (Math.ceil(markdown.length / 4))
markdownstringBoilerplate-free Markdown ready for AI & RAG pipelines
chunksobject[]Heading-aligned RAG chunks when emitRagChunks is enabled
contentHashstringSHA-256 hex digest for incremental change detection
lastModifiedstring | nullISO timestamp from sitemap <lastmod> or HTTP headers
extractedAtstringISO-8601 extraction timestamp

How much does it cost?

This Actor uses transparent Pay-Per-Event (PPE) pricing with strict No Data, No Charge enforcement:

  • page-markdown-extracted ($0.00035 per page): Charged only when a qualifying page (wordCount >= minWordCount) is saved to the dataset.
  • rag-chunks-generated (optional) ($0.0002 per 10 chunks): Charged only when emitRagChunks is true.
  • llms-bundle-compiled (optional) ($0.0005 per bundle): Charged only when compileBundle is true and at least one page was saved for the domain.

A typical run of 10 documentation pages with chunking disabled costs roughly $0.0035.


Input & Output Examples

Input Example

{
"startDomainsOrUrls": ["crawlee.dev"],
"preferLlmsTxt": true,
"prioritySections": ["docs", "api", "pricing", "changelog"],
"maxPagesPerDomain": 10,
"minWordCount": 50,
"maxTokensTotal": 200000,
"maxCostUsd": 0.5,
"emitRagChunks": false,
"compileBundle": false
}

Output Example

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel via the Apify Console or API.

{
"domain": "crawlee.dev",
"url": "https://crawlee.dev/docs/quick-start",
"sourceType": "llms_txt",
"sectionBucket": "docs",
"title": "Quick Start | Crawlee",
"headings": ["# Quick Start", "## Installation", "## First Crawler"],
"wordCount": 420,
"tokenEstimate": 690,
"markdown": "# Quick Start\n\n## Installation\n\nInstall Crawlee with npm...",
"chunks": [],
"contentHash": "9b71d224bd62f3785d96d46ad3ea3d73319bfbc2890caadae2dff72519673ca7",
"lastModified": null,
"extractedAt": "2026-11-30T07:00:00.000Z"
}

Key-Value Store artifacts include RUN_DIAGNOSTICS (discovery hit rates, token totals, stop reason) and optional LLMS_BUNDLE_<domain>.md files.


Connect Permanently to Your AI Agent (1 Step)

Use reminiscent_medaka/llms-sitemap-rag-mcp as a live knowledge crawler inside your favorite AI client or workflow builder:

ChatGPT

Open ChatGPT -> Settings -> Apps & Connectors -> Create -> Apify MCP OAuth, sign in with your Apify account, and attach reminiscent_medaka/llms-sitemap-rag-mcp (https://mcp.apify.com?tools=reminiscent_medaka/llms-sitemap-rag-mcp).

Claude Code

$claude mcp add 2space "https://mcp.apify.com?tools=reminiscent_medaka/llms-sitemap-rag-mcp" -t http

Cursor / Antigravity

Add the Apify MCP server entry to your .cursor/mcp.json or Antigravity MCP config:

{
"mcpServers": {
"2space": {
"url": "https://mcp.apify.com?tools=reminiscent_medaka/llms-sitemap-rag-mcp",
"headers": {
"Authorization": "Bearer YOUR_APIFY_TOKEN"
}
}
}
}

n8n, Make & Zapier

  • n8n: Import the included ./n8n/competitor-docs-changelog-rag.json workflow or use the official Apify node to trigger runs and upsert markdown + contentHash into Pinecone, Qdrant, or Supabase.
  • Make: Add the Apify -> Run an Actor module targeting reminiscent_medaka/llms-sitemap-rag-mcp, followed by Get Dataset Items.
  • Zapier: Connect the Apify integration (Run Actor or New Dataset Item) to sync extracted documentation into Notion, Slack, or your knowledge base.

Troubleshooting & Support

  • 0 pages saved? Verify the target domain does not block HTTP requests (403/429) and lower minWordCount if pages are concise. Inspect RUN_DIAGNOSTICS in Key-Value Store for exact llmsTxtFound, sitemapsParsed, and pagesSkippedMinWords counts.
  • Need custom selectors or found a bug? Please open an Issue in the Issues tab on Apify Store—we actively monitor and ship fixes quickly. See the API tab for REST, JavaScript, and Python code snippets.
  • Ethical Data Notice: Our Actors only extract publicly published documentation, /llms.txt, and XML sitemaps. Do not scrape personal data without a lawful basis under GDPR or applicable regulations.

More Tools by 2Space Group

Explore the full suite of fast, zero-bloat AI & B2B Actors on 2Space Group on Apify: