Wikipedia Articles Scraper avatar

Wikipedia Articles Scraper

Pricing

from $0.50 / 1,000 article saveds

Go to Apify Store
Wikipedia Articles Scraper

Wikipedia Articles Scraper

Export Wikipedia articles as clean text by title, link or search: summary, full text, categories, main image, Wikidata ID and last edit date, in any language edition. Uses the official Wikipedia API.

Pricing

from $0.50 / 1,000 article saveds

Rating

0.0

(0)

Developer

jake mcclure

jake mcclure

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Categories

Features

Limited permissions

Share

Export Wikipedia articles as clean plain text, by title, by link or by search, from any language edition. For each article you get its summary, the full text with section headings, the short description, categories, main image, Wikidata ID and the date of its last edit.

It uses the official Wikipedia API, so the text is exactly what Wikipedia publishes, with no page furniture to clean up. No login or API key is needed.

Use it to:

  • build a knowledge base or a retrieval (RAG) dataset for an AI assistant
  • collect reference text on a list of companies, people, places or topics
  • gather training or evaluation text in dozens of languages
  • enrich a spreadsheet of names with a one-line description, a summary and a Wikidata ID
  • find the articles Wikipedia has on a subject

Input

Give it articles, searches, or both.

FieldWhat it does
ArticlesOne per line: a title such as Web scraping, or a link such as https://de.wikipedia.org/wiki/Berlin. A link is read from the language edition it points to.
SearchesOne per line. Each search saves the best-matching articles, as Wikipedia's own search ranks them.
Articles per searchThe most articles saved for each search. Default 10.
Language editionThe code at the start of the Wikipedia address: en, de, es, fr, ja, simple and so on. Default en.
Include the full article textOn by default. Off saves the summary only, which is much faster for long lists.
{
"articles": ["Web scraping", "https://de.wikipedia.org/wiki/Berlin"],
"searches": ["open data"],
"maxArticlesPerSearch": 25,
"language": "en"
}

Output

One record per article:

{
"search": null,
"input": "Web scraping",
"language": "en",
"title": "Web scraping",
"pageId": 2696619,
"url": "https://en.wikipedia.org/wiki/Web_scraping",
"description": "Method of extracting data from websites",
"summary": "Web scraping, web harvesting, or web data extraction is data scraping used for extracting data from websites…",
"text": "Web scraping, web harvesting, or web data extraction is data scraping used for extracting data from websites…\n\n\n== History ==\nAfter the birth of the World Wide Web in 1989…",
"wordCount": 3215,
"categories": ["Web scraping"],
"imageUrl": null,
"wikidataId": "Q665452",
"isDisambiguation": false,
"lastEditedAt": "2026-11-16T04:13:23.000Z",
"pageLength": 34956,
"scrapedAt": "2026-11-18T12:00:00.000Z"
}
  • summary is the article's opening section. text is the whole article as plain text, with headings marked the way Wikipedia marks them (== History ==); it is null when the full text is turned off.
  • input is the title or link you gave; title is the article it led to, after Wikipedia's own redirects (UK leads to United Kingdom). search is the search that found it.
  • description is Wikipedia's one-line description of the subject. imageUrl is the article's main image, where it has one.
  • isDisambiguation is true for pages that only list the meanings of a name.
  • wordCount counts the words in the text saved. pageLength is the size of the article's source in bytes.
  • An article reached twice, by a redirect or by a title and a search, is saved once.

A SUMMARY record in the run's key-value store lists how many articles each search or batch saved and any titles that were not found.

Pricing

Pay per result. You are charged once for each article saved to the dataset, at the per-result price shown on this page, with or without the full text. Titles that do not exist are not saved and cost nothing. The run stops as soon as it reaches the maximum charge you set for it.

Limits

  • Tables, infoboxes, image captions, references and formulas are not part of the plain text Wikipedia's API provides.
  • Wikipedia asks API users to send requests one after another. A run reads about three full articles a second, or about fifty summaries a second.
  • A search returns at most 10,000 articles.
  • Only articles are read, not talk pages, categories or user pages.

Is this allowed, and how may I use the text?

Wikipedia provides this API for exactly this purpose. The Actor identifies itself, sends its requests in series and backs off when the servers are busy, as Wikipedia's API guidelines ask.

Wikipedia's text is free to reuse under the Creative Commons Attribution-ShareAlike licence: credit Wikipedia (the url field is the link to give) and share any adapted text under the same licence. Images have their own licences; check each image's page before reusing it.