Documentation to Clean LLM Markdown Crawler
Pricing
from $0.70 / 1,000 item scrapeds
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
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
10 days ago
Last modified
Categories
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
| Feature | This Actor (Pay-Per-Result) | Heavy Browser Crawlers (Playwright) | Standard HTML Scrapers |
|---|---|---|---|
| Speed | ⚡ Fast HTTP Cheerio parsing (<1s/page) | 3–5 seconds per page | Fast, but returns raw noisy HTML |
| Token Efficiency | 🎯 Strips 85%+ of boilerplate chrome | Ingests navbars, footers & cookie banners | Ingests scripts, SVGs & layout markup |
| Code Block Integrity | ✅ Preserves language & code syntax | Often merges code into plain text | Escapes HTML entities improperly |
| Pricing | 💰 $1.00 / 1,000 doc pages (PPR) | High compute memory costs | Unclear per-result billing |
🛠️ Step-by-Step: How to Use
Method 1: Apify Web Console
- Enter the root documentation link in Documentation Start URLs (e.g.
https://docs.apify.com/academy/apify-scrapers). - Set Max Pages to Crawl (e.g.
5). - Click Start and download the clean
.mdfiles or JSON dataset.
Method 2: Python SDK
from apify_client import ApifyClientclient = 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
| Parameter | Type | Default | Description |
|---|---|---|---|
startUrls | Array | ["https://docs.apify.com/academy/apify-scrapers"] | Documentation URLs to crawl and convert. |
maxPages | Integer | 3 | Maximum documentation pages to crawl. |
stripNavigation | Boolean | true | Automatically 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
- AI Coding Assistant Ingestion: Feed custom API documentation directly into Cursor
.cursorrulesor Windsurf context. - Enterprise RAG Knowledge Bases: Ingest partner and supplier technical docs into Pinecone, Qdrant, or Weaviate.
- Offline Technical Archival: Convert sprawling web documentation portals into portable Markdown repositories.\n