{"uid":"cap_asS4E02U_9u7XOaV_Crv2","slug":"wikipedia-article-lookup-api-3003f9e3","name":"Wikipedia Article Lookup API","description":"Best matching Wikipedia article in any language: title, description, summary, URL, thumbnail, optionally the full plain-text article.","url":"https://api.agent-data.workers.dev/api/v1/wikipedia?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string"},"full":{"type":"boolean"},"lang":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"url":"https://en.wikipedia.org/wiki/Ethereum","title":"Ethereum","summary":"Ethereum is a decentralized blockchain with smart contract functionality...","description":"Blockchain-based computing platform"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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_HyrcygIMMT-qlYGmZQ-Fr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the best-matching Wikipedia article for a query in any language, returning title, description, summary, URL, thumbnail, and optionally the full plain-text article.","exampleAgentPrompt":"Can you look up the Wikipedia article on Ethereum and give me the title, summary, and URL?","exampleUseCases":[{"title":"Crypto project background research","prompt":"Pull the Wikipedia summary for Solana so I can include a brief description in my report — just the title, description, and a one-paragraph summary."},{"title":"Entity context enrichment for news","prompt":"I'm processing a news article that mentions 'Satoshi Nakamoto' — grab the Wikipedia article for that name and give me the summary and URL so I can annotate the story with context."},{"title":"Multilingual Wikipedia lookup","prompt":"Find the Wikipedia article about the Eiffel Tower in French and return the full plain text of the article, not just the summary."}],"resultDescription":"Returns a JSON object with the best-matching Wikipedia article's title, short description, multi-sentence summary, canonical Wikipedia URL, thumbnail image URL, and optionally the full plain-text content of the article.","failureModes":["No matching article found for the query — returns empty or null result","Ambiguous query returns an unexpected article (e.g. disambiguation pages)","Requested language edition has no article for the topic","Full-text flag on a very long article may return large payloads","Network timeout if Wikipedia's API is slow","Incorrect language code parameter returns default-language result or error"],"whenToPreferThis":"Use this endpoint when you need reliable, structured encyclopedic information about a named entity, concept, person, or place — especially when you want a trusted source with a canonical URL and clean plain-text summary rather than web search snippets. It is particularly valuable for enriching agent context with background knowledge, verifying entity descriptions, or seeding an answer with factual grounding. Prefer it over web search when you specifically want Wikipedia's authoritative, structured summary rather than broader web results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-14T18:33:51.262Z","isFirstParty":false,"canonicalSlug":"wikipedia-article-lookup-api-3003f9e3"}