{"uid":"cap_M-ZP_-BR-5Xtfvd8VDvpS","slug":"wikipedia-search-fact-grounding-via-wikimedia-api-4885470e","name":"Wikipedia Search — Fact-Grounding via Wikimedia API","description":"Keyless fact-grounding: search Wikipedia for any topic and get the matching article titles with extract snippets and canonical URLs — the cheap knowledge read agents make to ground answers and reduce hallucination. Free upstream (Wikimedia API).","url":"https://store.agentexchange.work/web/wikipedia","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","description":"Topic / search query"},"limit":{"type":"number","description":"Results, 1-10 (default 3)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"count":{"type":"number"},"query":{"type":"string"},"results":{"type":"array"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_27E2IVWj9Baued14hHHVZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search Wikipedia by topic and retrieve matching article titles, extract snippets, and canonical URLs for fact-grounding and hallucination reduction.","exampleAgentPrompt":"Search Wikipedia for 'Marie Curie' and give me the top 3 matching article titles, extract snippets, and their canonical URLs so I can ground my answer.","exampleUseCases":[{"title":"Fact-check historical claims during research","prompt":"Before I finalize this essay on the Industrial Revolution, search Wikipedia for 'Industrial Revolution' and pull back a couple of article snippets with URLs so I can verify my key facts are accurate."},{"title":"Retrieve background context for interview prep","prompt":"I'm about to interview someone about climate change policy. Search Wikipedia for 'climate change mitigation' and give me the top 3 results with snippets so I have reliable context to draw from."},{"title":"Reduce hallucination in product recommendations","prompt":"A customer just asked me about the history of cryptocurrency. Search Wikipedia for 'cryptocurrency history' and get me the canonical articles with extracts so I can ground my explanation in real sources instead of making things up."}],"resultDescription":"Returns a JSON object containing the original query, the count of results, and an array of matched Wikipedia articles — each with a title, a plain-text extract snippet, and a canonical Wikipedia URL. Default is up to 3 results; configurable to 1–10.","failureModes":["Empty results array when query matches no Wikipedia articles","Rate limiting or upstream Wikimedia API downtime returning a 5xx error","Malformed or missing 'q' parameter returning a 400 validation error","Very obscure topics returning low-quality or tangentially related articles","Payment failure (402) if x402 micropayment is not properly handled"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to quickly ground a factual claim, retrieve encyclopedic background on a topic, or reduce hallucination risk with a cheap read against Wikipedia. It is ideal for zero-setup knowledge lookups since it proxies the free Wikimedia API and returns structured snippets with URLs ready for citation. Prefer it over general web search when the information sought is encyclopedic in nature and a Wikipedia article is the authoritative source.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:39:52.590Z","isFirstParty":false}