{"uid":"cap_dOQ9omg3bUTu4lMopoPK8","slug":"wikipedia-intro-lookup-by-query-or-title-1d1306d0","name":"Wikipedia Intro Lookup by Query or Title","description":"npm package license triage for coding agents: call before npm install or adding a dependency mid-task. Returns declared license, SPDX normalization, and permissive-default compatible yes/no/unknown from the public npm registry. Triage only — not compliance-grade SBOM or legal advice. Workflow: call GET /license/check (or MCP check_npm_license) before npm install; if compatible=no, pick another package or escalate to human; if unknown, treat as risk. Example: left-pad@1.0.0 before install. Also: Convert amounts between ISO 4217 currencies using ECB daily reference rates (Frankfurter). Use for invoices, travel budgets, expense reports, and shopping comparisons when you need a verifiable rate instead of LLM arithmetic. Not live tradable FX — rates follow ECB business-day publication. Also: Resolve a place name or lat/lon to IANA timezone and coordinates (Open-Meteo). Use for agent scheduling, travel logistics, and local-time questions without LLM guessing. Not IP geolocation. Also: Translate short text between languages (Azure Translator). Use when an agent needs a verifiable string in another language for UI copy, messages, or research snippets — not legal, medical, or certified translation. Also: English Wikipedia fact lookup: search by query or exact title, returns intro extract as plain text. For agents that need a grounded summary before deeper web search. Not a substitute for primary sources. Also: Ranked search results (English Wikipedia): titles, article URLs, and snippets from MediaWiki search. Same SERP-shaped JSON as web search APIs; index is Wikipedia only — not the open web. Pair with GET /wiki/lookup for intro text.","url":"https://payload402.edgebytenet.workers.dev/wiki/lookup?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","properties":{"q":{"type":"string","description":"Search phrase (top article)"},"title":{"type":"string","description":"Exact Wikipedia page title"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"url":"https://en.wikipedia.org/wiki/Cloudflare","note":"English Wikipedia intro extract via MediaWiki API; verify critical facts independently","title":"Cloudflare","pageid":4018492,"source":"wikipedia-en","extract":"Cloudflare, Inc. is an American technology company…"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oHNy_EeuKYhAiumLsXy2M","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the English Wikipedia introductory extract for an article, searchable by free-text query or exact page title, returning plain-text summary.","exampleAgentPrompt":"Look up the Wikipedia intro for 'Cloudflare' — just give me the plain-text introductory summary from their English Wikipedia page.","exampleUseCases":[{"title":"Grounding agent on a company","prompt":"Before we dive into analysis, pull the Wikipedia introduction for 'OpenAI' so I have a reliable background summary to work from."},{"title":"Quick fact check on a historical event","prompt":"What does Wikipedia say in its intro about the Battle of Thermopylae? Just the opening summary, plain text."},{"title":"Entity overview for a research brief","prompt":"Search Wikipedia for 'CRISPR gene editing' and give me the introductory extract so I can include a grounded definition in my report."}],"resultDescription":"A JSON object containing the article title, page ID, plain-text introductory extract, the Wikipedia article URL, and a source label ('wikipedia-en'), plus a note to verify critical facts independently.","failureModes":["No matching Wikipedia article found for the given query or title — returns an error or empty result","Ambiguous query matches a disambiguation page rather than a concrete article","Wikipedia article exists but has no extractable intro text","Both 'q' and 'title' omitted — missing required query parameter","Rate limiting or upstream MediaWiki API unavailability"],"whenToPreferThis":"Use this endpoint when an agent needs a quick, plain-text factual grounding summary from English Wikipedia before performing deeper web research — especially when a single article intro is sufficient and you want a structured response with URL and page ID. Prefer over a full web search when you want a reliable, encyclopedic baseline for a well-known entity, concept, or event. Less suitable for obscure topics unlikely to have Wikipedia coverage, or when the most recent information is critical.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:39:22.907Z","isFirstParty":false,"canonicalSlug":"wikipedia-intro-lookup-by-query-or-title-1d1306d0"}