# Open Search – Wikipedia Encyclopedia Search

> Open Search – Wikipedia Encyclopedia Search is a paid API for AI agents from open-search.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-02).

Searches English Wikipedia and returns top articles with title, URL, cleaned snippet, word count, and last edit date for a query.

## Facts

- Endpoint: GET https://open-search.x402tookit.com/search-encyclopedia?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/open-search-wikipedia-encyclopedia-search-85c41da7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ESVpJ4O0cLNg4ZfRlyIVH

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability open-search-wikipedia-encyclopedia-search-85c41da7
```

Example prompt: Search Wikipedia for 'quantum entanglement' and give me the top 3 articles with their titles, links, and a brief snippet from each.

## When to prefer this

Choose this endpoint when you need encyclopedic, factual background information about well-known topics, people, places, or concepts from English Wikipedia, with metadata like word count and freshness. Prefer it over the sibling multi-source endpoint when you specifically want Wikipedia results only, not a blend of Hacker News, Crossref, or Wikidata. Prefer it over general web search when you need reliable, structured encyclopedia-style content rather than arbitrary web pages.

## Known failure modes

- Query longer than 200 characters returns a validation error
- No Wikipedia articles found for obscure or misspelled query returns empty results array
- Limit parameter outside 1–10 range may be rejected or clamped
- Service degraded flag set if Wikipedia upstream is slow or partially unavailable
- Network timeout if Wikipedia API is unresponsive

## How this service works

Search English Wikipedia: top articles for a query with title, link, a cleaned snippet, word count and last edit.

## Output

A JSON object containing the query string, a source label ('Wikipedia'), total hit count, and a results array where each item includes article title, URL, a cleaned text snippet, word count, and last-edit timestamp. Also includes an 'asOf' timestamp and optional degraded/disclaimer fields.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Search words, up to 200 characters"
      },
      "limit": {
       "type": "integer",
       "description": "Results to return, 1 to 10 (default 5)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "query": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ]
      },
      "results": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "url": {
          "type": [
           "null",
           "string"
          ]
         },
         "title": {
          "type": [
           "null",
           "string"
          ]
         },
         "words": {
          "type": [
           "null",
           "number"
          ]
         },
         "source": {
          "type": [
           "null",
           "string"
          ]
         },
         "snippet": {
          "type": [
           "null",
           "string"
          ]
         },
         "updated": {
          "type": [
           "null",
           "string"
          ]
         }
        }
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "totalHits": {
       "type": [
        "null",
        "number
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/open-search-wikipedia-encyclopedia-search-85c41da7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from open-search.x402tookit.com](https://www.zero.xyz/host/open-search.x402tookit.com/llms.txt)
