# Wikipedia Article Summary API

> Wikipedia Article Summary API is a paid API for AI agents from api.24klabs.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-25).

Retrieves the lead summary, thumbnail image, and canonical URL for any Wikipedia article by title.

## Facts

- Endpoint: POST https://api.24klabs.ai/api/v1/wikipedia-summary?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wikipedia-article-summary-api-596c75c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ehj8e9CCcaKljwCqgYvhc

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-596c75c3 -d '<json body>'
```

Example prompt: Can you pull the Wikipedia summary, thumbnail, and URL for the article titled 'Large language model'?

## When to prefer this

Use this endpoint when you need a quick, structured Wikipedia snippet (summary text, thumbnail, and URL) for a known article title without scraping or parsing Wikipedia HTML yourself. Prefer this over a full web scrape when you only need the lead paragraph and thumbnail. Best for enriching entities, building knowledge cards, or answering factual overview questions.

## Known failure modes

- Article title not found on Wikipedia — returns an error or empty result
- Disambiguation page titles may return unexpected results
- Articles without thumbnails return no image URL
- Non-English titles may not resolve correctly if the API targets English Wikipedia
- Network timeout if Wikipedia is slow to respond

## How this service works

Get the lead summary, thumbnail, and URL for any Wikipedia article title.

## Output

Returns the Wikipedia article's lead summary text (the introductory paragraph), a thumbnail image URL (if available), and the canonical Wikipedia article URL for the requested title.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "extract": "..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wikipedia-article-summary-api-596c75c3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.24klabs.ai](https://www.zero.xyz/host/api.24klabs.ai/llms.txt)
