Go to example tasks

Wikipedia full text as plain text for LLM and RAG datasets

The whole plain text of selected Wikipedia articles (section headings kept), with license and attribution, ready to chunk for a RAG index or LLM fine-tuning set.

Try for free
Wikipedia Scraper – Articles, Wikidata & Pageviews
Wikipedia Scraper – Articles, Wikidata & Pageviewsjustaduck/wikipedia-wikidata-scraper
Title
Lang
Description
Summary
+4 fields
Text
Number
Boolean
List
Object

Input

Article titles:Large language model+4
Language:en
Include full article text:true
Include 30-day pageviews:false
Max items:50

Output fields

Title
Lang
Description
Summary
Wikidata
Last edited
Views (30 d)
Wikipedia page

How it works

Sign up on Apify or log in

The Wikipedia Scraper – Articles, Wikidata & Pageviews Actor is ready to run with the inputs already set for "Wikipedia full text as plain text for LLM and RAG datasets". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Wikipedia full text as plain text for LLM and RAG datasets" task

The Wikipedia Scraper – Articles, Wikidata & Pageviews Actor will start running based on the input automatically. You can also change all the input fields, like article titles, language, and more, to match your specific use case.

Receive the "Wikipedia full text as plain text for LLM and RAG datasets" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as title, lang, description, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Wikipedia full text as plain text for LLM and RAG datasets" task via API.

Image

Integrate "Wikipedia full text as plain text for LLM and RAG datasets" into your workflow

Connect "Wikipedia full text as plain text for LLM and RAG datasets" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

The Wikipedia full text for LLM example returns 5 English articles, each with the whole article as plain text (headings kept as == Heading ==), license and attribution.

The Wikipedia full text for LLM example reads the official Wikimedia APIs (Wikipedia, Wikidata and the Pageviews API); no HTML pages are scraped.

The Wikipedia full text for LLM example stops at 50 articles. At US$1.00 per 1,000 articles plus US$0.00005 per run start, one run costs at most about US$0.050. Apify's free plan includes US$5 of usage a month.

Text returned by the Wikipedia full text for LLM example is from Wikipedia and is licensed CC BY-SA 4.0; each row carries the license, license URL and attribution fields to keep with the text.