# Wikipedia Search

> Wikipedia Search is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns the top 10 Wikipedia articles matching a search query, with title, snippet, word count, and URL.

## Facts

- Endpoint: GET https://intel.rallylive.ca/data/wiki-search
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wikipedia-search-cc171fb4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nAwbm6dCGbzbehe3NRm-t

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 wikipedia-search-cc171fb4
```

Example prompt: Search Wikipedia for 'quantum entanglement' and show me the top matching articles with their titles, snippets, and URLs so I can pick the right one to read.

## When to prefer this

Use this endpoint when you need to discover and identify the most relevant Wikipedia article for a topic before fetching its full content — it acts as a search-before-summarize step. Prefer it over directly fetching a Wikipedia page when the exact article title is unknown, when disambiguation is needed (e.g. 'Mercury' could be planet, element, or god), or when you want to compare multiple candidate articles by snippet and word count. At $0.01 per call it is cost-effective for pre-flight article selection in research or fact-checking pipelines.

## Known failure modes

- No articles found for obscure or misspelled queries — returns empty results list
- Payment not processed (x402 protocol failure) — call is rejected before search executes
- Query parameter missing — API returns a validation error
- Wikipedia API unavailable or rate-limited upstream — may return partial results or timeout
- Very broad queries may return less relevant top-10 results requiring query refinement

## How this service works

Wikipedia search: the top 10 matching articles with title, snippet, word count and URL. Find the right article before pulling a summary. $0.01 per search.

## Output

A list of up to 10 Wikipedia articles, each containing the article title, a short text snippet, the word count of the article, and the full Wikipedia URL — enabling the agent to select the most relevant article before fetching its full content.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wikipedia-search-cc171fb4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
