Existing customer? Sign in
APIs
Search engines 14 APIs
AI search 6 APIs
Shopping 14 APIs
Specialty stores 5 APIs
Maps & local 8 APIs
Travel 8 APIs
Images & videos 14 APIs
Jobs & people 6 APIs
Social media 8 APIs
Ad libraries 5 APIs
Apps & reviews 8 APIs
Real estate 3 APIs
Wikipedia Search API
Search the full text of 348 Wikipedia editions and get structured JSON with page ids, snippets, short descriptions, Wikidata ids, thumbnails and edit times.- Articles, categories or any other namespace
- Wikipedia's own search operators in the query
- Pay only for successful searches
curl --get https://www.searchapi.io/api/v1/search \
-d engine="wikipedia_search" \
-d q="jazz"
Wikipedia Search Results
Receive JSON results in real-time
Get each page's id, title, link, snippet with the matched words, short description, Wikidata id, thumbnail, last edit time, size and word count.
{
"search_metadata": {
"id": "search_aCN45OdjbGe3fqHTBq7uyGWM",
"status": "Success",
"created_at": "2026-11-25T14:55:14Z",
"request_time_taken": 2.36,
"parsing_time_taken": 0.0,
"total_time_taken": 2.36,
"request_url": "https://en.wikipedia.org/w/index.php?fulltext=1&limit=20&ns0=1&offset=0&search=jazz",
"html_url": "https://www.searchapi.io/api/v1/searches/search_aCN45OdjbGe3fqHTBq7uyGWM.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_aCN45OdjbGe3fqHTBq7uyGWM"
},
"search_parameters": {
"engine": "wikipedia_search",
"q": "jazz",
"language": "en",
"sort_by": "relevance",
"namespace": "0",
"num": 20,
"page": 1
},
"search_information": {
"total_results": 128019
},
"organic_results": [
{
"position": 1,
"page_id": 15613,
"title": "Jazz",
"link": "https://en.wikipedia.org/wiki/Jazz",
"snippet": "Jazz is a music genre that originated in the African-American communities of New Orleans, Louisiana, in the late 19th and early 20th centuries. Its roots",
"snippet_highlighted_words": [
"Jazz"
],
"description": "Music genre",
"wikidata_id": "Q8341",
"updated_at": "2026-11-18T17:53:33Z",
"size_bytes": 173522,
"word_count": 20227,
"matched_section": {
"title": "Acid jazz, nu jazz, and jazz rap",
"link": "https://en.wikipedia.org/wiki/Jazz#Acid_jazz,_nu_jazz,_and_jazz_rap"
},
"category_snippet": "Jazz",
"namespace": 0
},
{
"position": 2,
"page_id": 215016,
"title": "Jazz fusion",
"link": "https://en.wikipedia.org/wiki/Jazz_fusion",
"snippet": "Jazz fusion (also known as jazz rock, jazz-rock fusion, or simply fusion) is a popular music genre that developed in the late 1960s when musicians combined",
"snippet_highlighted_words": [
"Jazz",
"jazz",
"jazz"
],
"description": "Music genre combining jazz methods with rock music, funk, and rhythm and blues",
"wikidata_id": "Q105527",
"updated_at": "2026-11-18T05:54:55Z",
"size_bytes": 46220,
"word_count": 4867,
"matched_section": {
"title": "Jazz rock",
"link": "https://en.wikipedia.org/wiki/Jazz_fusion#Jazz_rock"
},
"category_snippet": "Jazz fusion",
"namespace": 0
},
{
"position": 3,
"page_id": 2527136,
"title": "Jazz poetry",
"link": "https://en.wikipedia.org/wiki/Jazz_poetry",
"snippet": "Jazz poetry is poetry that \"demonstrates jazz-like rhythm or the feel of improvisation\" or poetry that takes jazz music, musicians, or the jazz milieu",
"snippet_highlighted_words": [
"Jazz",
"jazz",
"jazz",
"jazz"
],
"description": "Genre of poetry",
"wikidata_id": "Q6168405",
"updated_at": "2026-11-12T21:33:06Z",
"size_bytes": 8425,
"word_count": 1054,
"category_snippet": "Jazz poetry",
"namespace": 0
}
],
"pagination": {
"current": 1,
"next": "https://en.wikipedia.org/w/index.php?fulltext=1&limit=20&ns0=1&offset=20&search=jazz"
}
}
Developer experience
Easy integration
Integrating is as simple as making a GET HTTP request.
https://www.searchapi.io/api/v1/search?engine=wikipedia_search&q=jazz
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "wikipedia_search",
"q": "jazz"
}
response = requests.get(url, params=params)
print(response.text)
What You Get for Every Page
Structured page data from Wikipedia search
Wikipedia Search returns the pages a Wikipedia edition finds for a search, parsed into clean JSON. Search one edition at a time, sort the results, and narrow them to articles, categories or any other namespace.
-
Pages
- Page id, title, link, short description, Wikidata id and thumbnail, with the time of the last edit, the page's size and its word count.
-
Snippets
- Text around the words the search matched, the words Wikipedia highlights, and the section, redirect or categories the search matched.
-
Search Operators
- Quoted phrases, intitle:, incategory: and Wikipedia's other search operators work in the query.
-
Sorting
- Relevance, last edit, creation time, number of incoming links, title, or random order.
-
Namespaces
- Articles by default, categories, any other namespace by its id, or every namespace at once.
-
Editions
- Any of 348 Wikipedia editions, from English and German to Japanese, Arabic and Cantonese.
-
Spelling Suggestions
- The spelling Wikipedia suggests for the search terms, and the total number of matching pages.
-
Pagination
- Page through the first 10,000 results with 1 to 100 results per page.
Legal Coverage
Legal Protection Guarantee
We accept legal responsibility for how SearchApi collects and parses publicly available search results, backed by up to $2M in coverage. This protection applies to customers worldwide, operates under U.S. law, and does not cover your use of the data or unlawful activities.
Robust Infrastructure
Handle even the most demanding needs
Performance
Sub-2 second average response time
Optimized for low latency, delivering rapid results for AI applications, SEO analysis, and research.
100% Success Rate
Guaranteed query completion
Guaranteed success with built-in auto-retry mechanism and adaptive error handling to ensure complete data collection.
Proxy Management
Scalable proxy rotation
Our built-in proxy rotator and auto-retry mechanisms ensure scalability, handling millions of searches daily across a global network of 100M+ proxies.
Captcha Solving
Advanced CAPTCHA bypass
Mimics real human behavior with full browser rendering, JavaScript execution, and CAPTCHA solving for uninterrupted data scraping.
Integrations
Open-source integrations
Easily integrate with popular open-source tools like Dify, Flowise, LangChain, and Haystack to extend functionality with minimal setup.
Simple Pricing
Pricing plans
- Pay per success
- Built in location geo-targetting
- Only premium proxies
- 10,000 Searches
- 99.9% SLA
- 35,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- 100,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- Medium Throughput
- 250,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- High Throughput
- Search Analytics
- 500,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- Dedicated Throughput
- Priority Support
- Search Analytics
- 1,000,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- Dedicated Throughput
- Priority Support
- Search Analytics
- 2,000,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- Dedicated Throughput
- Priority Support
- Search Analytics
- 5,000,000 Searches
- Team Management
- Legal Protection Guarantee
- 99.9% SLA
- Dedicated Throughput
- Priority Support
- Search Analytics
Trusted by industry leaders
Get started with SearchApi today
No credit card required. No commitment. Cancel anytime.