Wikipedia API rate limits in 2026, and how to fix 403 and 429 errors

Updated 2026-11-26 · 4 min read

Wikipedia's APIs allow 10 requests a minute if you don't identify yourself, 200 a minute with a proper User-Agent, and 2,000 a minute for established logged-in editors. Go over and you get 429 Too Many Requests. Send no User-Agent and you get 403 Forbidden.

What are the Wikipedia API rate limits in 2026?

One set of limits covers both the Action API (/w/api.php) and the REST API, counted per client per minute. From the Wikimedia rate limits page (last edited 8 November 2026):

Who you areLimitPer second, about
Unidentified (nothing but an IP address)10 a minute0.17
Script with a proper User-Agent, not logged in200 a minute3.3
Logged in, new account or few edits200 a minute3.3
Logged in, established editor2,000 a minute33
Bot-flagged accounts and a few othersExemptn/a
WikiVectors, any key600 a minute10

Wikimedia also asks for 3 or fewer requests in flight at once, and says these limits are new and may change.

Why do I get 403 Forbidden or 429 Too Many Requests?

403 almost always means no User-Agent, an empty one, or a generic one like bare curl or python-requests. Wikimedia's User-Agent policy wants your app's name and a way to reach you. We tried an empty one today:

$ curl -s -H "User-Agent:" \
  "https://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=moon&format=json"
# HTTP 403
Please set a user-agent and respect our robot policy https://w.wiki/4wJS.

The fix is one header: User-Agent: MyApp/1.0 (https://example.com; me@example.com) python-requests.

429 means you went over your per-minute limit. A busy backend may send 503 instead. Both usually carry a Retry-After header: wait that many seconds. If it's missing, wait at least 5 seconds and back off exponentially.

What we learned hitting these limits for real

WikiVectors follows every edit to English Wikipedia, so we live with these limits every day. That is the work you skip when you call us:

What does a WikiVectors call look like?

One call, a plain-English question, the right paragraph back. Here is a real one, made today:

curl https://wikivectors.com/v1/search \
  -H "Authorization: Bearer $WIKIVECTORS_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "how tall is mount everest", "limit": 1}'

The first result came back in under a second:

{
  "title": "Mount Everest",
  "section": "21st century",
  "text": "… On 8 December 2020, it was jointly announced by the two countries that the new official height is 8,848.86 metres (29,031.7 ft).",
  "url": "https://en.wikipedia.org/wiki/Mount_Everest",
  "permalink": "https://en.wikipedia.org/w/index.php?oldid=1388034684",
  "license": "CC BY-SA 4.0",
  "description": "Earth's highest mountain"
}

With Wikipedia's own API, the same job is a search call, then a page fetch, then cutting the page into paragraphs and picking the right one yourself. We do all of that ahead of time, so your app gets one short, cited paragraph. Need a short answer instead? /v1/answer gives one with its sources.

You still need Wikipedia's own APIs to edit, or for things we don't cover (images, other languages, talk pages). For those, send a real User-Agent and retry with backoff.

Wikipedia for your AI app, without the limits

WikiVectors searches all of English Wikipedia and returns short, cited paragraphs, fresh within the hour. 1,000 free searches a month, then $2 per 1,000.

Just your email, no card. We send your key right away.

More guides