Wikipedia Articles Scraper
Pricing
from $1.19 / 1,000 results
Wikipedia Articles Scraper
Wikipedia Articles Scraper extracts Wikipedia articles by search, title, URL or category in any language: summary, full text, sections, infobox, tables, categories, images, links, references, Wikidata id, size, last edit and RAG-ready text chunks.
Pricing
from $1.19 / 1,000 results
Rating
0.0
(0)
Developer
Neuro Scraper
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
20 hours ago
Last modified
Categories
Features
Share
Wikipedia Articles Scraper
Wikipedia Articles Scraper exports Wikipedia articles by search query, title, URL or category in any language: title, description, summary, full text, sections, infobox, tables, categories, images, links, references, Wikidata id, page id, size, word count, last edit and text chunks ready for RAG.
Also try: Facebook Reels Scraper - export Facebook Reels with views, likes, comments, captions and video links from any page or profile.
The Wikipedia Articles Scraper reads Wikipedia articles completely - not just the summary - and returns one clean row per article with the text split into sections, the infobox as key / value pairs, the data tables, categories, links and references.
Use the Wikipedia Articles Scraper to build knowledge bases and RAG datasets, enrich companies, people and places with their infobox facts, monitor edits or research a topic across languages. No login and no API key are needed.
What can Wikipedia Articles Scraper do?
- Build RAG / LLM datasets with ready-made text chunks.
- Extract infobox facts (founded, headquarters, population, birth date...) of many entities.
- Export Wikipedia tables to CSV / Excel.
- Collect every article of a category or a search topic.
- Track the last edit and size of articles.
Why use Wikipedia Articles Scraper?
- Wikipedia Articles Scraper needs no login, no cookies and no browser extension - you give it the input and it returns clean rows.
- Wikipedia Articles Scraper follows the list page by page until it reaches your limit or the end of the list.
- Wikipedia Articles Scraper gives every row the same columns in the same order, so CSV, Excel and JSON exports line up.
- Wikipedia Articles Scraper runs on the Apify platform: schedule it, call it from the API, connect it to Make, Zapier, n8n or Google Sheets.
- Wikipedia Articles Scraper charges only for the rows it saves, so a small test run costs a few cents.
How to use Wikipedia Articles Scraper
- Open Wikipedia Articles Scraper on Apify and click Try for free (or Start).
- Fill in the input: search queries, article titles, article URLs or categories, and the language.
- Optional: set the filters and options described below - each one is explained with an example.
- Click Start. Wikipedia Articles Scraper logs every page it reads, so you can watch the progress in the log.
- When the run finishes, open the Output tab and download the rows as JSON, CSV, Excel, XML or HTML - or read them through the API.
Input options of Wikipedia Articles Scraper
Every option of Wikipedia Articles Scraper is listed here: what it does, how it works, the allowed values and default, an example and a tip.
Search queries (searchQueries)
searchQueries - is a list of keywords searched on Wikipedia in the chosen language. Every query is paged with the search's own next-page offset until maxResultsPerSearch articles; each article row keeps searchQuery and searchRank. Example: web scraping, quantum computing. Default: ["web scraping"]. In Wikipedia Articles Scraper this option has the type array.
Article titles (articleTitles)
articleTitles - is a list of exact article titles, e.g. Albert Einstein or Python (programming language). Redirects are followed, so NYC gives New York City. Uses the language option. Default: []. In Wikipedia Articles Scraper this option has the type array.
Article URLs (articleUrls)
articleUrls - is a list of Wikipedia article links in any language, e.g. https://en.wikipedia.org/wiki/Web_scraping or https://de.wikipedia.org/wiki/Berlin. The language of each link wins over the language option. Default: []. In Wikipedia Articles Scraper this option has the type array.
Categories (categories)
categories - is a list of category names (with or without Category:), e.g. Web scraping. The category's articles are listed with its own next-page cursor and read like search hits. Default: []. In Wikipedia Articles Scraper this option has the type array.
Language (language)
language - is the Wikipedia language code for searches, titles and categories: en (default), de, fr, es, it, pt, ja, zh, ru, ar and every other Wikipedia. Example: de for the German Wikipedia. Default: "en". In Wikipedia Articles Scraper this option has the type string.
Articles per query / category (maxResultsPerSearch)
maxResultsPerSearch - is the number of articles per search query and per category (default 10, up to 10,000). Two queries x 20 = 40 articles. Allowed values: whole numbers from 1 to 10000. Default: 10. In Wikipedia Articles Scraper this option has the type integer.
Max articles in total (maxItems)
maxItems - stops the whole run after this many article rows (default 1000) - a cost cap across all inputs. Allowed values: whole numbers from 1 to 100000. Default: 1000. In Wikipedia Articles Scraper this option has the type integer.
Full article text (includeFullContent)
includeFullContent - adds the complete article text as fullContent / content / extract_full (default on). Switch it off for small rows with only the summary. Allowed values: true or false. Default: true. In Wikipedia Articles Scraper this option has the type boolean.
Main text (extractMainText)
extractMainText - adds mainText, the article body as plain text without markup (default on). Allowed values: true or false. Default: true. In Wikipedia Articles Scraper this option has the type boolean.
Sections (extractSectionHeadings)
extractSectionHeadings - adds sectionHeadings (the headings in order) and sections (title, level, text, word count) - default on. Allowed values: true or false. Default: true. In Wikipedia Articles Scraper this option has the type boolean.
Max section depth (maxSectionDepth)
maxSectionDepth - keeps headings up to this level: 2 = only the top sections, 3 = with sub-sections, 6 = all (default). Allowed values: whole numbers from 1 to 6. Default: 6. In Wikipedia Articles Scraper this option has the type integer.
Max section text length (maxSectionTextLength)
maxSectionTextLength - cuts every section text to this many characters (default 0 = no cut) - handy for previews. Allowed values: whole numbers from 0 to 1000000. Default: 0. In Wikipedia Articles Scraper this option has the type integer.
Infobox (extractInfobox)
extractInfobox - adds the infobox (the fact box on the right) as label -> value pairs: infobox and structured_key_data (default on). Allowed values: true or false. Default: true. In Wikipedia Articles Scraper this option has the type boolean.
Max infobox fields (maxInfoboxFields)
maxInfoboxFields - keeps only the first N infobox fields (default 0 = all). Allowed values: whole numbers from 0 to 1000. Default: 0. In Wikipedia Articles Scraper this option has the type integer.
Tables (extractTables)
extractTables - adds the article's data tables (wikitable): caption, headers and rows as objects keyed by the header (default on). Allowed values: true or false. Default: true. In Wikipedia Articles Scraper this option has the type boolean.
Max tables (maxTables)
maxTables - keeps the first N tables of an article (default 10). Allowed values: whole numbers from 0 to 200. Default: 10. In Wikipedia Articles Scraper this option has the type integer.
Wikitext (extractWikitext)
extractWikitext - adds the raw wikitext (the article's source markup) - default off because it is large. Allowed values: true or false. Default: false. In Wikipedia Articles Scraper this option has the type boolean.
Links and references (includeLinks)
includeLinks - adds links (other Wikipedia articles linked from the text) and references (external source links) with their counts - default on. Allowed values: true or false. Default: true. In Wikipedia Articles Scraper this option has the type boolean.
Images (includeImages)
includeImages - adds the image URLs of the article and imageCount - default on. Allowed values: true or false. Default: true. In Wikipedia Articles Scraper this option has the type boolean.
Text chunk size (RAG) (chunkSize)
chunkSize - splits the text into chunks of about N characters, never across sections, for RAG and embeddings (default 1000; 0 = off). Allowed values: whole numbers from 0 to 20000. Default: 1000. In Wikipedia Articles Scraper this option has the type integer.
Read every article once (enableCaching)
enableCaching - reads an article once even when several queries find it; matchedSearchQueries lists them all (default on). Allowed values: true or false. Default: true. In Wikipedia Articles Scraper this option has the type boolean.
Max concurrency (maxConcurrency)
maxConcurrency - is how many articles are read at the same time (default 8, up to 30). 20 articles take about 2 seconds. Allowed values: whole numbers from 1 to 30. Default: 8. In Wikipedia Articles Scraper this option has the type integer.
Request timeout (s) (requestTimeoutSeconds)
requestTimeoutSeconds - is the timeout of one request in seconds (default 30). Allowed values: whole numbers from 5 to 120. Default: 30. In Wikipedia Articles Scraper this option has the type integer.
Max retries (maxRetries)
maxRetries - is the number of tries per request before an article is saved as an error row (default 3). Allowed values: whole numbers from 1 to 10. Default: 3. In Wikipedia Articles Scraper this option has the type integer.
Contact for the User-Agent (optional) (userAgentContact)
userAgentContact - is an optional e-mail or URL added to the User-Agent, as Wikimedia's User-Agent policy asks of heavy users. Example: me@example.com. Default: empty (not used). In Wikipedia Articles Scraper this option has the type string.
Log level (logLevel)
logLevel - sets the log detail: DEBUG, INFO (default), WARNING or ERROR. Allowed values: DEBUG, INFO, WARNING, ERROR. Default: "INFO". In Wikipedia Articles Scraper this option has the type string.
Proxy configuration (proxyConfiguration)
proxyConfiguration - is off by default because Wikipedia answers without a proxy; switch on the Apify proxy only if your network is refused. Default: {"useApifyProxy": false}. In Wikipedia Articles Scraper this option has the type object.
Ready-to-copy input examples for Wikipedia Articles Scraper
Search 20 articles
{"searchQueries": ["web scraping"],"maxResultsPerSearch": 20}
Infobox facts of given articles
{"articleTitles": ["Apple Inc.","Microsoft","Nvidia"],"includeFullContent": false,"extractTables": false}
German category with RAG chunks
{"categories": ["Programmiersprache"],"language": "de","maxResultsPerSearch": 50,"chunkSize": 800}
Article URLs with wikitext
{"articleUrls": ["https://en.wikipedia.org/wiki/Web_scraping"],"extractWikitext": true}
Output of Wikipedia Articles Scraper
Wikipedia Articles Scraper saves one row per article. Every row has the columns below, in the same order. A column is empty (null) when the article does not show that value - the table says when that happens.
| Field | What it contains |
|---|---|
title | Article title. |
pageTitle | Article title. |
displayTitle | Title as displayed (formatting removed). |
url | Desktop link of the article. |
mobileUrl | Mobile link. |
pageId | Wikipedia page id. |
revId | Id of the current revision. |
language | Language code of the wiki. |
type | standard or disambiguation. |
description | Short description of the article. |
extract | Lead section as plain text. |
summary | Lead section as plain text. |
extract_summary | Lead section as plain text. |
extractHtml | Lead section as HTML. |
thumbnail | Page image (thumbnail). |
originalImage | Page image in full size. |
wikidataId | Wikidata id (Q...). |
qid | Wikidata id (Q...). |
categories | Visible categories. |
hiddenCategories | Maintenance (hidden) categories. |
infobox | Infobox as {label: value}. |
structured_key_data | Infobox as {label: value}. |
structured_key_data_extracted | true when an infobox was found. |
tables | Tables: caption, headers, rows (objects keyed by header), rowCount. |
sectionHeadings | Headings in order. |
sections | Sections: title, level, text, wordCount. |
mainText | Article body as plain text. |
fullContent | Complete article text. |
content | Complete article text. |
extract_full | Complete article text. |
wikitext | Raw wikitext source (extractWikitext). |
chunks | Text chunks of about chunkSize characters: index, section, text, characters (for RAG / embeddings). |
wordCount | Words of the article text. |
size | Article size in bytes (wikitext). |
textStats | words, characters, paragraphs, sections, readingTimeMinutes. |
images | Image URLs used in the article. |
imageCount | Number of images. |
links | Links to other articles. |
linkCount | Number of article links. |
references | External reference / source links. |
referenceCount | Number of external links. |
lastEdited | Time of the last edit (UTC). |
lastModified | Time of the last edit (UTC). |
searchQuery | Query or category that found the article. |
searchRank | Position in the search results / category. |
requestedTitle | Title as you gave it (or as found). |
matchedSearchQueries | Every query that found the article. |
requestedTitles | The requested title and the title it resolved to (redirects). |
metadata | pageId, revId, language, wikidataId, lastModified, size, namespace. |
extraction_metadata | extractedAt, requests, durationMs, parsedHtml, plainText. |
error | Error text when the article could not be read. |
error_type | Error code (e.g. missingtitle). |
scrapedAt | Time of scraping (UTC). |
crawledAt | Time of scraping (UTC). |
Which columns of Wikipedia Articles Scraper can be empty
Wikipedia Articles Scraper fills every column the website publishes. These columns were measured as empty on some rows in our test runs, because the website itself does not publish that value for those article rows:
tables- measured 2026-11-22: 16 of 21 test articles have no data table (wikitable) - the list is then empty.infobox- measured: 11 of 21 test articles have no infobox (concept articles such as "Search engine scraping"); filled for people, places, companies, software...structured_key_data- same as infobox.thumbnail- Wikipedia sets no page image for many articles (16 of 21 tech articles in the test).originalImage- same as thumbnail.description- some articles have no short description (3 of 21).images- articles without any image.hiddenCategories- articles without maintenance categories.searchQuery- empty for articles given by title or URL.searchRank- empty for articles given by title or URL.matchedSearchQueries- empty for articles given by title or URL.references- articles without external links.error- empty when the article was read - the good case.error_type- empty when the article was read.wikitext- empty unless extractWikitext is on.
Limits of Wikipedia Articles Scraper
- Search results stop where Wikipedia's search stops (offset 10,000).
- Only articles (namespace 0) are read from categories.
How much does Wikipedia Articles Scraper cost?
Wikipedia Articles Scraper uses pay-per-event pricing: you pay a small amount per saved row (the result event) plus the Apify platform usage. The price is $1.49 per 1,000 results on the free plan and goes down to $1.19 per 1,000 results on higher plans.
Worked example: 20 article rows cost about 20 / 1,000 x $1.49 = $0.03 in result events; 1,000 rows cost about $1.49; 10,000 rows cost about $14.90 (less on a higher plan). With the Apify free plan ($5 of monthly credit) you can test Wikipedia Articles Scraper many times before paying anything.
Use Wikipedia Articles Scraper through the API
You can start Wikipedia Articles Scraper from your own code with the Apify API or the Apify client. Python example:
from apify_client import ApifyClientclient = ApifyClient('<YOUR_APIFY_TOKEN>')run = client.actor('neuro-scraper/wikipedia-articles-scraper').call(run_input={"searchQueries": ["web scraping"], "maxResultsPerSearch": 20})for item in client.dataset(run['defaultDatasetId']).iterate_items():print(item)
JavaScript example:
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('neuro-scraper/wikipedia-articles-scraper').call({"searchQueries": ["web scraping"], "maxResultsPerSearch": 20});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
The rows of Wikipedia Articles Scraper are also available as a direct download link (JSON, CSV, Excel) from the run's dataset, and Wikipedia Articles Scraper can send a webhook when a run finishes.
Integrations of Wikipedia Articles Scraper
Connect Wikipedia Articles Scraper to Google Sheets, Slack, Airtable, Make, Zapier, n8n, LangChain or your own webhook. Schedule Wikipedia Articles Scraper daily or weekly in the Apify Console to keep a fresh copy of the data, and compare runs to spot new and changed article rows.
FAQ about Wikipedia Articles Scraper
Does the Wikipedia Articles Scraper work for every language?
Yes - set language (searches, titles, categories) or give article links of any Wikipedia.
How fast is the Wikipedia Articles Scraper?
About 0.1-0.3 seconds per article with the default 8 parallel articles; the measured 20-article test finished in about 5 seconds of scraping.
Can I get only the summary?
Switch off includeFullContent, extractMainText, extractSectionHeadings, extractTables and includeLinks.
Is it legal to use Wikipedia Articles Scraper?
Wikipedia Articles Scraper collects only data that is shown publicly without logging in. It never collects email addresses or phone numbers. You are responsible for how you use the data - check the website's terms and the data-protection laws (GDPR, CCPA) that apply to you, and ask a lawyer if you are unsure.
What if Wikipedia Articles Scraper returns fewer rows than I asked for?
Wikipedia Articles Scraper stops when the list ends or when the website shows no more article rows for your input. The final status message of the run says which targets stopped early and why. Try a broader input or more inputs to get more rows.
Can I request a feature for Wikipedia Articles Scraper?
Yes - open an issue on the Wikipedia Articles Scraper page in the Apify Store and describe the field or filter you need.
Related scrapers
| Actor | What it extracts |
|---|---|
| facebook-reels-scraper | Facebook Reels with views, likes and comments |
Wikipedia Articles Scraper is maintained and updated when the website changes. If Wikipedia Articles Scraper helps you, a review in the Apify Store helps others find it.