Wikipedia structured data with chunks avatar

Wikipedia structured data with chunks

Pricing

from $5.00 / 1,000 item extracteds

Go to Apify Store
Wikipedia structured data with chunks

Wikipedia structured data with chunks

Extract structured data from any Wikipedia page: full text, infobox,tables, images, references, categories, links, Wikidata QID, and revision metadata. Async, cached, and ready for bulk pipelines.

Pricing

from $5.00 / 1,000 item extracteds

Rating

0.0

(0)

Developer

Mohit Soni

Mohit Soni

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Share

Wikipedia Structured Data Extractor

Bulk-scrape Wikipedia pages into clean JSON. For each title you provide, the Actor pushes one dataset item containing:

  • title, qid (Wikidata QID), type (entity type), revId, wikitext
  • content — page summary + extract
  • links.internal_links (with resolved QIDs and entity types) and links.external_links
  • tables — parsed rows/headers of every table on the page
  • images — thumbnails + full metadata
  • references — bibliography / citation blocks
  • categories — category list
  • infobox — parsed key/value pairs from the right-side infobox
  • chunks — content split into chunks suitable for RAG / embeddings
  • metadata and extraction_metadata

Input

FieldTypeDefaultNotes
pageTitlesarray of strings— (required)English-Wikipedia page titles.
maxConcurrentRequestsint101–25.
requestTimeoutSecondsint30Per HTTP request.
maxRetriesint5Retries on 429 / 5xx with exponential backoff.
enableCachingbooltrueIn-container cache for the duration of the run.
logLevelenumINFODEBUG / INFO / WARNING / ERROR.
userAgentContactstringactor-owner@example.comWikimedia requires a real contact. Only sent in the HTTP User-Agent header.

Example:

{
"pageTitles": ["Albert Einstein", "Marie Curie", "Alan Turing"],
"maxConcurrentRequests": 10,
"enableCaching": true
}

Output

One JSON object per input title is pushed to the default dataset. Failed pages are still written, but with {"title": ..., "error": ..., "error_type": ...} instead of the full payload — so you can see failures in the same table.

Export as JSON, CSV, Excel, or feed via the Apify API.

Notes

  • The Actor talks only to en.wikipedia.org and www.wikidata.org. No credentials required.
  • Please set userAgentContact to a valid contact string per the Wikimedia User-Agent policy. Runs with the default placeholder may be rate-limited by Wikimedia.
  • Table extraction returns lists of rows/headers (no pandas dependency in the image).