Wikipedia API Built for LLMs

Fast, semantic search over Wikipedia. Pre-chunked passages optimized for RAG pipelines, ChatGPT, Claude, and LLM context windows.

No credit card required. 5,000 free requests per month.

Try it now

Search Wikipedia instantly - no API key required for the demo

Try:
cURL
curl 'https://api.wikirest.com/v1/search?q=quantum+computing&limit=3'
Response
// Click "Search" to see the response

Built for AI Applications

Everything you need to build intelligent applications with Wikipedia data

Lightning Fast

Powered by Meilisearch for sub-50ms search across 6+ million Wikipedia articles. Full-text search with typo tolerance.

LLM-Optimized Chunks

Articles pre-chunked into ~500 token passages. Perfect for RAG pipelines, embedding models, and context windows.

Simple REST API

Clean JSON responses. Works with any language. No complex authentication. Just add your API key header.

Source Attribution

Full CC BY-SA 4.0 compliance. Every response includes source URLs, permalinks, and license information.

Comprehensive Coverage

6+ million English Wikipedia articles indexed. Regular updates to keep content fresh.

Real-time Updates

Stay current with Wikipedia changes. Track updates via our changes API endpoint for fresh content in your applications.

Generous Free Tier

5,000 requests/month free forever. No credit card required. Perfect for prototypes and personal projects.

Get started in minutes

Copy-paste examples for your favorite language

curl -H "X-API-Key: your_api_key" \
  "https://api.wikirest.com/v1/search?q=machine+learning&limit=5"

Ready to get started? Create your free account today.