Website to RAG Knowledge Dataset
Pricing
from $2.00 / 1,000 results
Website to RAG Knowledge Dataset
Convert a website sitemap into clean text and markdown rows for RAG, AI search, chatbots, and knowledge base workflows.
Pricing
from $2.00 / 1,000 results
Rating
0.0
(0)
Developer
GhostGrid
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
Convert a public website sitemap into clean text and markdown rows for RAG, AI search, chatbot, and knowledge base workflows.
This actor is built for teams that need website content in a predictable dataset format instead of a pile of noisy HTML.
What It Does
- Finds URLs from a sitemap or homepage
- Supports sitemap indexes, gzipped sitemaps, and robots.txt sitemap discovery
- Crawls each page and removes common navigation, footer, sidebar, comment, ad, and cookie banner content
- Extracts clean plain text and markdown
- Captures metadata such as title, description, keywords, canonical URL, and Open Graph image
- Detects page language with lightweight page signals
- Counts words for filtering and chunking decisions
- Optionally adds same-domain pages linked from sitemap pages
Common Use Cases
- Prepare public documentation for a RAG pipeline
- Build a website knowledge base for a support chatbot
- Export clean website content for AI search
- Audit page titles, metadata, and content coverage
- Create a repeatable dataset for scheduled website content refreshes
Input
| Parameter | Type | Default | Description |
|---|---|---|---|
sitemap_url | string | Required | URL to a sitemap.xml file or a website homepage |
max_pages | integer | 100 | Maximum number of pages to crawl |
include_linked_pages | boolean | false | Also add same-domain pages linked from sitemap pages, up to max_pages |
Output
Each successful page creates one dataset item.
| Field | Type | Description |
|---|---|---|
url | string | Page URL |
title | string | Page title |
text | string | Clean main content as plain text |
markdown | string | Clean main content as markdown |
metadata | object | Description, keywords, Open Graph image, and canonical URL |
crawled_at | string | ISO timestamp |
word_count | integer | Number of extracted words |
language | string | Detected language code |
Example Input
{"sitemap_url": "https://docs.apify.com/sitemap.xml","max_pages": 25,"include_linked_pages": false}
Recommended Pricing
Use pay per event pricing.
Suggested launch price:
- Actor start: free or near free
- Dataset item:
$0.0015to$0.0025per extracted page
Start at $0.002 per extracted page if Apify allows that exact value. This keeps small tests cheap and makes scheduled knowledge base refreshes a natural recurring use case.
Notes
This actor extracts content from public pages. It does not bypass logins, paywalls, or access controls.