Wikipedia Scraper
Pricing
from $0.56 / 1,000 articles
Wikipedia Scraper
Wikipedia articles in any language by title, search, category or URL via the public MediaWiki API: page ID, URL, description, intro, categories, coordinates, image, last edit, Wikidata ID. Optional full text, sections, infobox, links, pageviews.
Pricing
from $0.56 / 1,000 articles
Rating
0.0
(0)
Developer
Trevor Ortega
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Features
Share
Get Wikipedia articles as clean JSON, CSV or Excel, in any language edition. Look them up by exact title, search term, category or URL. Each article comes with its page ID, URL, language, short description, intro text, categories, coordinates (for places), lead image, last edit time and Wikidata ID. Switch on details to add the full plain text, the section list, the infobox as key/value pairs, the links count and the image files, and optionally the last 30 days of pageviews. The data comes from Wikipedia's public MediaWiki and pageviews APIs: no key, no login.
What you can do with it
- Build a knowledge dataset for AI, RAG or research from a list of titles, a search, or a whole category.
- Pull infobox facts (born, founded, population, headquarters) for companies, people and places.
- Track article popularity with 30-day pageviews, or find recently edited articles.
- Link records to Wikidata through the
wikidataIdfield. - Run the same list of titles in several languages at once (
languages: en, de, fr, ja ...). - Paste article, category or search URLs from any language edition.
Input example
{"titles": ["Python (programming language)", "Web scraping"],"searchTerms": ["machine learning"],"language": "en","includeDetails": true,"includePageviews": true,"maxItems": 50}
titles, searchTerms, categories, languages and startUrls accept plain strings or lists. Categories list the articles directly inside the category. Titles that do not exist are skipped and listed in the run summary.
Output example
{"pageId": 22989,"url": "https://en.wikipedia.org/wiki/Paris","title": "Paris","language": "en","description": "Capital and largest city of France","isDisambiguation": false,"extract": "Paris is the capital and largest city of France, with an estimated city population of 2.04 million ...","wikidataId": "Q90","lastEdited": "2026-11-12T23:00:18Z","lengthBytes": 231208,"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","categories": ["Capital cities in Europe", "Catholic pilgrimage sites", "Cities in France"],"fullText": null,"sections": null,"infobox": null,"linksCount": null,"images": null,"pageviews30d": null}
With "Include full text and details": fullText (plain text up to the References-type sections, cut at maxTextChars when set), sections ({level, title, number}), infobox (label to value text, "when the article has one"), linksCount (links to other articles) and images (file URLs, up to the page's image files). With "Include pageviews": pageviews30d (views by users in the last 30 days).
Pricing
| Event | Price |
|---|---|
| Article (one row) | $0.0007 |
| Details (only with "Include full text and details", per article) | $0.0010 |
| Actor start | $0.00005 |
Pageviews have no extra charge. Paid plans get volume discounts. Platform usage is included: you pay only for the events above.
Proxy note
Wikimedia rate-limits clients per IP and asks for a descriptive User-Agent, which the Actor sends (Apify-Wikipedia-Actor/1.0). The Actor keeps to two requests at a time and retries 429 answers on a fresh IP; Apify Proxy is on by default. Articles come 20 per request, details cost one request each.
FAQ
How do I scrape Wikipedia articles by title? Put the titles in titles (redirects are followed) and choose the language.
Can I get all articles of a category? Yes: add the category name to categories. Only articles directly in that category are listed; add subcategories yourself.
Does it return the infobox? Yes, with "Include full text and details": the first infobox of the article as key/value text. Articles without an infobox return null.
Does it work in other languages? Yes. Set language or languages, or paste URLs from any language edition.
Is the data public and licensed? Wikipedia text is public and licensed CC BY-SA, so keep attribution when you reuse it. The Actor collects no private data.