# Wikipedia Article Lookup

> Wikipedia Article Lookup is a paid API for AI agents from x402-deployer.x402-deployer.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Fetches structured Wikipedia article data including title, summary, image, sections, Wikidata ID, and optional full extract across 300+ languages

## Facts

- Endpoint: POST https://x402-deployer.x402-deployer.workers.dev/wikipedia-lookup
- 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/x402-deployer-x402-deployer-workers-dev-32547aff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xhgpfacz5t--q3z6kP5BR

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 x402-deployer-x402-deployer-workers-dev-32547aff -d '<json body>'
```

Example prompt: Can you look up the Wikipedia article on Marie Curie — I need the title, summary, main image, sections, and Wikidata ID, and also include the full 25k-character extract?

## When to prefer this

Use this endpoint when you need structured, encyclopedic reference data about a person, place, concept, or event — especially when you want a clean structured response (title, summary, image, sections, Wikidata ID) rather than raw HTML. Prefer this over raw Wikipedia API calls when you need multilingual support or a normalized payload. Ideal for knowledge graph enrichment, entity resolution, and research summarization tasks.

## Known failure modes

- Article not found for the given title — returns 404 or empty result
- Ambiguous title matching multiple articles — may return wrong article
- Language code not supported or article not available in requested language
- Rate limiting or payment failure via x402 protocol
- Wikipedia API temporarily unavailable causing timeout

## How this service works

Wikipedia API / encyclopedia lookup / structured article fetch. Title, summary, image, sections, Wikidata id, optional 25k-char extract. 300+ languages.

## Output

Returns structured Wikipedia article data including the article title, plain-text summary, main image URL, section breakdown, Wikidata entity ID, and optionally up to 25,000 characters of article text — available in 300+ languages

## 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": {
     "required": [
      "query"
     ],
     "properties": {
      "query": {
       "type": "string",
       "description": "Search term or page title (e.g. 'Albert Einstein', 'mitochondria'). Resolved via MediaWiki search to the best-matching article."
      },
      "language": {
       "type": "string",
       "description": "Wiki language code (e.g. 'en', 'de', 'ja', 'es'). Default 'en'. Routes to <lang>.wikipedia.org."
      },
      "full_text": {
       "type": "boolean",
       "description": "If true, include a plain-text extract of the full article body (truncated to ~25k chars). Default false (summary only)."
      }
     }
    },
    "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",
     "properties": {
      "type": {
       "type": "string"
      },
      "title": {
       "type": "string"
      },
      "page_id": {
       "type": "string"
      },
      "summary": {
       "type": "string"
      },
      "language": {
       "type": "string"
      },
      "sections": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "level": {
          "type": "integer"
         },
         "title": {
          "type": "string"
         },
         "anchor": {
          "type": "string"
         }
        }
       }
      },
      "full_text": {
       "type": "null"
      },
      "image_url": {
       "type": "string"
      },
      "coordinates": {
       "type": "null"
      },
      "description": {
       "type": "string"
      },
      "canonical_url": {
       "type": "string"
      },
      "thumbnail_url": {
       "type": "string"
      },
      "wikidata_item": {
       "type": "string"
      },
      "full_text_truncated": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-deployer-x402-deployer-workers-dev-32547aff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-deployer.x402-deployer.workers.dev](https://www.zero.xyz/host/x402-deployer.x402-deployer.workers.dev/llms.txt)
