Wikipedia Articles Extractor for RAG avatar

Wikipedia Articles Extractor for RAG

Pricing

from $3.00 / 1,000 results

Go to Apify Store
Wikipedia Articles Extractor for RAG

Wikipedia Articles Extractor for RAG

Turn Wikipedia into clean, LLM-ready data. Search or list article titles in any language and get plain text, summary, categories, Wikidata ID and paragraph chunks for RAG, embeddings and fine-tuning. CC BY-SA license and source URL on every row. Official MediaWiki API, no proxies.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Unbounded Seed

Unbounded Seed

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Categories

Features

Limited permissions

Share

Search Wikipedia in any language and get clean plain text, summaries and ready-made chunks for RAG, LLM fine-tuning and knowledge bases.

Pricing: $3.00 / 1,000 articles. Pay only for the results you receive. No subscription.

What does Wikipedia Articles Extractor for RAG do?

Turns Wikipedia into clean, LLM-ready data. Give it search terms or exact article titles, in any language edition, and it returns plain text with no markup, a short summary, categories, the Wikidata ID and paragraph-aligned chunks sized for your embedding model. Every row carries the CC BY-SA 4.0 license and source URL, so your dataset stays compliant.

Use it to: build RAG knowledge bases, fine-tune or evaluate LLMs, feed chatbots and knowledge graphs, or create multilingual training corpora. It uses the official MediaWiki API: no HTML scraping, no proxies, no blocks.

Features

  • Uses the official MediaWiki API with a descriptive User-Agent: no HTML scraping, no proxy.
  • Search queries or exact titles, any language edition (en, es, de, fr...).
  • Clean plain text without markup, paragraph-based chunks of configurable size, short description, categories and Wikidata ID.
  • License and source URL on every row (CC BY-SA 4.0).

Pricing

EventPrice
Article (one dataset row)$0.003
Actor start$0.00005 (Apify default)

Set a maximum cost per run in Apify and the Actor stops automatically when it is reached.

Input example

{
"searchQueries": [
"web scraping"
],
"language": "en",
"resultsPerQuery": 3,
"fullText": true,
"chunkSize": 1500
}

Output example

{
"title": "Web scraping",
"pageId": 2696619,
"language": "en",
"url": "https://en.wikipedia.org/wiki/Web_scraping",
"description": "Method of extracting data from websites",
"wikidataId": "Q665452",
"summary": "Web scraping, web harvesting, or web data extraction is data scraping used for extracting data from websites. Web scraping software may directly access the Worl...",
"wordCount": 3137,
"lastModified": "2026-11-08T21:20:06Z",
"categories": [
"Web scraping"
],
"license": "CC BY-SA 4.0 - Wikipedia contributors",
"attribution": "Source: https://en.wikipedia.org/wiki/Web_scraping",
"text": "Web scraping, web harvesting, or web data extraction is data scraping used for extracting data from websites. Web scraping software may directly access the Worl...",
"chunks": [
{
"index": 0,
"text": "Web scraping, web harvesting, or web data extraction is data scraping used for extracting data from websites. Web scraping software may directly access the Worl..."
},
{
"index": 1,
"text": "History\nAfter the birth of the World Wide Web in 1989, the first web robot, World Wide Web Wanderer, was created in June 1993, which was intended only to measur..."
}
]
}

Download the dataset as JSON, CSV, Excel, XML or HTML, or read it through the Apify API.

Wikipedia text is licensed CC BY-SA 4.0: you must attribute and share-alike derived text; each row carries license and attribution fields. Respects Wikimedia API etiquette (serial requests, identifying User-Agent).

FAQ

How big are chunks? Paragraph-aligned chunks of about chunkSize characters.

Can I get tables or images? Not in this version: plain text only.

Support

Found a bug or need an extra field? Open an issue from the Actor page.