{"uid":"cap_oKGsWwxBxSJSwZadvsSK4","slug":"wikipedia-fact-lookup-api-478ffb3d","name":"Wikipedia Fact Lookup API","description":"Invoice-to-JSON, on-chain tools (transaction explainer + payment check, wallet profile, contract ABI, ERC-20 token risk), company contacts and web-to-RAG for AI agents. Pay per call with x402 (USDC on Base). No signup, no API key.","url":"https://freetier-agent-api.pages.dev/api/wiki-fact?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","description":"entity or topic"},"lang":{"type":"string","description":"Wikipedia language code, default en"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"url":"https://en.wikipedia.org/wiki/Coinbase","facts":{"founder":["Brian Armstrong","Fred Ehrsam"],"inception":"2012-06-20","officialWebsite":"https://www.coinbase.com"},"title":"Coinbase","description":"American cryptocurrency exchange"}},"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_ia-hGr-PTW90it82LyL4n","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":"Returns the best-matching Wikipedia article summary, description, URL, and structured Wikidata facts for a given entity or topic query.","exampleAgentPrompt":"Can you look up Wikipedia facts about Tesla — I want to know when it was founded, who the founders are, the current CEO, the stock ticker, and their official website?","exampleUseCases":[{"title":"Company research for due diligence","prompt":"Pull up the Wikipedia facts for Stripe — I need the founding date, founders, headquarters, industry, and their official website for a background report."},{"title":"City population and coordinates lookup","prompt":"What does Wikipedia say about Tokyo? I need the population and geographic coordinates for a mapping project."},{"title":"Biography fact check for article","prompt":"Look up the Wikipedia entry for Elon Musk and give me his birth date, nationality, and any structured facts available."}],"resultDescription":"A JSON object containing the best-matching Wikipedia article title, a short description, the article URL, and a structured facts object with available Wikidata properties such as founder(s), inception date, official website, headquarters, CEO, industry, employee count, stock ticker, population, and geographic coordinates.","failureModes":["No matching Wikipedia article found for the query — returns empty or error response","Ambiguous query matches unintended article — result may be off-topic","Wikidata facts may be incomplete if the entity has sparse structured data","Non-English language codes may have less structured Wikidata coverage","Rate limiting or payment failure (x402) blocks the request"],"whenToPreferThis":"Use this endpoint when you need structured, encyclopedic facts about a real-world entity — companies, cities, people, or organizations — and want both a human-readable Wikipedia summary and machine-readable Wikidata fields in a single call. Prefer this over raw Wikipedia scraping when you need structured fields like founder, CEO, ticker, or coordinates without parsing. Prefer over general web search when authoritative, structured reference data is needed rather than recent news or opinions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:53:48.201Z","isFirstParty":false,"canonicalSlug":"wikipedia-fact-lookup-api-478ffb3d"}