Wikipedia API rate limits in 2026, and how to fix 403 and 429 errors
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.
Only need to read Wikipedia? Skip the limits.
WikiVectors keeps its own copy of English Wikipedia, updated within the hour. You call us, not Wikipedia, so you get 10 calls a second instead of 3, no 403s, no 429s, and no retry code. Ask in plain English and get back the right paragraph, with its link and revision.
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 are | Limit | Per second, about |
|---|---|---|
| Unidentified (nothing but an IP address) | 10 a minute | 0.17 |
| Script with a proper User-Agent, not logged in | 200 a minute | 3.3 |
| Logged in, new account or few edits | 200 a minute | 3.3 |
| Logged in, established editor | 2,000 a minute | 33 |
| Bot-flagged accounts and a few others | Exempt | n/a |
| WikiVectors, any key | 600 a minute | 10 |
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:
- Without a login, the REST API capped us near 3 requests a second. That matches the 200-a-minute line.
- Failed pages need a retry list. Early on our updater skipped pages that failed, and thousands of November edits never loaded until we fixed it.
- A bot password lifts the limit. With one, we run at about 10 requests a second and keep 3 in flight, inside Wikimedia's ask.
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.
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.
More guides
- LLM knowledge cutoff: why your AI doesn't know 2026, and how to fix itWhat a knowledge cutoff is, the real cutoffs of gpt-oss, Gemma 4 and DeepSeek, and a 15-line fix: four models went from 0 to 15 of 15 on this year's news with one Wikipedia search.
- LM Studio and Wikipedia: give your local model this year's news with MCPConnect WikiVectors to LM Studio as an MCP server so a local model answers current events from today's Wikipedia. Gemma 4 12B went from 0 to 8 of 8. Setup, system prompt, real answers.
- Grounding an LLM in Wikipedia: we tested DeepSeek, Gemma 4 and gpt-oss on 45 questionsWikipedia's search API vs WikiVectors as grounding for 4 open models: rare facts went from 3-4 of 15 right to 12, this year's news from 0 to 15. Real code, real answers, the catch.