Wikipedia API guide

wikipedia.org

Search Wikipedia by topic and language, read full article text, browse article media, and look up historical events by date.

Actions and inputs

wikipedia search

Find articles matching a search term.

Inputs query, optional language and limit

wikipedia page

Read the full plain-text article or its first few paragraphs.

Inputs title, optional language and paragraph limit

page get-media

Find images, videos, and other media associated with an article.

Inputs article title

feed get-on-this-day

Look up events, births, deaths, or holidays for a date.

Inputs month, day, event type

Watched pages

Create

Add an article to your watchlist on the selected language edition.

Inputs Language edition, article title

Read

Review recent edits to pages on your watchlist.

Inputs Language edition, optional time range and edit filters

Update

Change an existing watch to an available temporary or indefinite duration.

Inputs Language edition, page title, watch duration

Delete

Unwatch a page without editing or deleting it.

Inputs Language edition, page title