Documentation to Clean LLM Markdown Crawler avatar

Documentation to Clean LLM Markdown Crawler

Pricing

from $0.70 / 1,000 item scrapeds

Go to Apify Store
Documentation to Clean LLM Markdown Crawler

Documentation to Clean LLM Markdown Crawler

Crawl developer documentation sites (Docusaurus, GitBook, Mintlify, ReadMe) and extract clean, token-efficient GitHub-Flavored Markdown for Cursor, Copilot, and RAG.

Pricing

from $0.70 / 1,000 item scrapeds

Rating

0.0

(0)

Developer

LiteZero

LiteZero

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

10 days ago

Last modified

Share

📚 Documentation to Clean LLM Markdown Crawler

Crawl developer documentation sites (Docusaurus, GitBook, Mintlify, ReadMe, Nextra) and convert complex web pages into token-efficient GitHub-Flavored Markdown. Automatically strips navigation sidebars, headers, and footers while preserving code snippets, headers, and formatting for Cursor, Windsurf, Claude Projects, and RAG vector databases.


🥊 Why This Actor Beats the Competition

FeatureThis Actor (Pay-Per-Result)Heavy Browser Crawlers (Playwright)Standard HTML Scrapers
Speed⚡ Fast HTTP Cheerio parsing (<1s/page)3–5 seconds per pageFast, but returns raw noisy HTML
Token Efficiency🎯 Strips 85%+ of boilerplate chromeIngests navbars, footers & cookie bannersIngests scripts, SVGs & layout markup
Code Block Integrity✅ Preserves language & code syntaxOften merges code into plain textEscapes HTML entities improperly
Pricing💰 $1.00 / 1,000 doc pages (PPR)High compute memory costsUnclear per-result billing

🛠️ Step-by-Step: How to Use

Method 1: Apify Web Console

  1. Enter the root documentation link in Documentation Start URLs (e.g. https://docs.apify.com/academy/apify-scrapers).
  2. Set Max Pages to Crawl (e.g. 5).
  3. Click Start and download the clean .md files or JSON dataset.

Method 2: Python SDK

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("litezero/documentation-markdown-crawler").call(run_input={
"startUrls": ["https://docs.apify.com/academy/apify-scrapers"],
"maxPages": 5,
"stripNavigation": True
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(f"Title: {item['title']} | Tokens: ~{item['tokenEstimate']}")

📥 Input Parameters

ParameterTypeDefaultDescription
startUrlsArray["https://docs.apify.com/academy/apify-scrapers"]Documentation URLs to crawl and convert.
maxPagesInteger3Maximum documentation pages to crawl.
stripNavigationBooleantrueAutomatically strip sidebars, navigation, and headers.

📤 Output Sample JSON

{
"url": "https://docs.apify.com/academy/apify-scrapers",
"title": "Apify scrapers | Apify Documentation",
"markdown": "# Apify scrapers\n\n> Source: https://docs.apify.com/academy/apify-scrapers\n\n## Overview\n\nLearn how to configure Apify scrapers...",
"wordCount": 850,
"tokenEstimate": 1105,
"headings": ["Overview", "Configuration", "Data Delivery"],
"codeBlocksCount": 4,
"scrapedAt": "2026-10-03T09:20:00.000Z"
}

💡 Top Commercial Use Cases

  1. AI Coding Assistant Ingestion: Feed custom API documentation directly into Cursor .cursorrules or Windsurf context.
  2. Enterprise RAG Knowledge Bases: Ingest partner and supplier technical docs into Pinecone, Qdrant, or Weaviate.
  3. Offline Technical Archival: Convert sprawling web documentation portals into portable Markdown repositories.\n