# Wikipedia Article Search API

> Wikipedia Article Search API is a paid API for AI agents from api.cra-agent.tech, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Returns the best-matching Wikipedia articles for a search query, with titles, descriptions, and text excerpts as clean JSON

## Facts

- Endpoint: GET https://api.cra-agent.tech/v1/paid/wiki/search?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wikipedia-article-search-api-9eef4e2c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RIU8e85RANB6f7mMkCLh2

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-article-search-api-9eef4e2c
```

Example prompt: Search Wikipedia for 'stablecoin' and give me the top 3 results in English — I want titles, descriptions, and excerpts.

## When to prefer this

Choose this endpoint when you need structured Wikipedia search results (titles, descriptions, excerpts) in clean JSON format with predictable pricing at $0.001 per call, especially in agentic workflows that need factual background or entity lookups without scraping Wikimedia directly. Prefer over raw Wikimedia API when you need clean, ready-for-LLM output and want a simple, metered REST interface.

## Known failure modes

- Missing required query parameter 'q' returns a 400 error
- Invalid language code returns no results or an error
- Limit outside the 1–20 range may be rejected or clamped
- Obscure queries may return zero matching articles
- Payment failure (x402) if USDC balance is insufficient

## How this service works

The best matching Wikipedia articles for a query, with descriptions and excerpts, as clean JSON. Content is CC BY-SA 4.0.

## Output

A JSON array of the best-matching Wikipedia articles for the query, each containing the article title, a short description, a text excerpt, and a link. Results are clean, structured, and licensed under CC BY-SA 4.0. The number of results is controlled by the limit parameter (1–20, default 5).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wikipedia-article-search-api-9eef4e2c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.cra-agent.tech](https://www.zero.xyz/host/api.cra-agent.tech/llms.txt)
