{"uid":"cap_MD1pbuNgnXA-I4_DSnaxa","slug":"wikipedia-lookup-eb29c34a","name":"Wikipedia Lookup","description":"817 pay-per-call APIs for AI agents. Every endpoint is POST /<name> and is payable in USDC over x402 on Base and Solana — no signup, no API key, just pay-per-call. GET https://x402.agentutility.ai/ returns the same catalog as machine-readable JSON.","url":"https://x402.agentutility.ai/wikipedia-lookup?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["query"],"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)."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"page_id":{"type":"string"},"summary":{"type":"string"},"language":{"type":"string"},"sections":{"type":"array","items":{"type":"object","properties":{"level":{"type":"integer"},"title":{"type":"string"},"anchor":{"type":"string"}}}},"full_text":{"type":"null"},"image_url":{"type":"string"},"coordinates":{"type":"null"},"description":{"type":"string"},"canonical_url":{"type":"string"},"thumbnail_url":{"type":"string"},"wikidata_item":{"type":"string"},"full_text_truncated":{"type":"boolean"}}}}}}},"responseSchema":{"type":"json","example":{"type":"standard","title":"Albert_Einstein","page_id":"736","summary":"Albert Einstein was a German-born theoretical physicist best known for developing the theory of relativity...","language":"en","sections":[{"level":1,"title":"Life","anchor":"Life"}],"full_text":null,"image_url":"https://upload.wikimedia.org/.../Einstein_1921_full.jpg","coordinates":null,"description":"German-born physicist (1879-1955)","canonical_url":"https://en.wikipedia.org/wiki/Albert_Einstein","thumbnail_url":"https://upload.wikimedia.org/.../Einstein_1921.jpg","wikidata_item":"Q937","full_text_truncated":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_W5ayy71i8FncfYR0UIKln","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches structured Wikipedia article data — summary, sections, metadata, and optionally the full article text — for any search query or page title.","exampleAgentPrompt":"Can you look up the Wikipedia article on 'mitochondria' in English and give me the summary plus the section headings?","exampleUseCases":[{"title":"Entity enrichment for research pipeline","prompt":"Pull the Wikipedia summary and Wikidata ID for 'Marie Curie' — I need the description, canonical URL, and main image to enrich my knowledge graph."},{"title":"Multilingual article retrieval","prompt":"Fetch the Wikipedia article on 'photosynthesis' in Spanish — give me the summary and list of sections."},{"title":"Full article text extraction","prompt":"Get me the full text of the Wikipedia article for 'World War II' in English — I need the complete body, not just the summary."}],"resultDescription":"Returns a structured JSON object containing the article title, page ID, language, short description, summary paragraph, list of sections with headings and anchors, main image URL, thumbnail URL, canonical Wikipedia URL, Wikidata item ID, coordinates (if applicable), and optionally the full plain-text article body (truncated to ~25k characters with a truncation flag).","failureModes":["No matching article found for the query — returns an error or empty result","Ambiguous search term resolves to wrong article — caller should refine the query","Language code not supported — defaults or errors depending on MediaWiki availability","Full text requested for a very short stub article — returns minimal content","Rate limit or upstream Wikipedia API unavailability — transient 5xx error"],"whenToPreferThis":"Use this endpoint when you need structured, reliable encyclopedic information about a named entity, concept, place, or person — especially when you need metadata like Wikidata IDs, section structure, or images alongside the text. Prefer it over general web search when you specifically want Wikipedia-sourced content in a machine-readable format, or when enriching entity records with canonical descriptions and identifiers. The multilingual support makes it ideal when non-English content is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T06:39:22.905Z","isFirstParty":false,"canonicalSlug":"wikipedia-lookup-eb29c34a"}