{"name":"wikipedia-lookup","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.","price":"$0.005","method":"POST","input_schema":{"properties":{"query":{"type":"string","description":"Search term or page title (e.g. 'Albert Einstein', 'mitochondria'). Resolved via MediaWiki search to the best-matching article."},"language":{"type":"string","description":"Wiki language code (e.g. 'en', 'de', 'ja', 'es'). Default 'en'. Routes to <lang>.wikipedia.org."},"full_text":{"type":"boolean","description":"If true, include a plain-text extract of the full article body (truncated to ~25k chars). Default false (summary only)."}},"required":["query"]},"input_example":{"query":"Albert Einstein","full_text":false},"output_example":{"title":"Albert_Einstein","canonical_url":"https://en.wikipedia.org/wiki/Albert_Einstein","page_id":"736","wikidata_item":"Q937","language":"en","summary":"Albert Einstein was a German-born theoretical physicist best known for developing the theory of relativity...","description":"German-born physicist (1879-1955)","type":"standard","thumbnail_url":"https://upload.wikimedia.org/.../Einstein_1921.jpg","image_url":"https://upload.wikimedia.org/.../Einstein_1921_full.jpg","coordinates":null,"sections":[{"level":1,"title":"Life","anchor":"Life"}],"full_text":null,"full_text_truncated":false},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}