Wikipedia
Overview
Wikipedia — free encyclopedia. Reference archetype. Three APIs: MediaWiki Action API for search/metadata, REST v1 for summaries/feeds, Core REST for article source and history.
Workflows
Research a topic
searchArticles(srsearch) → pick result → pageid, title
getPageSummary(title) → extract, description, thumbnail
getPageSource(title) → full wikitext (if needed)
Explore article graph
getPageSummary(title) → confirm topic → title
getPageLinks(titles) → outgoing links from article
getPageBacklinks(bltitle) → pages that cite this article
getPageCategories(titles) → article categories
Discover content by date
getOnThisDay(type, MM, DD) → historical events with related pages
getFeaturedContent(YYYY, MM, DD) → featured article, most-read, picture of the day
Compare across languages
searchArticles(srsearch) → find article → title
getPageLanguageLinks(titles) → available translations with language codes and localized titles
Operations
| Operation |
Intent |
Key Input |
Key Output |
Notes |
| searchArticles |
search by keyword |
srsearch |
title, pageid, snippet, wordcount |
entry point, paginated (sroffset) |
| getPageSummary |
page summary |
title ← searchArticles |
extract, description, thumbnail, content_urls |
REST v1 |
| getPageSource |
full wikitext |
title ← searchArticles |
source, revision timestamp, license |
large response |
| getPageMediaList |
page media files |
title ← searchArticles |
file title, type, srcset URLs, captions |
REST v1 |
| getRandomArticle |
random summary |
— |
same as getPageSummary |
entry point |
| getPageRevisions |
edit history |
title ← searchArticles |
revision id, timestamp, user, comment, delta |
paginated (older_than) |
| getPageCategories |
page categories |
titles ← searchArticles |
category titles |
Action API, paginated (clcontinue) |
| getPageLinks |
outgoing links |
titles ← searchArticles |
linked page titles |
Action API, paginated (plcontinue) |
| getPageBacklinks |
incoming links |
bltitle ← searchArticles |
pageid, title of linking pages |
Action API, paginated (blcontinue) |
| getPageLanguageLinks |
translations |
titles ← searchArticles |
lang code, localized title |
Action API, paginated (llcontinue) |
| getPageInfo |
page metadata |
titles ← searchArticles |
pageid, lastrevid, length, content model |
Action API |
| getPageExtract |
plain text intro |
titles ← searchArticles |
extract text (length-controlled) |
Action API, exsentences param |
| getOnThisDay |
events on date |
type, MM, DD |
event text, year, related pages |
entry point |
| getFeaturedContent |
daily highlights |
YYYY, MM, DD |
featured article, most-read, image |
entry point |
Quick Start
# Search for articles
openweb wikipedia exec searchArticles '{"srsearch":"quantum computing","srlimit":5}'
# Get page summary with thumbnail
openweb wikipedia exec getPageSummary '{"title":"Albert_Einstein"}'
# Get plain text extract (3 sentences)
openweb wikipedia exec getPageExtract '{"titles":"Albert_Einstein","exsentences":3}'
# Get page categories
openweb wikipedia exec getPageCategories '{"titles":"Python_(programming_language)","cllimit":10}'
# Get historical events for July 20
openweb wikipedia exec getOnThisDay '{"type":"events","MM":"07","DD":"20"}'
# Get today's featured content
openweb wikipedia exec getFeaturedContent '{"YYYY":"2026","MM":"03","DD":"31"}'
# Get pages linking to an article
openweb wikipedia exec getPageBacklinks '{"bltitle":"World_Wide_Web","bllimit":10}'
# Get article revision history
openweb wikipedia exec getPageRevisions '{"title":"Albert_Einstein","limit":5}'
1---2name: wikipedia3description: Wikipedia4---5# Wikipedia67## Overview8Wikipedia — free encyclopedia. Reference archetype. Three APIs: MediaWiki Action API for search/metadata, REST v1 for summaries/feeds, Core REST for article source and history.910## Workflows1112### Research a topic131. `searchArticles(srsearch)` → pick result → `pageid`, `title`142. `getPageSummary(title)` → extract, description, thumbnail153. `getPageSource(title)` → full wikitext (if needed)1617### Explore article graph181. `getPageSummary(title)` → confirm topic → `title`192. `getPageLinks(titles)` → outgoing links from article203. `getPageBacklinks(bltitle)` → pages that cite this article214. `getPageCategories(titles)` → article categories2223### Discover content by date241. `getOnThisDay(type, MM, DD)` → historical events with related pages252. `getFeaturedContent(YYYY, MM, DD)` → featured article, most-read, picture of the day2627### Compare across languages281. `searchArticles(srsearch)` → find article → `title`292. `getPageLanguageLinks(titles)` → available translations with language codes and localized titles3031## Operations3233| Operation | Intent | Key Input | Key Output | Notes |34|-----------|--------|-----------|------------|-------|35| searchArticles | search by keyword | srsearch | title, pageid, snippet, wordcount | entry point, paginated (sroffset) |36| getPageSummary | page summary | title ← searchArticles | extract, description, thumbnail, content_urls | REST v1 |37| getPageSource | full wikitext | title ← searchArticles | source, revision timestamp, license | large response |38| getPageMediaList | page media files | title ← searchArticles | file title, type, srcset URLs, captions | REST v1 |39| getRandomArticle | random summary | — | same as getPageSummary | entry point |40| getPageRevisions | edit history | title ← searchArticles | revision id, timestamp, user, comment, delta | paginated (older_than) |41| getPageCategories | page categories | titles ← searchArticles | category titles | Action API, paginated (clcontinue) |42| getPageLinks | outgoing links | titles ← searchArticles | linked page titles | Action API, paginated (plcontinue) |43| getPageBacklinks | incoming links | bltitle ← searchArticles | pageid, title of linking pages | Action API, paginated (blcontinue) |44| getPageLanguageLinks | translations | titles ← searchArticles | lang code, localized title | Action API, paginated (llcontinue) |45| getPageInfo | page metadata | titles ← searchArticles | pageid, lastrevid, length, content model | Action API |46| getPageExtract | plain text intro | titles ← searchArticles | extract text (length-controlled) | Action API, exsentences param |47| getOnThisDay | events on date | type, MM, DD | event text, year, related pages | entry point |48| getFeaturedContent | daily highlights | YYYY, MM, DD | featured article, most-read, image | entry point |4950## Quick Start5152```bash53# Search for articles54openweb wikipedia exec searchArticles '{"srsearch":"quantum computing","srlimit":5}'5556# Get page summary with thumbnail57openweb wikipedia exec getPageSummary '{"title":"Albert_Einstein"}'5859# Get plain text extract (3 sentences)60openweb wikipedia exec getPageExtract '{"titles":"Albert_Einstein","exsentences":3}'6162# Get page categories63openweb wikipedia exec getPageCategories '{"titles":"Python_(programming_language)","cllimit":10}'6465# Get historical events for July 2066openweb wikipedia exec getOnThisDay '{"type":"events","MM":"07","DD":"20"}'6768# Get today's featured content69openweb wikipedia exec getFeaturedContent '{"YYYY":"2026","MM":"03","DD":"31"}'7071# Get pages linking to an article72openweb wikipedia exec getPageBacklinks '{"bltitle":"World_Wide_Web","bllimit":10}'7374# Get article revision history75openweb wikipedia exec getPageRevisions '{"title":"Albert_Einstein","limit":5}'76```