# ScrapeMole Wiki: Wikipedia Search

> ScrapeMole Wiki: Wikipedia Search is a paid API for AI agents from wiki.scrapemole.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Full-text search across Wikipedia in any language edition, returning article summaries with attribution metadata

## Facts

- Endpoint: GET https://wiki.scrapemole.workers.dev/v1/search?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapemole-wiki-wikipedia-search-bcf039dd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qRCbQ9oKwz60T_5aupi72

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 scrapemole-wiki-wikipedia-search-bcf039dd
```

Example prompt: Search Wikipedia for 'content delivery network' and give me the top 5 results in English, including article titles and snippets.

## When to prefer this

Choose this endpoint when you need attributed, encyclopedic search results from Wikipedia across any language edition with pay-per-call pricing and no account setup. Ideal for agents enriching knowledge bases, fact-checking pipelines, or research tasks that require proper CC BY-SA attribution. Prefer over general web search when you specifically want structured Wikipedia article metadata with license compliance built in.

## Known failure modes

- Query about an individual person is refused and not charged (non-personal data policy)
- No results found for obscure or misspelled queries (empty results array)
- Invalid language code returns an error
- Limit out of range (must be 1-20) returns a validation error
- Payment not verified results in 402 response before work begins
- Network timeout on Cloudflare Worker edge

## How this service works

Pay-per-call encyclopedic knowledge for agents: Wikipedia article summaries and full-text search in any language edition, and structured Wikidata facts (organizations, places, products, concepts) with labels resolved. Every response carries the license and credit (Wikipedia CC BY-SA 4.0, Wikidata CC0). Non-personal data only: articles and entities about individual people are refused and not charged. USDC via x402, no accounts.

Payments: x402 v2, scheme "exact", USDC on Base (eip155:8453). The payment is verified before the work and settled only when the response is 200. Terms: https://wiki.scrapemole.workers.dev/terms

## Output

A JSON object containing the search query, language, result count, total hits across Wikipedia, and an array of matching articles each with title, URL, text snippet, word count, last-edited timestamp, and CC BY-SA 4.0 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": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "examples": [
        "content delivery network"
       ],
       "description": "Search text."
      },
      "lang": {
       "type": "string",
       "default": "en",
       "description": "Wikipedia language code."
      },
      "limit": {
       "type": "string",
       "default": "10",
       "description": "Max results (1-20)."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "lang": "en",
  "count": 1,
  "query": "content delivery network",
  "results": [
   {
    "url": "https://en.wikipedia.org/wiki/Content_delivery_network",
    "title": "Content delivery network",
    "snippet": "A content delivery network (CDN) is a geographically distributed network of proxy servers…",
    "wordCount": 3410,
    "lastEdited": "2026-09-30T10:11:12Z"
   }
  ],
  "totalHits": 1840,
  "attribution": {
   "credit": "Wikipedia contributors",
   "license": "CC BY-SA 4.0"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapemole-wiki-wikipedia-search-bcf039dd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wiki.scrapemole.workers.dev](https://www.zero.xyz/host/wiki.scrapemole.workers.dev/llms.txt)
