TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/pratyay360/searchapi/llms.txt
Use this file to discover all available pages before exploring further.
/wiki/ endpoint aggregates results from six wiki sites in a single request. Internally, it runs six separate searches — one per site — and merges all results into a single array. This gives you broad encyclopedic coverage without making multiple API calls. The sites covered are Wikipedia, Wikibooks, Wiktionary, Grokipedia, Wikiquote, and Wikisource.
Because the endpoint runs six internal searches, the response can contain up to 6 × limit URLs. The actual count may be lower if some sites return fewer results than requested.
Request
Parameters
The search query. Works best with specific topic names, concepts, or terms. URL-encode spaces as
+ or %20.Maximum number of results to return per site. The total response may contain up to
6 × limit URLs.Sources searched
| Site | Content type |
|---|---|
wikipedia.org | Encyclopedic articles |
wikibooks.org | Open-content textbooks |
wiktionary.org | Dictionary and thesaurus |
grokipedia.com | Wiki-style reference |
wikiquote.org | Quotations from notable figures |
wikisource.org | Public domain source texts |
Response
Returns a JSON array of URL strings. Results from each site appear in the order listed above, concatenated together.A URL to a page on one of the six wiki sites.
Example
Response
Error response
500
Use case
The/wiki/ endpoint is well-suited for building encyclopedic knowledge datasets. The combination of Wikipedia (facts), Wikibooks (structured learning), Wiktionary (language), Wikiquote (quotations), and Wikisource (primary texts) gives broad coverage of human knowledge in a single call.