$ man wikipedia-lookup
/wikipedia-lookup
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobeCATEGORY
ai
STATUS
● live
NAME
wikipedia-lookup — fetches the canonical wikipedia article for a query (page title or near-title) and returns title, canonical url, page id, wikidata q-id,…
SYNOPSIS
POST https://x402.agentutility.ai/wikipedia-lookup
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Fetches the canonical Wikipedia article for a query (page title or near-title) and returns title, canonical URL, page id, Wikidata Q-id, language, plain-text intro summary, short description, page type, thumbnail and lead-image URLs, geo coordinates, full table-of-contents (sections with level and anchor), and an optional ~25k-char extract of the article body. Covers 300+ language editions. Use it as an encyclopedia lookup, structured wiki extract, Wikidata-linked entity resolver, disambiguation-aware search, multi-language wiki API, or RAG context source.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| query | string | Search term or page title (e.g. 'Albert Einstein', 'mitochondria'). Resolved via MediaWiki search to the best-matching article. | required |
| language | string | Wiki language code (e.g. 'en', 'de', 'ja', 'es'). Default 'en'. Routes to <lang>.wikipedia.org. | optional |
| full_text | boolean | If true, include a plain-text extract of the full article body (truncated to ~25k chars). Default false (summary only). | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| title | string | Article title as it appears on Wikipedia (e.g., "Albert Einstein"). |
| canonical_url | string | Permanent Wikipedia URL for the article in the requested language. |
| page_id | string | Wikipedia's internal numeric page identifier as a string. |
| wikidata_item | string | Linked Wikidata entity ID (e.g., "Q937") for cross-language and structured-data lookups. |
| language | string | ISO language code of the returned article (e.g., "en", "de", "ja"). |
| summary | string | Short plain-text lead summary from the article's intro paragraph. |
| description | string | One-line subtitle describing the article subject (e.g., "German-born physicist"). |
| type | string | Article type from Wikipedia (standard, disambiguation, redirect, no-extract). |
| thumbnail_url | string | URL of the small thumbnail image associated with the article, if any. |
| image_url | string | URL of the full-resolution lead image for the article, if any. |
| coordinates | object | Geographic coordinates (lat/lon) for articles about places, when present. |
| sections | array | List of article section headings with their nesting levels and anchors. |
| full_text | string | Plain-text article body, up to 25,000 characters when the extract option is requested. |
| full_text_truncated | boolean | True if the article body was cut off at the 25k-character limit. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/wikipedia-lookup \
-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-lookup 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