Lumeo APIs
Education

Wikipedia & Wikidata API

Wikipedia in 300+ languages: search, summaries, full text by section, images, trending pages, pageviews, on-this-day, nearby places, Wikidata facts.

Get a free API key on RapidAPI Try it in the playground

Wikipedia & Wikidata API

The world's knowledge, ready for your app — without wrestling with MediaWiki parameters.

🔍 Search & discover

Full-text search with snippets and thumbnails, title autocomplete, random article, articles near coordinates.

📄 Articles

One-paragraph summary with image and coordinates, or the full plain-text article split into sections — perfect for RAG pipelines, chatbots and LLM grounding. Plus images & media, outgoing links and the same article in other languages.

📈 Trends

Most-viewed articles per day in any language, and pageview time series for any article.

📅 On this day

Historical events, births, deaths and holidays for any date.

🧩 Wikidata facts

Structured facts for any entity: population, birth date, occupation, country, coordinates, official website, IMDb id and more — resolved to readable labels.

Use cases: AI assistants & RAG · knowledge panels · trivia and quiz apps · travel guides · education · trend monitoring

Keywords: wikipedia api, wikidata api, encyclopedia api, article summary, knowledge graph, on this day, trending topics, pageviews, rag data source, multilingual

Endpoints (13)

EndpointWhat it returns
GET/searchSearch articles
Full-text search with description, highlighted snippet and thumbnail for each result.
GET/suggestTitle autocomplete
Article titles that start with the query — for type-ahead search boxes.
GET/summaryArticle summary
Short summary of an article: description, intro extract, thumbnail and full image, coordinates, Wikidata id and URL. Follows redirects.
GET/pageFull article text
The article as plain text, both whole (`text`) and split into `sections` with titles and levels, plus categories and metadata. Use `intro_only=true` for the lead section and `max_chars` to cap the size.
GET/mediaArticle images & media
Images, videos and audio used in an article, with captions and links to the file pages (for licence details).
GET/languagesArticle in other languages
The titles and URLs of the same article in every other language edition.
GET/linksLinked articles
Articles that this article links to, with descriptions and thumbnails — useful for related-content widgets.
GET/trendingMost-viewed articles
The most-viewed articles of a day in one language edition (defaults to the latest available day). Technical pages are filtered out.
GET/pageviewsArticle pageviews
Daily pageviews of an article for the last N days with total, daily average and peak day.
GET/on-this-dayOn this day
What happened on a date in history: curated selection, events, births, deaths or holidays, each with linked articles.
GET/nearbyArticles near a location
Articles about places around a coordinate, sorted by distance.
GET/randomRandom article
Summary of a random article.
GET/entityWikidata facts
Structured facts about an entity (person, place, company, film…): instance of, country, population, dates, occupation, coordinates, website, image, IMDb id and more, with values resolved to labels. Look up by Wikidata id

Quick start

Subscribe on RapidAPI (free plan available), copy your key, and call GET /search:

curl --request GET \
  --url 'https://wikipedia-wikidata-api.p.rapidapi.com/search?query=quantum+computing&lang=en&limit=3' \
  --header 'x-rapidapi-host: wikipedia-wikidata-api.p.rapidapi.com' \
  --header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY'

Example response

{
  "query": "quantum computing",
  "lang": "en",
  "count": 3,
  "results": [
    {
      "title": "Quantum computing",
      "page_id": 25220,
      "description": "Computer hardware technology that uses quantum mechanics",
      "snippet": "development List of quantum computing journals List of quantum computing books List of quantum software Magic state distillation – Quantum computing algorithm Metacomputing –",
      "thumbnail": "https://thumb.wikimedia.org/wikipedia/commons/thumb/b/b9/IBM_Quantum_Computer_Demo_at_ITUWTSA_2024%2C_Delhi_2.jpg/60px-IBM_Quantum_Computer_Demo_at_ITUWTSA_2024%2C_Delhi_2.jpg?utm_source=en.wikipedia.org&utm_campaign=res…",
      "url": "https://en.wikipedia.org/wiki/Quantum_computing"
    },
    {
      "title": "Superconducting quantum computing",
      "page_id": 1730328,
      "description": "Quantum computing implementation",
      "snippet": "quantum computing is a branch of quantum computing and solid-state physics that implements superconducting electronic circuits as qubits in a quantum",
      "thumbnail": "https://thumb.wikimedia.org/wikipedia/commons/thumb/3/3d/Measuring_a_qubit_leaves_no_room_for_error.jpg/60px-Measuring_a_qubit_leaves_no_room_for_error.jpg?utm_source=en.wikipedia.org&utm_campaign=rest&utm_content=thumbn…",
      "url": "https://en.wikipedia.org/wiki/Superconducting_quantum_computing"
    }
  ]
}

Start free. Every plan includes all endpoints; upgrade only when you need more requests. Runs on Cloudflare's global network for low latency worldwide.

Subscribe on RapidAPI

Related APIs

Education

Books API - Search, ISBN & Authors

Search 40M+ books by title, author, subject or ISBN: details, covers, ratings, editions, authors, genres, trending books and free-to-read links.

Education

Dictionary API - Definitions, Synonyms & Audio

English dictionary: definitions, examples, synonyms & antonyms, IPA phonetics with audio, autocomplete, word of the day, plus words in 100+ languages.

Education

Prayer Times & Islamic Calendar API

Accurate Muslim prayer times for any location (15 methods, Hanafi/Shafi), monthly timetable, Qibla direction, Hijri & Persian calendar converter.

Education

Quran API - Text, Translations & Audio

Complete Quran: Arabic (Uthmani) text, 100+ translations in 40+ languages, verse-by-verse audio by famous reciters, search, juz, pages, sajda.