Wikipedia
ReferenceUSen.wikipedia.org
Article summaries and metadata from the English Wikipedia REST API.
Capabilities (10)
GET /v1/data/wikipedia/extract1 creditReturns the article body as plain text (no wiki markup, no HTML) together with its page id and resolved title, following redirects.
GET /v1/data/wikipedia/featured-feed1 creditWikipedia'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.
GET /v1/data/wikipedia/geosearch1 creditLists 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.
GET /v1/data/wikipedia/media-list1 creditEvery 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.
GET /v1/data/wikipedia/on-this-day1 creditHistorical 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.
GET /v1/data/wikipedia/opensearch1 creditOpenSearch prefix suggestions: a four-element array of the query, up to ten matching article titles, their descriptions and their canonical URLs.
GET /v1/data/wikipedia/pageviews1 creditDaily 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.
GET /v1/data/wikipedia/search1 creditRuns 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.
GET /v1/data/wikipedia/summary1 creditThe 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.
GET /v1/data/wikipedia/top-pageviews1 creditThe 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.
Response example
The shape of data from wikipedia/extract (Plain-text article extract). A sample, not live data.
{
"batchcomplete": true,
"query": {
"pages": [
{
"pageid": 736,
"ns": 0,
"title": "Albert Einstein",
"extract": "Albert Einstein (14 March 1879 – 18 April 1955) was a German-born theoretical physicist best known for developing the theory of relativity. Einstein also made important contributions to quantum theory. His mass–energy equivalence formula E = mc2, which arises from special relativity, has been called…"
}
]
}
}Ask with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Plain-text article extract
Use Wikipedia (wikipedia) from fastCRW Pergamon, capability "Plain-text article extract" (extract). You want the actual prose of an article to read, summarise or feed to a model, rather than the two-sentence summary card. Example options: titles=Albert Einstein, exintro=1, exsentences=3. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "wikipedia" and capability "extract". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Featured content for a date
Use Wikipedia (wikipedia) from fastCRW Pergamon, capability "Featured content for a date" (featured-feed). You want what Wikipedia itself surfaced on a given day - today's featured article, picture of the day, or what people were actually reading. Example options: year=2024, month=01, day=15. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "wikipedia" and capability "featured-feed". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Articles near a coordinate
Use Wikipedia (wikipedia) from fastCRW Pergamon, capability "Articles near a coordinate" (geosearch). You have coordinates and want to know what notable places, buildings or landmarks are there. Example options: gscoord=48.8584|2.2945, gsradius=1000, gslimit=20. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "wikipedia" and capability "geosearch". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Page media list
Use Wikipedia (wikipedia) from fastCRW Pergamon, capability "Page media list" (media-list). You want the pictures or media used in an article, not just the single lead thumbnail the summary returns. Example options: title=Albert_Einstein, redirect=false. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "wikipedia" and capability "media-list". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
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_UseAttribution
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
