{"uid":"cap_AxyY9dpDAE3j7gkB1nof1","slug":"switch402-web-search-a9a11559","name":"switch402 Web Search","description":"switch402 web search: a query in, up to 10 ranked results (title, URL, snippet) out. Charged only on success.","url":"https://api.switch402.com/v1/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","maxLength":400,"minLength":1,"description":"Search query (1-400 characters)"},"limit":{"type":"integer","maximum":10,"minimum":1,"description":"Max results (default 10)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RMJKGU7H147t6VMnaw3sk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Takes a search query string and returns up to 10 ranked web results (title, URL, snippet), charged per successful call via x402.","exampleAgentPrompt":"Search the web for 'best open-source LLM frameworks in 2025' and give me the top 5 results with their titles and URLs.","exampleUseCases":[{"title":"Real-time news lookup for agent","prompt":"Search the web for the latest news on the US Federal Reserve interest rate decision this week and summarize the top 5 results."},{"title":"Competitive research on a company","prompt":"Search the web for 'Stripe competitors 2025' and show me the top 10 results with titles and snippets so I can see who's out there."},{"title":"Technical documentation discovery","prompt":"Find me web pages about how to configure Kubernetes horizontal pod autoscaling — search for 'Kubernetes HPA configuration tutorial' and return up to 8 results."}],"resultDescription":"An ordered list of up to 10 web search results, each containing a page title, URL, and a short descriptive snippet. Results are ranked by relevance to the query. The response is only charged on success.","failureModes":["Query string missing or empty — required parameter 'q' not provided","Query exceeds 400 characters — will be rejected by schema validation","Limit parameter out of range (must be 1–10)","No results found for the query — may return an empty results list","Payment failure via x402 protocol — call not executed","Downstream search provider unavailable — service error returned"],"whenToPreferThis":"Choose this endpoint when an agent needs live web search results with ranked titles, URLs, and snippets in a lightweight pay-per-success model. Ideal for agents that need current information beyond their training data, competitive research, or any task requiring fresh web sources. Prefer over scraping endpoints when you need ranked discovery across many pages rather than deep extraction of a known URL.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:34:27.879Z","isFirstParty":false,"canonicalSlug":"switch402-web-search-a9a11559"}