$ man wikipedia
/wikipedia
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobeCATEGORY
ai
STATUS
● live
NAME
wikipedia — fetches wikipedia articles with disambiguation-aware search across 300+ language editions
SYNOPSIS
POST https://x402.agentutility.ai/wikipedia
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Fetches Wikipedia articles with disambiguation-aware search across 300+ language editions. Short alias of wikipedia-lookup; resolves a query (title or near-title) to the canonical article and returns title, canonical URL, page id, Wikidata Q-id, language, plain-text intro summary, short description, page type, thumbnail + lead-image URLs, geo coordinates, full table-of-contents, and an optional ~25k-char body extract. Use it as an encyclopedia lookup, wiki article fetch, Wikidata-linked entity resolver, multi-language wiki source, RAG context source, or fact-grounding fetch.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| query | string | Search term or article title (e.g. 'Albert Einstein', 'mitochondria'). Resolved via MediaWiki search to the best-matching page. | required |
| language | string | Wiki language code (e.g. 'en', 'de', 'ja', 'es'). Default 'en'. | optional |
| full_text | boolean | If true, include a plain-text extract of the full article body (truncated to ~25k chars). Default false. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| title | string | Article title as it appears on Wikipedia. |
| canonical_url | string | Canonical Wikipedia URL for the article page. |
| page_id | string | Numeric MediaWiki page identifier as a string. |
| wikidata_item | string | Wikidata Q-identifier linked to the article (e.g. Q42). |
| language | string | Wiki language code the article was fetched from (e.g. en, de, ja). |
| summary | string | Short plain-text lead extract summarizing the article. |
| description | string | Short Wikidata-style descriptor (e.g. "American physicist"). |
| type | string | Page type reported by Wikipedia (standard, disambiguation, redirect, etc.). |
| thumbnail_url | string | URL of the small thumbnail image for the article, if one exists. |
| image_url | string | URL of the full-resolution lead image for the article, if one exists. |
| coordinates | object | Geographic coordinates for the subject with lat and lon fields, if applicable. |
| sections | array | Ordered list of article section headings with anchors and nesting level. |
| full_text | string | Plain-text article body, capped at 25k characters when the extract flag is set. |
| full_text_truncated | boolean | True when full_text was cut off at the 25k-character limit. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/wikipedia \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the wikipedia tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- wikipediaknowledgelookupencyclopedia
- methods
- POST
- cluster
- webprobe
- price
- $0.005 USDC per call
ADJACENT — other endpoints in webprobe
| endpoint | description | price |
|---|---|---|
| arxiv-bibtex | Turns an arXiv paper into a BibTeX entry: pulls title, authors, year, abstract, and DOI from the arXiv API and generates a properly-forma… | $0.005 |
| brand-name-score | Scores a candidate brand or startup name on quality and risk. | $0.005 |
| company-name-score | Scores the quality of a company name before you commit to domain, handle, trademark, and launch work. | $0.005 |
| crypto-headlines | Searches recent bitcoin, ethereum, and DeFi headlines via GDELT with a GNews fallback when configured, returning headline URLs, domains,… | $0.005 |
| crypto-news | Fetches recent cryptocurrency news headlines from GDELT with a GNews fallback when configured, filtered by crypto topic or caller query,… | $0.005 |
| disposable-email-check | Detects disposable and throwaway email addresses before they get through your signup form. | $0.005 |
| domain-availability | Checks whether a domain is registered and returns registrar, registration date, expiry date, days_until_expiry, and current EPP status flags. | $0.005 |
| Validates an email address end to end: syntax, MX reachability, disposable/temp-mail domains, role accounts, and SPF/DMARC/DKIM posture. | $0.005 |
SEE ALSO