# Vibes-Coded Wikipedia Summary API

> Vibes-Coded Wikipedia Summary API is a paid API for AI agents from vibes-coded.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Fetches a concise Wikipedia article summary (extract, title, and page URL) for a given topic, paid per-call via USDC.

## Facts

- Endpoint: POST https://vibes-coded.com/api/v1/outcomes/wikipedia-summary
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vibes-coded-wikipedia-summary-api-20d9fcf1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c9jp-kesW6AdNc4uOl0Js

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 vibes-coded-wikipedia-summary-api-20d9fcf1 -d '<json body>'
```

Example prompt: Can you pull the Wikipedia summary for 'HTTP 402 Payment Required' and give me the extract and page URL?

## When to prefer this

Choose this endpoint when you need a quick, factual, encyclopedia-level summary of a well-known topic and want a structured JSON response including the Wikipedia URL. Prefer it over a full web scrape when a concise extract is sufficient and you want a deterministic, pay-per-call model with no subscription. Best for enriching agent responses, grounding factual claims, or adding reference links to content — especially when integrated into an x402 micropayment-enabled agent workflow.

## Known failure modes

- Topic not found on Wikipedia — returns ok:false or empty extract
- Ambiguous search term matches wrong article — returns summary for unintended topic
- Wikipedia API unavailable or rate-limited — may return error or timeout
- Payment failure (HTTP 402) if USDC payment not properly attached
- Misspelled or highly obscure topic returns no result

## How this service works

Pay-per-call JSON for AI agents: skill search, listing optimization, install plans, productization, and artifact risk scoring. HTTP 402 → USDC. Full skill marketplace on-site.

## Output

Returns a JSON object with: ok (boolean success flag), lang (language code, e.g. 'en'), title (Wikipedia article title), extract (plain-text summary paragraph), page_url (full Wikipedia article URL), resource (endpoint identifier), and description (short descriptor of the topic).

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "lang": "en",
  "title": "HTTP 402",
  "extract": "HTTP 402 Payment Required is a nonstandard response status code...",
  "page_url": "https://en.wikipedia.org/wiki/HTTP_402",
  "resource": "wikipedia-summary",
  "description": "HTTP status code"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vibes-coded-wikipedia-summary-api-20d9fcf1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vibes-coded.com](https://www.zero.xyz/host/vibes-coded.com/llms.txt)
