Wikipedia Scraper - $1.00/1k, Full Article Text avatar

Wikipedia Scraper - $1.00/1k, Full Article Text

Pricing

$1.00 / 1,000 page returneds

Go to Apify Store
Wikipedia Scraper - $1.00/1k, Full Article Text

Wikipedia Scraper - $1.00/1k, Full Article Text

Turn any Wikipedia edition into a clean JSON API. Search by keyword or fetch exact titles and get plain-text extracts, thumbnails, categories, page IDs and canonical URLs, 50 titles per batch, any language. $1.00 per 1,000 pages, with no run-start fee.

Pricing

$1.00 / 1,000 page returneds

Rating

5.0

(2)

Developer

Dami's Studio

Dami's Studio

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

0

Monthly active users

3 days ago

Last modified

Share

Wikipedia Scraper

Search Wikipedia by keyword, or fetch clean, structured page data for exact titles — straight from the official MediaWiki Action API. No API key, no login, no anti-bot.

Two modes

1. Search — set searchQuery. Returns matching articles with title, pageid, url, a plain-text snippet (the API's HTML is stripped for you), wordcount, size, and timestamp. The actor paginates automatically (50 per request) up to maxItems.

2. Page data — set pageTitles (a list of exact article titles). Returns title, pageid, url, the plain-text extract, a thumbnail image URL, and categories. Titles are batched 50 at a time. Turn on fullText to get the whole article instead of just the intro.

(If both are provided, search mode wins. Provide one or the other.)

What you get per row

FieldModeNotes
titlebothArticle title.
pageidbothStable Wikipedia page id (used to dedupe).
urlbothCanonical article URL.
snippetsearchPlain-text match snippet (HTML stripped).
wordcount, size, timestampsearchArticle word count, byte size, last-edit time.
extractpagePlain-text article text (intro, or full body with fullText).
thumbnailpageLead image URL (up to 400px), if the page has one.
categoriespageVisible category names (hidden categories excluded).

Input

FieldNotes
searchQueryKeywords, e.g. machine learning. Leave empty if using titles.
pageTitlesList of exact titles, e.g. ["Apify", "Web scraping"].
fullTextPage mode only. Full article text vs. just the intro. Default off.
languageWikipedia edition: en, fr, de, es, ja, … Default en.
maxItemsCap on returned pages. Default 50.

Output

One dataset row per page (ok: true), deduplicated by pageid. Empty searches or unknown titles return a non-charged diagnostic row with an errorCode and a human-readable reason instead of silently returning nothing.

Pricing

$1.00 per 1,000 pages ($0.001 each), with no run-start fee. Flat rate — no volume tiers, no plan gates — and you are charged only for pages actually returned.

A row is one article, in either mode, whether you asked for the intro or the full body with fullText. Long articles cost exactly the same as short ones. A search that matches nothing, or a title Wikipedia does not have, produces an uncharged diagnostic row — so a run that finds nothing costs nothing.

What people use it for

  • RAG and LLM corporapageTitles with fullText: true gives clean plain-text article bodies with the wiki markup, references and infobox clutter already stripped, 50 titles per batch.
  • Entity enrichment — resolve a list of company, person or place names to canonical titles, pageids and lead images to attach to your own records.
  • Topic mappingcategories on page rows lets you build a subject graph without parsing category pages yourself.
  • Cross-language lookups — the same title list against language: "fr", "de", "ja" and so on, since every Wikipedia edition speaks the same API.
  • Change tracking — search mode returns timestamp (last edit) and size, so you can re-run and diff which articles moved.

Example

{ "searchQuery": "machine learning", "language": "en", "maxItems": 30 }
{ "pageTitles": ["Apify", "Web scraping"], "fullText": false, "language": "en" }

Notes

Uses https://{language}.wikipedia.org/w/api.php. Per Wikimedia's policy the actor always sends a descriptive User-Agent with a contact. Results are deduped by pageid.