Skip to main content
Free encyclopedia API providing article summaries, full content, and metadata across millions of topics in multiple languages. Best for general knowledge lookups, fact verification, and providing background context on people, places, events, and concepts. The go-to reference when a workflow needs authoritative, crowd-sourced knowledge without domain specialization. 1 example endpoint available through Lava’s AI Gateway. See the Wikipedia API docs for full documentation.
This provider is managed — no additional setup required.
This is a catch-all provider — any valid URL under https://en.wikipedia.org/api/rest_v1 is supported. Wikipedia REST API. Construct URL as https://en.wikipedia.org/api/rest_v1/{endpoint}. Common endpoints: /page/summary/, /page/html/, /page/related/. The endpoints below are curated examples.

Endpoints

Get article summary

GET https://en.wikipedia.org/api/rest_v1/page/summary/Artificial_intelligence — Free
const data = await lava.gateway('https://en.wikipedia.org/api/rest_v1/page/summary/Artificial_intelligence', { method: 'GET' });

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests