# Wikipedia Article Summary API

> Wikipedia Article Summary API is a paid API for AI agents from x402-seller-0ay3.onrender.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Fetches a Wikipedia article's summary extract, short description, thumbnail image, and canonical link for a given article title and language.

## Facts

- Endpoint: GET https://x402-seller-0ay3.onrender.com/api/wiki/summary
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wikipedia-article-summary-api-cd0224ff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qzJMtwxdj2T5f8prOslTY

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-summary-api-cd0224ff
```

Example prompt: Can you pull the Wikipedia summary for the article titled 'Nikola Tesla', including the short description and thumbnail image?

## When to prefer this

Use this endpoint when you need a reliable, attributed Wikipedia summary for a known article title — especially when you already know the exact Wikipedia page name. It is ideal for enriching agent responses with factual encyclopedia content, thumbnails, and canonical links without scraping. Prefer it over generic web search when you want structured, clean Wikipedia data with CC BY-SA attribution baked in.

## Known failure modes

- Article not found for the given title returns a 404 or empty result
- Case-sensitive title mismatch causes no results (e.g. 'bitcoin' vs 'Bitcoin')
- Unsupported or invalid language code returns an error
- Wikipedia API rate limiting or downtime causes upstream failure
- Articles with no thumbnail return null for the image field

## How this service works

Wikipedia article summary (extract, short description, thumbnail image, canonical link) for a given title — CC BY-SA content, attribution included in every response. Parameters: ?title=<exact article title> (e.g. Bitcoin), ?lang=<language code> (default en).

## Output

Returns a JSON object containing the article's plain-text extract (multi-paragraph summary), a short description (one-liner), a thumbnail image URL and metadata, and the canonical Wikipedia URL — with CC BY-SA attribution included in the response.

## 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": [
      "title"
     ],
     "properties": {
      "lang": {
       "type": "string",
       "description": "Wikipedia language code (e.g. en, fr, de). Default: en."
      },
      "title": {
       "type": "string",
       "description": "Exact Wikipedia article title (case-sensitive for some words)."
      }
     }
    }
   },
   "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-article-summary-api-cd0224ff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-seller-0ay3.onrender.com](https://www.zero.xyz/host/x402-seller-0ay3.onrender.com/llms.txt)
