Skip to content

Wikipedia REST API

Page summaries, thumbnails and related pages from Wikipedia.
Status
Working
API key
Not needed
Browser calls
Runs in the browser
Latency
347 ms

Build snapshot, not live. One verifier run on , from the machine that built this site. How we check

Example request

GEThttps://en.wikipedia.org/api/rest_v1/page/summary/Earth

Sent from your browser straight to en.wikipedia.org. No proxy: this site never sees the request or the answer.

Copy the request

Shell
curl -s 'https://en.wikipedia.org/api/rest_v1/page/summary/Earth'

Response stored by the verifier

This is what en.wikipedia.org answered when the verifier sent the request above on : HTTP 200, application/json. Arrays are cut to two items and long strings are shortened. It comes from the build snapshot.

application/json · stored
{
  "type": "standard",
  "title": "Earth",
  "displaytitle": "<span lang=\"en\" dir=\"ltr\"><span class=\"mw-page-title-main\">Earth</span></span>",
  "namespace": {
    "id": 0,
    "text": ""
  },
  "wikibase_item": "Q2",
  "titles": {
    "canonical": "Earth",
    "normalized": "Earth",
    "display": "<span lang=\"en\" dir=\"ltr\"><span class=\"mw-page-title-main\">Earth</span></span>"
  },
  "pageid": 9228,
  "thumbnail": {
    "source": "https://thumb.wikimedia.org/wikipedia/commons/thumb/2/2d/Meteosat-12-fci-march-equinox-2025-noon.jpg/330px-Meteosat-1...",
    "width": 330,
    "height": 330
  },
  "originalimage": {
    "source": "https://thumb.wikimedia.org/wikipedia/commons/thumb/2/2d/Meteosat-12-fci-march-equinox-2025-noon.jpg/3840px-Meteosat-...",
    "width": 12261,
    "height": 12261
  },
  "lang": "en",
  "dir": "ltr",
  "revision": "1377721095",
  "tid": "fa2f7db3-bd08-11f1-a72c-2e47fde02529",
  "timestamp": "2026-09-30T19:56:08Z"
}

Availability

Up 1 of 1 day checked · 30-day window

What counts as up for this API: an answer within five seconds, a 2xx status, and the JSON body must contain the field "extract".

Last check: — passed, HTTP 200 in 347 ms.

The check runs from our infrastructure, not from where you are. If you need certainty, send the request yourself above. How the verifier works.

Questions

Does the Wikipedia REST API need an API key?

No. The sample request on this page was answered without a key, token or account. Note: Asks every client to send a descriptive User-Agent. Browsers send their own; set one in server code.

Can I call the Wikipedia REST API from the browser?

Yes. en.wikipedia.org answered our verifier with an Access-Control-Allow-Origin header on Oct 3, 2026, so a fetch call from a web page can read the response.

Is the Wikipedia REST API working?

At the check on Oct 3, 2026 it returned HTTP 200 with the expected data in 347 ms. The status at the top of this page shows the most recent result we have.