# Wikipedia Full-Text Search API

> Wikipedia Full-Text Search API is a paid API for AI agents from gateway.apiosk.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Performs full-text search across Wikipedia and returns matching pages with titles, descriptions, and match excerpts.

## Facts

- Endpoint: GET https://gateway.apiosk.com/wikipedia/w/rest.php/v1/search/page
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wikipedia-full-text-search-api-de0938c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2ILBIhxXcB3Vkr6Gz_Q7q

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-full-text-search-api-de0938c4
```

Example prompt: Search Wikipedia for 'quantum entanglement' and give me the top matching article titles, descriptions, and relevant excerpts.

## When to prefer this

Choose this endpoint when you need to search across the breadth of Wikipedia's encyclopedia content and want back structured results (title, description, excerpt) rather than raw HTML. Prefer it over general web search when you specifically want encyclopedic, crowd-verified reference content. It is ideal for fact-checking, background research on well-known topics, and enriching agent knowledge with authoritative summaries.

## Known failure modes

- No matching articles found for obscure or misspelled query terms
- Rate limiting or payment failure on the x402 gateway resulting in HTTP 402
- Empty results for highly ambiguous queries with no strong Wikipedia match
- Network timeout if Wikipedia's REST API is temporarily unavailable
- Query too short or too generic returning low-relevance results

## How this service works

Full-text search across Wikipedia. Returns matching pages with title, description and a match excerpt.

## Output

Returns a list of matching Wikipedia pages, each containing the page title, a short description, and a text excerpt showing where the search term was matched within the article content.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wikipedia-full-text-search-api-de0938c4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.apiosk.com](https://www.zero.xyz/host/gateway.apiosk.com/llms.txt)
