All free APIs
Free APISocialNo keyOfficial

Wikimedia / Wikipedia REST API

Page summaries, full content, and search from Wikipedia with no key

The Wikimedia REST API and MediaWiki Action API serve Wikipedia (and all Wikimedia wikis) content: page summaries, HTML, full wikitext, search, and links. No API key is required; the only hard rule is a descriptive User-Agent. Ideal for grounding an agent with encyclopedic facts.

Free tier

Free, no key

Rate limits

No fixed limit; ~200 req/s soft ceiling, clients blocked if they harm stability

Auth

No key

Base URL

https://en.wikipedia.org/api/rest_v1

What you'd build with it

  • Ground an agent's answer with a sourced Wikipedia summary
  • Pull full article HTML for retrieval/RAG over encyclopedic content
  • Disambiguate entities via the related-pages endpoint

Key endpoints

  • GET/page/summary/{title}Short extract, thumbnail, and metadata for a page
  • GET/page/html/{title}Full rendered HTML of a page
  • GET/page/related/{title}Pages related to the given title
Members

Members get the runnable recipe

Sign in free to copy the example request, see a sample response, and read the gotchas.

Tags

knowledgecontentsearchreference