Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man wikipedia-lookup

/wikipedia-lookup(1)

agentutility / web-probe / wikipedia-lookup
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
webprobe
CATEGORY
ai
STATUS
live
NAME
wikipedia-lookup wikipedia api / encyclopedia lookup / structured article fetch
SYNOPSIS
POST https://x402.org/v1/wikipedia-lookup
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Wikipedia API / encyclopedia lookup / structured article fetch. Title, summary, image, sections, Wikidata id, optional 25k-char extract. 300+ languages.

INPUTrequest schema
propertytypedescriptionreq?
querystringSearch term or page title (e.g. 'Albert Einstein', 'mitochondria'). Resolved via MediaWiki search to the best-matching article.required
languagestringWiki language code (e.g. 'en', 'de', 'ja', 'es'). Default 'en'. Routes to <lang>.wikipedia.org.optional
full_textbooleanIf true, include a plain-text extract of the full article body (truncated to ~25k chars). Default false (summary only).optional
OUTPUTresponse shape
fieldtypedescription
titlestringArticle title as it appears on Wikipedia (e.g., "Albert Einstein").
canonical_urlstringPermanent Wikipedia URL for the article in the requested language.
page_idstringWikipedia's internal numeric page identifier as a string.
wikidata_itemstringLinked Wikidata entity ID (e.g., "Q937") for cross-language and structured-data lookups.
languagestringISO language code of the returned article (e.g., "en", "de", "ja").
summarystringShort plain-text lead summary from the article's intro paragraph.
descriptionstringOne-line subtitle describing the article subject (e.g., "German-born physicist").
typestringArticle type from Wikipedia (standard, disambiguation, redirect, no-extract).
thumbnail_urlstringURL of the small thumbnail image associated with the article, if any.
image_urlstringURL of the full-resolution lead image for the article, if any.
coordinatesobjectGeographic coordinates (lat/lon) for articles about places, when present.
sectionsarrayList of article section headings with their nesting levels and anchors.
full_textstringPlain-text article body, up to 25,000 characters when the extract option is requested.
full_text_truncatedbooleanTrue if the article body was cut off at the 25k-character limit.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.org/v1/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 once
claude mcp add x402 --command "npx x402-deployer-mcp"

# then ask Claude Code:
# "use the wikipedia-lookup tool to ..."
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
ADJACENTother endpoints in webprobe
endpointdescriptionprice
disposable-email-checkDisposable email detector / fake email filter / fraud signup defense.$0.005
domain-availabilityDomain availability / RDAP lookup / WHOIS replacement / domain registration checker / expiry date lookup.$0.005
github-stars-historyGitHub stars history / star growth chart / repo popularity over time / trending tracker.$0.005
link-extractLink extractor / extract links from URL / list all anchor links / page outlink crawler / scrape outbound links / get hrefs from page.$0.005
mcp-tools-listMCP tools-list / Model Context Protocol discovery / list MCP server tools / tools/list JSON-RPC / agent capability discovery / MCP catalo…$0.005
sitemap-fetchSitemap fetcher / sitemap.xml parser / sitemap index resolver / SEO sitemap reader / robots.txt sitemap discovery / website URL inventory.$0.005
wikipediaWikipedia API / encyclopedia lookup.$0.005
homoglyph-checkHomoglyph attack detector / Unicode lookalike scanner.$0.003
SEE ALSO
agentutility(7) · webprobe(7) · x402(7) · mcp(7) · llms.txt · registry.json · bazaar.x402.org