# 📖 Wikipedia Scraper — Article Text, Summaries & Views

**Use case:** 

No-code, cheap Wikipedia API. Scrape article data: full text, summary, categories, lead image, Wikidata ID, pageviews, word count — cheapest per item.

## Input

```json
{
  "searchTerms": [
    "machine learning"
  ],
  "titles": [
    "Alan Turing",
    "Python (programming language)"
  ],
  "language": "en",
  "maxResultsPerSearch": 20,
  "fullText": true,
  "includePageviews": true
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "text"
  },
  "pageId": {
    "label": "Page Id",
    "format": "number"
  },
  "url": {
    "label": "Url",
    "format": "link"
  },
  "language": {
    "label": "Language",
    "format": "text"
  },
  "summary": {
    "label": "Summary",
    "format": "text"
  },
  "text": {
    "label": "Text",
    "format": "text"
  },
  "wordCount": {
    "label": "Word Count",
    "format": "number"
  },
  "categories": {
    "label": "Categories",
    "format": "text"
  },
  "imageUrl": {
    "label": "Image Url",
    "format": "image"
  },
  "wikidataId": {
    "label": "Wikidata Id",
    "format": "text"
  },
  "lastModified": {
    "label": "Last Modified",
    "format": "date"
  },
  "searchSnippet": {
    "label": "Search Snippet",
    "format": "text"
  },
  "pageviews": {
    "label": "Pageviews",
    "format": "text"
  },
  "pageviewsTotal": {
    "label": "Pageviews Total",
    "format": "number"
  }
}
```

## About this Actor

This example demonstrates how to use [Wikipedia Scraper — Articles, Content & Pageviews](https://apify.com/hipersoft/wikipedia-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/hipersoft/wikipedia-scraper) to learn more, explore other use cases, and run it yourself.