# Wikipedia Article Summary API (x402atlas)

> Wikipedia Article Summary API (x402atlas) is a paid API for AI agents from wiki.use.x402atlas.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Fetches a normalized summary envelope for any Wikipedia article including plain-text and HTML extract, short description, thumbnail image, and Wikidata ID.

## Facts

- Endpoint: GET https://wiki.use.x402atlas.com/summary
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wikipedia-article-summary-api-x402atlas-d951c3ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-KwJsEisEefjPDv0wPcbN

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-x402atlas-d951c3ec
```

Example prompt: Can you pull the Wikipedia summary for 'Marie Curie' — I need the plain-text extract, thumbnail, and Wikidata ID in one shot.

## When to prefer this

Use this endpoint when you need a fast, structured, attribution-ready Wikipedia summary for a known topic title, especially when you also need the Wikidata ID or thumbnail alongside the text extract. Prefer it over raw Wikipedia API calls when you want a clean normalized envelope with consistent field names and built-in CC-BY-SA attribution handling.

## Known failure modes

- Article title not found — returns 404 or empty result
- Ambiguous title requiring redirect — resolved automatically unless redirect=false
- Rate limit or payment failure — 402 response if USDC payment is not attached
- Malformed title input — may cause unexpected redirect or no match
- Wikipedia API downtime — upstream service unavailable error

## How this service works

Wikipedia article summary — plain-text and HTML extract, short description, thumbnail and Wikidata id for any title, in a clean normalized envelope with CC-BY-SA attribution.

## Output

A normalized envelope containing the article's plain-text extract, HTML extract, short description, thumbnail URL, and Wikidata entity ID, along with CC-BY-SA attribution metadata.

## 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": {
      "title": {
       "type": "string",
       "maxLength": 300,
       "description": "Wikipedia article title (e.g. Albert Einstein). Spaces or underscores both work; internal spaces are normalized to underscores."
      },
      "redirect": {
       "type": "string",
       "default": "true",
       "description": "Set to false to disable redirect following (default follows, e.g. Einstein -> Albert Einstein). Any other value is treated as follow."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "queried_at",
      "type",
      "title",
      "extract",
      "attribution"
     ],
     "properties": {
      "dir": {
       "type": "string",
       "description": "Text direction: ltr or rtl."
      },
      "lang": {
       "type": "string",
       "description": "Wikipedia language code (e.g. en)."
      },
      "type": {
       "type": "string",
       "description": "Wikipedia page type: standard, disambiguation, no-extract, or mainpage."
      },
      "title": {
       "type": "string",
       "description": "Resolved article title (post-redirect unless redirect=false)."
      },
      "extract": {
       "type": "string",
       "description": "Plain-text summary extract."
      },
      "thumbnail": {
       "type": "object",
       "properties": {
        "width": {
         "type": "integer"
        },
        "height": {
         "type": "integer"
        },
        "source": {
         "type": "string"
        }
       },
       "description": "Thumbnail image, present when the article has one."
      },
      "queried_at": {
       "type": "string",
       "format": "date-time",
       "description": "UTC timestamp of the request."
      },
      "attribution": {
       "type": "object",
       "required": [
        "text",
        "license",
        "license_u
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "lang": "en",
  "type": "standard",
  "title": "Albert Einstein",
  "extract": "Albert Einstein was a German-born theoretical physicist who is widely held to be one of the greatest and most influential scientists of all time...",
  "queried_at": "2026-07-06T12:00:00Z",
  "attribution": {
   "text": "\"Albert Einstein\" by Wikipedia contributors, licensed under CC BY-SA 4.0.",
   "license": "CC BY-SA 4.0",
   "source_url": "https://en.wikipedia.org/wiki/Albert_Einstein",
   "license_url": "https://creativecommons.org/licenses/by-sa/4.0/"
  },
  "content_url": "https://en.wikipedia.org/wiki/Albert_Einstein",
  "description": "German-born theoretical physicist (1879–1955)",
  "wikibase_item": "Q937"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wikipedia-article-summary-api-x402atlas-d951c3ec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wiki.use.x402atlas.com](https://www.zero.xyz/host/wiki.use.x402atlas.com/llms.txt)
