# SiteCheck Wikipedia Lookup

> SiteCheck Wikipedia Lookup is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-28).

Fetches a Wikipedia article summary, structured Wikidata facts, and thumbnail for a given topic or page title

## Facts

- Endpoint: GET https://api.sitecheck-api.workers.dev/api/wiki?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-wikipedia-lookup-6df3934f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-q9mF5mMbzw2WNkTkgp3F

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 sitecheck-wikipedia-lookup-6df3934f
```

Example prompt: Can you look up the Wikipedia article for 'OpenAI' and give me a summary along with its founding date, headquarters, and website?

## When to prefer this

Use this endpoint when you need a quick, structured summary of a well-known entity (company, person, place, event) backed by Wikipedia and Wikidata. It is ideal for enriching agent context with factual background, founding dates, headquarters, and official URLs without scraping HTML. Prefer it over raw web search when a reliable, encyclopedic, citation-ready answer is sufficient.

## Known failure modes

- Article not found: 'found' field returns false with no summary or facts
- Ambiguous search query returns wrong article
- Wikidata facts partially null if entity lacks structured data
- Unsupported or invalid language code returns error or falls back to English
- Rate limit or upstream Wikipedia API outage returns error

## How this service works

A Wikipedia page summary by title or search words, in any language: title, short description, summary, page URL, thumbnail and Wikidata ID. For organisations, people and places, Wikidata facts: official website, inception, country, headquarters, date of birth and coordinates. Text is CC BY-SA 4.0 with attribution. Not found returns search suggestions.

## Output

Returns a JSON object with the article title, a prose summary, a thumbnail image URL, the Wikipedia article URL, the Wikidata entity ID, license and attribution info, and structured Wikidata facts including country, headquarters, inception date, official website, and coordinates where available.

## 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",
       "description": "A page title, or search words"
      },
      "lang": {
       "type": "string",
       "description": "Wikipedia language code, default en"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://en.wikipedia.org/wiki/Cloudflare",
  "lang": "en",
  "facts": {
   "country": {
    "id": "Q30",
    "label": "United States"
   },
   "website": "https://www.cloudflare.com/",
   "inception": "2009-11",
   "coordinates": null,
   "dateOfBirth": null,
   "headquarters": {
    "id": "Q62",
    "label": "San Francisco"
   }
  },
  "found": true,
  "title": "Cloudflare",
  "source": "Wikipedia REST API (https://www.mediawiki.org/wiki/API:REST_API) and Wikidata (https://www.wikidata.org, CC0 facts)",
  "license": "CC BY-SA 4.0, Wikipedia contributors",
  "summary": "Cloudflare, Inc., is an American technology company headquartered in San Francisco, California...",
  "checkedAt": "2026-10-13T18:40:00.000Z",
  "thumbnail": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/d4/Cloudflare_office_entrance_area.jpg/330px-Cloudflare_office_entrance_area.jpg",
  "wikidataId": "Q4778915",
  "attribution": "CC BY-SA 4.0, Wikipedia contributors: https://en.wikipedia.org/wiki/Cloudflare",
  "description": "American technology company"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-wikipedia-lookup-6df3934f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.sitecheck-api.workers.dev](https://www.zero.xyz/host/api.sitecheck-api.workers.dev/llms.txt)
