FreetierapisFree APIs you can call right now

Wikipedia API

Mediawiki Encyclopedia

Called and docs checked Measured by usFrom the public-apis list
Our call
HTTP 200
Latency
1,766 ms
From a browser
Allowed
Key
No key
Docs link
Answered
GEThttps://en.wikipedia.org/api/rest_v1/page/summary/Earth

Press Run: the request leaves from your browser, and you see what it gets back.

const res = await fetch("https://en.wikipedia.org/api/rest_v1/page/summary/Earth");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);

Wikipedia docsMore Open Data APIs

Come back to see anything that changed: answers, keys, browser access, rate limits.

Our test call Measured by us

Request
GET https://en.wikipedia.org/api/rest_v1/page/summary/Earth
Result
HTTP 200 in 1,766 ms (1,769 ms with the body)
From a browser
Browser OK Access-Control-Allow-Origin: *
HTTPS
Yes
Response
application/json, 3,490 bytes, a JSON object
Fields
type title displaytitle namespace wikibase_item titles pageid thumbnail originalimage lang
Rate-limit headers
none sent (that doesn't mean unlimited)
The list has CORS as "not recorded" for Wikipedia, but it sent Access-Control-Allow-Origin: * to us, so browser code can call it.

Change log Measured by us

No changes seen since we started tracking on 2026-11-06. Each check compares the answer, the key requirement, the browser (CORS) header and the rate limit with the run before.

What the list says From the public-apis list

Category
Open Data
Auth
No key
CORS
Not recorded Our call disagrees
Docs link
mediawiki.org answered 200 in 3918 ms on 2026-11-06 Measured

Wikipedia is listed in Open Data. Wikipedia needs no key: you can call it without signing up. The list doesn't record whether it allows browser calls (CORS), so test that before building a browser-only app on it.

The list has 55 Open Data APIs: 34 need no key, 17 need an API key and 4 use OAuth, and 28 of them are marked as allowing browser calls. 8 others have the same setup, such as BotsArchive, Callook.info and CollegeScoreCard.ed.gov.

Wikipedia and other Open Data APIs

FactWikipedia (this page)Microlink.ioNobel PrizeUniversities List10ML Fragrance Index
Key needed From the public-apis listNo keyNo keyNo keyNo keyNo key
CORS, as listed From the public-apis listNot recordedYesYesNot recordedYes
Our test call Measured by us1,766 ms921 ms392 ms2,262 msNot tested
Browser call Measured by usAllowedAllowedAllowedHTTP only—
Docs link Measured by usAnsweredAnsweredAnsweredAnsweredAnswered

All 55 Open Data APIs

Questions

Does Wikipedia need an API key?

Wikipedia needs no key: you can call it without signing up.

Can I call Wikipedia from JavaScript in the browser?

Yes. When we called it it sent Access-Control-Allow-Origin: *, so a web page can call it directly.

Where are the Wikipedia docs?

At https://www.mediawiki.org/wiki/API:Main_page. When we checked, the link answered 200 in 3918 ms.

What are some alternatives to Wikipedia?

Other Open Data APIs in the list include BotsArchive, Callook.info, CollegeScoreCard.ed.gov and French Address Search.

Listing from public-apis (github.com/marcelscruz/public-apis), MIT. Measurements are ours: how we check.

Report a problem with this page