# Toll402 Wikipedia Summary

> Toll402 Wikipedia Summary is a paid API for AI agents from toll402.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Returns a plain-text summary extract and canonical URL for a Wikipedia article by topic title and language

## Facts

- Endpoint: POST https://toll402.dev/v1/t/wikipedia_summary
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/toll402-wikipedia-summary-38850313
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4fZjxGlExEZajaYaFN-su

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 toll402-wikipedia-summary-38850313 -d '<json body>'
```

Example prompt: Can you pull the Wikipedia summary for 'Quantum entanglement' in English and give me the extract and the canonical article URL?

## When to prefer this

Choose this endpoint when you need a quick, factual summary of a well-known topic, person, place, or concept and Wikipedia is an acceptable source. It is ideal for enriching entity data, providing background context in agent workflows, or answering 'what is X' questions without running a full web search. Prefer it over a general web-scraping endpoint when the target is specifically a Wikipedia article and you want a clean, structured extract rather than raw HTML.

## Known failure modes

- Article not found for the given title returns a 404-style error
- Ambiguous or misspelled title may return a disambiguation page summary rather than the intended topic
- Non-existent language code returns an error from the upstream Wikipedia API
- Rate limiting or Wikipedia API downtime causes request failure
- Title with special characters may require URL encoding to resolve correctly

## How this service works

Summary extract and canonical URL for a Wikipedia topic via https://<lang>.wikipedia.org/api/rest_v1/page/summary/<title>

## Output

Returns a JSON object containing the article's plain-text extract (intro paragraph), the canonical Wikipedia URL, the article title, a short description, and optionally thumbnail information — ready to display or pass into downstream LLM processing.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "title"
     ],
     "properties": {
      "lang": {
       "type": "string",
       "default": "en"
      },
      "title": {
       "type": "string"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "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/toll402-wikipedia-summary-38850313/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toll402.dev](https://www.zero.xyz/host/toll402.dev/llms.txt)
