{"uid":"cap_mzu21pegJxnal5niBayKx","slug":"x402-deployer-x402-deployer-workers-dev-bfba80c6","name":"Wikipedia Article Lookup","description":"Wikipedia API / encyclopedia lookup. Title, summary, image, sections, Wikidata id, optional 25k-char extract. 300+ languages.","url":"https://x402-deployer.x402-deployer.workers.dev/wikipedia","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 article title (e.g. 'Albert Einstein', 'mitochondria'). Resolved via MediaWiki search to the best-matching page."},"language":{"type":"string","description":"Wiki language code (e.g. 'en', 'de', 'ja', 'es'). Default 'en'."},"full_text":{"type":"boolean","description":"If true, include a plain-text extract of the full article body (truncated to ~25k chars). Default false."}}},"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"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BXQPyTXWEcH9SilTsrnyl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches Wikipedia article data including title, summary, image, sections, Wikidata ID, and optional full extract for a given topic, in 300+ languages.","exampleAgentPrompt":"Can you pull up the Wikipedia article on the French Revolution — give me the summary, main sections, the Wikidata ID, and include the full extract (up to 25,000 characters)?","exampleUseCases":null,"resultDescription":"Returns the article title, a plain-text summary, a featured image URL, a list of sections, the Wikidata entity ID, and optionally up to 25,000 characters of the full article extract. Supports 300+ language editions.","failureModes":["Article not found for the given title — returns 404 or empty result","Disambiguation page returned when title matches multiple articles","Language code unsupported or article not available in requested language","Network timeout or upstream Wikipedia API unavailability","Malformed request body missing required title field"],"whenToPreferThis":"Use this endpoint when an agent needs structured, encyclopedic reference information about a topic — including a summary, sections, image, and Wikidata linkage — especially when multilingual support or a long-form extract is needed. Prefer over web scraping or general search when clean, structured Wikipedia data is the goal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:33:49.394Z","isFirstParty":false}