Get basic metadata and simplified article introduction.
The summary response includes an extract of the first paragraph of the page in plain text and HTML as well as the type of page. This is useful for page previews (fka. Hovercards, aka. Popups) on the web and link previews in the apps.
Stability: stable
Please follow wikitech-l or mediawiki-api-announce for announcements of breaking changes.
Request
- Base URL: https://en.wikipedia.org/api/rest_v1
- URL: https://en.wikipedia.org/api/rest_v1/page/summary/{title}
- Auth: none declared
Path parameters
Page title. Use underscores instead of spaces. Use percent-encoding. Example: Main_Page.
Query parameters
Requests for redirect pages return HTTP 302 with a redirect target in Location header and content in the body. To get a 200 response instead, supply false to the redirect parameter.
Headers
The desired language variant code for wikis where LanguageConverter is enabled. Example: sr-el for Latin transcription of the Serbian language.
Response
The summary for the given page
Changes
No recorded changes to this operation across all 1 revision of this API.