RAG Web Corpus Builder avatar

RAG Web Corpus Builder

Pricing

from $0.90 / 1,000 results

Go to Apify Store
RAG Web Corpus Builder

RAG Web Corpus Builder

Turn public web pages into clean, chunked, metadata-rich Markdown records ready for RAG ingestion and vector stores.

Pricing

from $0.90 / 1,000 results

Rating

0.0

(0)

Developer

Cynix Dev

Cynix Dev

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

Turn any set of public web pages into clean, chunked, metadata-rich Markdown records that drop straight into a RAG pipeline, vector store, or custom-GPT knowledge base — no post-processing required.

Most crawlers hand you raw HTML or one giant Markdown blob per page. You still have to strip navigation and ads, split the text into token-bounded chunks, and attach source metadata so your LLM can cite it. This Actor does that last mile for you.

What it does

  1. Crawls the start URLs you provide (with configurable depth and same-domain restriction).
  2. Extracts the main content using a readability-style algorithm — nav, footers, and ads removed.
  3. Converts clean HTML to Markdown.
  4. Splits each page into token-aware chunks with configurable size and overlap.
  5. Emits one dataset record per chunk with rich metadata for citations and dedup.

Output record

FieldDescription
urlSource page URL
titlePage title
chunkIndex / totalChunksPosition of the chunk within the page
textClean Markdown chunk text
charCount / tokenEstimateSize metrics (~4 chars/token)
contentHashsha256 of the chunk, for deduplication
crawledAtISO timestamp

Input

FieldDefaultDescription
startUrls— (required)Public pages to crawl
maxCrawlDepth1Link levels to follow (0 = only start URLs)
maxPages50Hard cap on pages per run
sameDomainOnlytrueStay on the start URL's domain
includeGlobs / excludeGlobs[]URL filters
chunkSize1000Target chars per chunk
chunkOverlap150Overlap chars between chunks
minChunkChars200Minimum chunk size

Use with AI agents (MCP)

Once published, this Actor is discoverable through Apify's Actors MCP Server, so agents in LangChain, LlamaIndex, CrewAI, or Claude Desktop can call it directly to ground themselves in fresh, structured web content.

Compliance

This Actor targets public text content only. It does not log in, does not bypass paywalls, and does not collect personal data. Respect each site's terms of use and robots directives, and only crawl content you are permitted to access.