Wikipedia Article Extractor – Bulk Summaries, Text & Wikidata avatar

Wikipedia Article Extractor – Bulk Summaries, Text & Wikidata

Pricing

from $0.50 / 1,000 wikipedia article (summary)s

Go to Apify Store
Wikipedia Article Extractor – Bulk Summaries, Text & Wikidata

Wikipedia Article Extractor – Bulk Summaries, Text & Wikidata

Bulk Wikipedia articles by title, URL or search, any language: summary or full plain text, sections, categories, Wikidata ID, coordinates and lead image. Official Wikimedia APIs only, CC BY-SA attribution on every row. $0.50 per 1,000 summaries.

Pricing

from $0.50 / 1,000 wikipedia article (summary)s

Rating

0.0

(0)

Developer

Cemal Atakli

Cemal Atakli

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Features

Limited permissions

Share

Wikipedia Article Extractor – Bulk Summaries, Full Text & Wikidata IDs

Give it Wikipedia titles, article URLs or search queries in any language and get one clean JSON row per article: the summary (intro) or the full plain text or sections, plus the short description, categories, Wikidata ID, coordinates, lead image URL, page length, last edit date and, optionally, 30-day pageviews.

The data comes only from Wikipedia's official APIs (the MediaWiki Action API and the Wikimedia pageviews REST API). No HTML pages are crawled. Every row carries the CC BY-SA 4.0 license, the article URL and an attribution line, so you can reuse the text correctly.

$0.50 per 1,000 summaries, $1 per 1,000 full articles. Titles that do not exist are free.

What you can use it for

  • LLM / RAG knowledge bases: clean plain text or section chunks (heading + text) of thousands of articles, with source URL and license per chunk.
  • Entity enrichment: match company, place or person names to their Wikipedia article and Wikidata QID, short description and coordinates.
  • SEO and content research: intros, categories and pageviews of the articles behind a keyword (searchQueries).
  • Data science: category lists, article length, last edit date and popularity for a set of topics, in 300+ languages.

Input

FieldDefaultNotes
titlesprefill: Web scraping, Python (programming language), ParisArticle titles. Redirects are followed (USA → United States).
urls–Article URLs of any language edition (https://de.wikipedia.org/wiki/Berlin, mobile en.m. URLs too). Only parsed, never fetched.
searchQueries–Wikipedia full-text search; the top maxResultsPerQuery (default 10) results are extracted.
languageenLanguage edition for titles and searches: de, fr, es, ja, tr, simple …
contentsummarysummary (intro), fullText (whole article, plain text) or sections (list of heading, level, text).
includeCategoriestrueVisible categories (hidden maintenance categories are left out).
includePageviewsfalseHuman pageviews of the last 30 full days (free, one extra API call per article).
maxItems1,000Cap on titles/URLs/search results processed.
{
"titles": ["Web scraping", "Python (programming language)"],
"urls": ["https://de.wikipedia.org/wiki/Berlin"],
"searchQueries": ["large language model"],
"maxResultsPerQuery": 5,
"content": "summary",
"includePageviews": true
}

Output (one row per article)

{
"input": "Paris",
"inputType": "title",
"redirectedFrom": null,
"title": "Paris",
"pageId": 22989,
"url": "https://en.wikipedia.org/wiki/Paris",
"language": "en",
"shortDescription": "Capital and largest city of France",
"summary": "Paris is the capital and largest city of France, with an estimated city population of 2.04 million …",
"categories": ["Capital cities in Europe", "Cities in France", "Megacities", "…"],
"wikidataId": "Q90",
"wikidataUrl": "https://www.wikidata.org/wiki/Q90",
"coordinates": {"lat": 48.8567, "lon": 2.3522},
"imageUrl": "https://upload.wikimedia.org/wikipedia/commons/4/4b/La_Tour_Eiffel_vue_de_la_Tour_Saint-Jacques%2C_Paris_ao%C3%BBt_2014_%282%29.jpg",
"isDisambiguation": false,
"length": 231208,
"lastEdited": "2026-11-12T23:00:18Z",
"revisionId": 1385351351,
"license": "CC BY-SA 4.0",
"licenseUrl": "https://creativecommons.org/licenses/by-sa/4.0/",
"attribution": "\"Paris\" from Wikipedia (en), by Wikipedia contributors, CC BY-SA 4.0",
"historyUrl": "https://en.wikipedia.org/w/index.php?curid=22989&action=history",
"notFound": false,
"error": null
}
  • content: "fullText" adds text (the whole article as plain text, headings on their own lines) and sectionCount.
  • content: "sections" adds sections: [{"heading": null, "level": 1, "text": "<intro>"}, {"heading": "History", "level": 2, "text": "…"}, …].
  • Search results also have searchQuery and searchRank. With pageviews on: pageviews30d.
  • Titles that do not exist, invalid titles and non-Wikipedia URLs get a free row with notFound: true and an error.
  • The run summary (key-value store OUTPUT) has counts, API requests and whether the run stopped at your max charge.

Pricing (pay per event)

EventPriceWhen
article$0.0005Each article returned with content: summary
article-fulltext$0.001Each article returned with content: fullText or sections
Actor start$0.00005Once per run

Not charged: titles not found, invalid titles or URLs, duplicates (same article reached twice, e.g. via a redirect), failed requests, pageviews. The run stops cleanly when your maximum total charge is reached.

ActorPrice per 1,000 articles
This Actor$0.50 (summary) / $1.00 (full text)
automation-lab/wikipedia-scraper$1.15 + $0.001 per run
Other Wikipedia actors in the Storeabout $1.00

(Store prices checked on 21 Nov 2026.)

Speed and limits (honest)

  • Wikimedia asks API clients to send one request at a time and fewer than 5 per second. This Actor follows that and uses maxlag, so it backs off when Wikipedia's servers are busy.
  • Summaries are batched 20 per API call: about 1,000 summaries in 30–60 seconds.
  • Full text and sections need one API call per article (an API rule): about 3–4 articles per second, so 1,000 full articles take roughly 5 minutes. Pageviews add one call per article.
  • Text is TextExtracts plain text: no tables, infoboxes, references or image captions. Math formulas and some templates may be missing.
  • language must be an existing Wikipedia language code; an unknown one gives free error rows.

License and attribution (please read)

Wikipedia text is licensed under CC BY-SA 4.0. You may use it commercially, but you must credit Wikipedia contributors, link the source (url or historyUrl) and share adapted text under the same license. Each row has license, licenseUrl, attribution and url for that. Images at imageUrl have their own licenses on Wikimedia Commons. This Actor is not affiliated with or endorsed by the Wikimedia Foundation; Wikipedia is a trademark of the Wikimedia Foundation.

How is this different from our other listings?

  • Article Extractor and Website to Markdown read any web page's HTML; this Actor reads Wikipedia through its API only and adds structured fields (Wikidata ID, categories, coordinates, pageviews, license) that page scrapers do not give.
  • News MCP Server gives AI agents Wikipedia current events and news; this Actor is a bulk article extractor for datasets.
  • Academic Paper Search covers scholarly papers (Crossref) instead of encyclopedia articles.

Use with AI agents (Apify MCP)

Add this Actor to Claude, Cursor or any MCP client through the Apify MCP server (gazidev/wikipedia-extractor). An agent can ask for {"titles": ["Marie Curie"], "content": "sections"} and get licensed, attributed text chunks ready for retrieval, or {"searchQueries": ["solid-state battery"], "maxResultsPerQuery": 5} for a quick topic briefing.

FAQ

Does it scrape wikipedia.org pages? No. It only calls <lang>.wikipedia.org/w/api.php (MediaWiki Action API) and wikimedia.org/api/rest_v1 (pageviews), with an identifying User-Agent, as Wikimedia's API etiquette asks.

Can I get the infobox? Not in this version. Use the wikidataId with Wikidata for structured facts.

Disambiguation pages? They are returned like articles with isDisambiguation: true (and charged). Use a precise title to avoid them.

Other wikis (Wiktionary, Wikivoyage)? Not yet: Wikipedia language editions only.