Web data for AI · Apify actor
Turn a whole website into Markdown and RAG chunks
Give it the start of a docs site, blog, help centre or company site and it follows the links and the sitemap, keeps the main content of every page (menus, footers, cookie banners and ads removed) and returns one row per page with the Markdown, the text, title, description, language, a content hash and heading-aware chunks with token counts. You pay a flat price per page, so you know the cost before you press Start.
What it does
Website Content Crawler for AI, in short
- Main content as Markdown and plain text, with title, description, language and publish date
- Heading-aware chunks (default 512 tokens, 64 overlap,
cl100k_basecounts), each with URL, title and heading path - Linked PDF, DOCX, PPTX and XLSX files converted too ($0.002 per document)
llms.txt,llms-full.txtandchunks.jsonlwritten for every run- Re-crawls against an earlier dataset: unchanged pages come back as free rows; duplicates are removed free
- JavaScript pages re-rendered in headless Chromium only when needed; robots.txt respected
Who it's for
Built for
Example
Input and output
One dataset row per result, downloadable as JSON, CSV or Excel, or read through the Apify API.
{
"startUrls": [{ "url": "https://docs.example.com/" }],
"maxPages": 500,
"crawlerType": "auto",
"chunkSize": 512,
"chunkOverlap": 64,
"convertLinkedDocuments": true
}From the README's output example, shortened.
{
"url": "https://www.joelonsoftware.com/2018/04/13/gamification/",
"status": "ok",
"type": "page",
"renderedWith": "http",
"title": "A Dusting of Gamification – Joel on Software",
"language": "en-US",
"markdown": "# A Dusting of Gamification\n\nAround 2010 the success of Stack Overflow ...",
"wordCount": 1235,
"tokenCount": 1690,
"contentHash": "bb8a180d7aac4889f277c95b4f07b695dea90850d9f8dd13ad94a59f93e09289",
"chunkCount": 6,
"chunks": [
{ "index": 2, "headingPath": ["A Dusting of Gamification"],
"text": "We didn't want to punish you so much as ...", "tokenCount": 424 }
],
"billedEvent": "page",
"error": null
}Pricing
Pay per result. Failures are free.
No subscription, no monthly minimum. Apify platform compute is included in the price; Apify also adds a tiny start fee per run ($0.00005 per GB of run memory).
| You run | You pay |
|---|---|
| A 1,000-page docs site, plain HTTP | $0.15 |
| The same site next week, 50 pages changed | $0.0075 |
| 1,000 JavaScript pages in the browser | $0.90 |
| 100 linked PDFs | $0.20 |
Re-crawl: 50 × $0.00015 = $0.0075; 950 unchanged pages = $0.00
Not charged:
- Failed, blocked and robots-disallowed pages
- Duplicate pages (same canonical, identical or near-identical text)
- Unchanged pages on a re-crawl
One event covers up to 25,000 tokens of Markdown; a longer page or file counts one event per started 25,000 tokens. You can set Maximum cost per run in the run options and the actor stops cleanly when it is reached.
FAQ
Questions
Does it work on JavaScript websites (React, Vue, Angular)?
Yes. In auto mode it fetches the plain HTML first and re-renders only pages that are empty without JavaScript (billed as Browser page).
How do I keep my vector database up to date?
Schedule the crawl and point it at the previous run's dataset. Unchanged pages come back free and marked unchanged; the run also lists pages that were possibly removed.
What is the chunk size in?
Tokens of OpenAI's cl100k_base tokenizer. Other tokenizers give similar counts for English.
What are the limits?
No logins, no CAPTCHA solving and no residential proxies, so sites with bot walls give free blocked rows. Scanned PDFs without a text layer give a free error row.
Try Website Content Crawler for AI on Apify
Apify's free plan includes monthly platform credit you can use to try it.
Other Kanto Labs tools
Google Maps Scraper
Places with phone, website, rating, hours and optional emails, from any Maps search.
Google Maps Leads Website Checker
Mobile, HTTPS, ad pixels, CMS, booking and a 0-100 opportunity score for Maps leads.
Contact Page Finder
Contact page, form platform and field names, booking links and WhatsApp per website.