Skip to main content
All providers

Wikipedia

ResearchUS

en.wikipedia.org

Article summaries and metadata from the English Wikipedia REST API.

Capabilities (10)

GET /v1/data/wikipedia/extract1 credit

Returns the article body as plain text (no wiki markup, no HTML) together with its page id and resolved title, following redirects.

titlesexintro?exsentences?exchars?exsectionformat?
GET /v1/data/wikipedia/featured-feed1 credit

Wikipedia's front-page package for one calendar day: the featured article, the picture of the day with its description, the most-read articles of the previous day with view counts, and current news items with their linked articles.

yearmonthday
GET /v1/data/wikipedia/geosearch1 credit

Lists Wikipedia articles whose subject sits within a radius of a latitude/longitude, each with page id, title, its own coordinates and the distance in metres.

gscoordgsradius?gslimit?gsnamespace?gsprimary?
GET /v1/data/wikipedia/media-list1 credit

Every image, video and audio file used on an article, in page order, with the file title, section id, caption, whether it is the lead image, and a srcset of thumbnail URLs at several widths.

titleredirect?
GET /v1/data/wikipedia/on-this-day1 credit

Historical events tied to one day of the year - selected anniversaries, all recorded events, births, deaths and holidays - each with the year, a one-line text and the Wikipedia pages involved as full summary objects.

typemonthday
GET /v1/data/wikipedia/opensearch1 credit

OpenSearch prefix suggestions: a four-element array of the query, up to ten matching article titles, their descriptions and their canonical URLs.

searchlimit?namespace?profile?
GET /v1/data/wikipedia/pageviews1 credit

Daily human pageview counts for one article across a date range, one item per day with project, article, timestamp and views. Bot and spider traffic is excluded and all access methods are combined.

projectarticlestartend
GET /v1/data/wikipedia/search1 credit

Runs a CirrusSearch full-text query and returns matching articles with page id, title, byte size, word count, last-edit timestamp and an HTML-highlighted snippet, plus the total hit count.

srsearchsrlimit?sroffset?srnamespace?srsort?srwhat?srqiprofile?
GET /v1/data/wikipedia/summary1 credit

The extract-and-infobox card for one article: plain-text and HTML lead extract, title and display title, Wikidata item id, description, thumbnail and original image URLs, coordinates, page id and the canonical desktop and mobile URLs.

titleredirect?
GET /v1/data/wikipedia/top-pageviews1 credit

The thousand most-viewed articles on a wiki for one calendar day, each with its title, view count and rank. Includes Main_Page and Special: pages, which a caller usually filters out.

projectyearmonthday

Licence

Article text is CC BY-SA 4.0 and GFDL; reuse requires attribution and share-alike on derivatives of the text.

https://foundation.wikimedia.org/wiki/Policy:Terms_of_Use

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Source: Wikipedia, CC BY-SA 4.0

Cache: up to 3600s