# Wikipedia Scraper - Full Article Text and Search

One of the tools on damistudio.io. Index of all of them: https://damistudio.io/llms.txt

URL: https://damistudio.io/tools/wikipedia-scraper/
Run: https://apify.com/dami_studio/wikipedia-scraper?fpr=wcqem0
Category: Developer & Research Tools
Pricing: $0.001 per page ($1 per 1,000) on Apify's Free plan, read on 5 November 2026.
Apify name: dami_studio/wikipedia-scraper
Latest version: 0.1.34, updated 26 October 2026
From an AI chat: add Apify's connector (https://mcp.apify.com/), sign in with your Apify account, then ask:
  Use the Wikipedia Scraper (dami_studio/wikipedia-scraper) to search Wikipedia for "climate change", and return one row per article: snippet, word count, size, last edit.
Preset address for apps that take one: https://mcp.apify.com?tools=dami_studio/wikipedia-scraper (runs go on your own Apify account)

Wikipedia scraper: search by keyword, or fetch exact article titles in any language edition. Search rows give the snippet, word count, size and last edit. Title rows give the intro or the whole article as plain text, the lead image and the categories.

Inputs:
- `searchQuery` (string): Keywords to search Wikipedia for (e.g. "machine learning"). Returns matching pages with snippet, word count, and URL. Leave empty if you instead provide exact Page titles below.
- `fullText` (boolean): Only applies in Page titles mode. When on, returns the whole article as plain text instead of just the intro paragraph(s).
- `language` (string): Wikipedia language edition code, e.g. en, fr, de, es, ja. Picks the host {lang}.wikipedia.org.
- `pageTitles` (array): Exact Wikipedia article titles to fetch full data for (plain-text extract, thumbnail, categories, URL). Batched 50 at a time. Use this OR a search query.
- `maxItems` (integer): Maximum number of pages to return. In search mode the actor paginates until it reaches this. In page-titles mode it caps how many titles are fetched.
- `notionConnector` (string): Optional. Write each page as a page into your Notion when the run finishes. Authorize a Notion connector once in Settings → API & Integrations → MCP connectors, then pick it here. Leave empty to skip (default), results are always saved to the dataset regardless.
- `notionParentId` (string): Optional. The Notion data source ID of the database to write into (only used if a Notion connector is set). Leave empty to create the pages privately in your workspace instead.

Documentation:

Search Wikipedia by keyword, or name the exact articles you want, in the language edition you pick. A search returns the matching articles with a snippet, the word count, the size and the time of the last edit. Named articles come back with their text, the intro or the whole article, along with the lead image and the categories.

## Who pulls Wikipedia text in bulk

- **Teams giving an AI model background** on a list of topics: article titles in, plain text out, one row each.
- **Researchers building a small corpus in another language**, with `language` set to that edition's code.
- **Data cleaning.** A list of names matched to their articles, with the categories each one sits in.

## A worked example

On 4 November we searched "machine learning" in English and kept five. The run took about three seconds.

The first two results were "Machine learning", at 16,679 words, and "Quantum machine learning", at 9,654, each with a snippet of its opening and the time it was last edited. Search rows carry no article text; for that, put the titles you want into `pageTitles` and run it again.

You pay per article.

## What a row looks like

| Field | What it tells you |
|---|---|
| `mode` | `search` or `page`, which decides the other fields |
| `title`, `pageid`, `url` | The article and its address |
| `snippet`, `wordcount`, `size`, `timestamp` | On search rows: the opening, the length and the last edit |
| `extract` | On page rows: the intro, or the whole article with `fullText` on |
| `thumbnail` | On page rows: the lead image |
| `categories` | On page rows: the categories the article is filed under |

## When it's the wrong tool

- **You want facts as data, such as dates, identifiers and relations.** That's [Wikidata Scraper](https://damistudio.io/tools/wikidata-scraper/).
- **You want scholarly papers on the subject.** That's [Crossref Scraper](https://damistudio.io/tools/crossref-scraper/).
- **You want today's news about it.** That's [GDELT News Scraper](https://damistudio.io/tools/gdelt-news-scraper/).
- It is not an official Wikipedia tool. Dami's Studio is independent and is not affiliated with or endorsed by Wikipedia or the Wikimedia Foundation, or by any other company named on this page.

## Questions people ask

### Is this the Wikipedia API?

No. It reads Wikipedia's public API and hands the results back as rows, up to 5,000 in a run.

### How do I get the full text of a Wikipedia article?

Put its exact title in `pageTitles` and switch on `fullText`. Without it you get the intro.

### Does it work with other language editions?

Yes. Set `language` to the edition's code, such as `fr`, `de` or `ja`, and both search and named articles use that edition.

### What if I fill in both the search and the titles?

The search wins. Leave `searchQuery` empty when you want named articles.

### What does Wikipedia Scraper do?

Wikipedia scraper: search by keyword, or fetch exact article titles in any language edition. Search rows give the snippet, word count, size and last edit. Title rows give the intro or the whole article as plain text, the lead image and the categories.

### What do I give Wikipedia Scraper?

A search query, or a list of exact article titles, in any language edition.

### What do I get back from Wikipedia Scraper?

One row per article. Search: snippet, word count, size, last edit. Titles: intro or full text, lead image, categories.

### How much does Wikipedia Scraper cost?

$0.001 per page ($1 per 1,000) on Apify's Free plan. Paid plans pay a little less. It is billed on your own Apify account.

### Can I run Wikipedia Scraper from my AI chat?

Yes, from any app that supports MCP connectors. Add Apify's connector (https://mcp.apify.com/), sign in with your Apify account, and ask for dami_studio/wikipedia-scraper. The steps are on the Use with AI page. Each run goes on your own Apify account, at the prices on its Apify page.

### Do I need to write code to use Wikipedia Scraper?

No. Open it on Apify, fill in the form, click Run and download the results.
