# FastX402 Wikipedia Search

> FastX402 Wikipedia Search is a paid API for AI agents from fastx402.tools, paid per call via x402, $0.003/call, status unknown (last checked 2026-12-02).

Searches Wikipedia and returns matching article titles, page IDs, and text snippets for a given query

## Facts

- Endpoint: GET https://fastx402.tools/wikipedia-search?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastx402-wikipedia-search-eb639819
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TSAjsF7Ke5Al6z-1wqoZd

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 fastx402-wikipedia-search-eb639819
```

Example prompt: Search Wikipedia for 'CRISPR gene editing' and give me the top 5 results with their titles and snippets.

## When to prefer this

Choose this endpoint when you need fast, keyless Wikipedia search without setting up a Wikipedia API account or managing API credentials. Ideal for agents that need encyclopedia-style background information on demand, paying only per call in USDC via x402. Prefer this over a generic web search when you specifically want structured Wikipedia results with page IDs for follow-up article fetching.

## Known failure modes

- Empty results array if no Wikipedia articles match the query
- Invalid or missing 'query' parameter returns an error
- Limit parameter out of range (not 1-10) may be rejected or clamped
- HTML span tags in snippets may require stripping before display
- Payment failure (402) if USDC balance is insufficient on Base or Solana

## How this service works

200 pay-per-call tools for AI agents, from $0.001 per request in USDC on Base or Solana with x402. No account, no API key.

## Output

A JSON object containing the original query string and an array of up to 10 results, each with a Wikipedia article title, its integer page ID, and an HTML-snippet string showing matching text with highlighted search terms.

## 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": [
      "query"
     ],
     "properties": {
      "limit": {
       "type": "string",
       "description": "Maximum number of results, 1-10 (default: 10)"
      },
      "query": {
       "type": "string",
       "description": "Search term or phrase"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "query": {
       "type": "string"
      },
      "results": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "title": {
          "type": "string"
         },
         "pageid": {
          "type": "integer"
         },
         "snippet": {
          "type": "string"
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "quantum computing",
  "results": [
   {
    "title": "Quantum computing",
    "pageid": 25498,
    "snippet": "A <span class=\"searchmatch\">quantum</span> <span class=\"searchmatch\">computer</span> is a <span class=\"searchmatch\">computer</span> that exploits quantum mechanical phenomena. On small scales, physical matter exhibits properties of both particles and waves"
   },
   {
    "title": "Quantum machine learning",
    "pageid": 42831127,
    "snippet": "<span class=\"searchmatch\">Quantum</span> machine learning is the integration of <span class=\"searchmatch\">quantum</span> algorithms within machine learning programs. The most common use of the term refers to machine learning"
   },
   {
    "title": "Timeline of quantum computing and communication",
    "pageid": 39497567,
    "snippet": "This is a timeline of <span class=\"searchmatch\">quantum</span> <span class=\"searchmatch\">computing</span> and <span class=\"searchmatch\">quantum</span> communication. 1960s 1970s 1980s 1981 – Richard Feynman in his talk at the First Conference on the Physics of Computation"
   }
  ]
 }
}
```

## More

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