{"uid":"cap_zNHw3M7R0ILkJNjmCwPmg","slug":"payload402-wikipedia-search-cb3fe4f0","name":"payload402 Wikipedia Search","description":"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/search?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":"Search query (max 400 chars)"},"count":{"type":"integer","maximum":10,"minimum":1,"description":"Results 1–10 (default 10)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"note":"Ranked English Wikipedia titles/snippets only (MediaWiki search) — not global web SERP; use GET /wiki/lookup for intro extract","count":2,"query":"x402 agents","source":"wikipedia-search-en","results":[{"url":"https://en.wikipedia.org/wiki/Cloudflare","title":"Cloudflare","snippet":"American technology company…"},{"url":"https://en.wikipedia.org/wiki/Payment_system","title":"Payment system","snippet":"Mechanism for transferring money…"}]}},"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_lZLdYWWyaO6xfwYZkpWxh","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":"Returns ranked English Wikipedia search results (titles, URLs, and snippets) using MediaWiki's search engine, formatted like a standard SERP JSON response.","exampleAgentPrompt":"Search Wikipedia for 'quantum entanglement' and give me the top 5 results — titles, URLs, and snippets — so I can pick the most relevant article.","exampleUseCases":[{"title":"Fact-checking background on a topic","prompt":"Search Wikipedia for 'mRNA vaccines' and return the top 5 articles with titles and snippets so I can verify what the encyclopedia says."},{"title":"Research starting point for an essay","prompt":"Find the top 10 Wikipedia articles about 'the French Revolution' — I need titles, URLs, and brief snippets to decide which ones to read."},{"title":"Disambiguation between similar topics","prompt":"Search Wikipedia for 'Mercury' and show me the top 5 results so I can see if it's returning articles about the planet, the element, or the Roman god."}],"resultDescription":"A JSON object containing the search query, result count, source identifier ('wikipedia-search-en'), and an array of ranked results — each with a Wikipedia article title, full article URL (en.wikipedia.org), and a short text snippet. Also includes a note reminding the caller to use /wiki/lookup for full intro extracts.","failureModes":["Missing required 'q' parameter returns an error","Query exceeding 400 characters may be rejected or truncated","Count parameter outside 1–10 range is invalid","No results found for highly obscure or misspelled queries","MediaWiki search downtime causes upstream failures","Payment of 0.005 USDC not completed results in 402 response"],"whenToPreferThis":"Choose this endpoint when you need a ranked list of Wikipedia articles matching a query — especially when you want SERP-style output (multiple titles, URLs, snippets) rather than a single article's content. Prefer this over /wiki/lookup when you don't know the exact article title and need to discover relevant articles first. It is Wikipedia-only (not the open web), so prefer a general web search API if you need broader coverage.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T12:35:43.185Z","isFirstParty":false,"canonicalSlug":"payload402-wikipedia-search-cb3fe4f0"}