{"uid":"cap_BgZqmrKkYlkeBId4ZVjNL","slug":"web-search-via-duckduckgo-scanpay-3553ecfb","name":"Web Search via DuckDuckGo (ScanPay)","description":"Pay-per-call x402 APIs for AI agents: OpenAI-compatible LLM chat, perp funding and arbitrage spreads, crypto prices, gas, FX, Solana SPL mint audit, token price by contract, x402 delivery-receipt verification, web search, clean page extraction, batch tools and deterministic code-security scanning. USDC on Base or Solana, no signup, no API key, from $0.0001 a call.","url":"https://scanpay-edge.alextaghiashvili.workers.dev/api/v1/web-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":["query"],"properties":{"limit":{"type":"integer","default":5,"maximum":10,"description":"Max results (1-10)"},"query":{"type":"string","description":"Search query"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"query":"fastapi python","product":"scanpay.web_search","results":[{"url":"https://fastapi.tiangolo.com/","title":"FastAPI - FastAPI","snippet":"FastAPI is a modern, fast (high-performance), web framework for building APIs with Python."}]}},"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_YxIwE_uWSloeolF0Irlch","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":"Performs a privacy-respecting web search using DuckDuckGo, returning clean titles, URLs, and snippets for up to 10 results.","exampleAgentPrompt":"Search the web for 'best open-source vector databases 2024' and give me the top 5 results with their titles, URLs, and snippets.","exampleUseCases":[{"title":"Research competitor product landscape","prompt":"Search the web for 'top AI coding assistants 2024' and return up to 8 results with titles, URLs, and snippets so I can see who the main players are."},{"title":"Find latest documentation for a library","prompt":"Look up 'LangChain Python quickstart documentation' on the web — give me the top 3 results so I can find the official docs link."},{"title":"Check recent news on a topic","prompt":"Search the web for 'OpenAI GPT-5 release date news' and show me up to 10 results with their titles and summaries."}],"resultDescription":"A JSON object containing the original query, a product identifier, and an array of result objects each with a title, URL, and snippet. Up to 10 results are returned depending on the limit parameter.","failureModes":["Missing required 'query' parameter returns a validation error","Limit value outside 1-10 range is rejected or clamped","DuckDuckGo rate limits or downtime may yield empty results or errors","Payment failure (non-payment of $0.01 USDC) results in HTTP 402 response","Very obscure queries may return zero results with an empty results array"],"whenToPreferThis":"Prefer this endpoint when you need privacy-respecting web search results without tracking, want clean structured output (title, URL, snippet) without HTML parsing, and need a low-cost ($0.01/call) pay-per-use model. It is ideal for AI agents that need to ground responses in current web information without maintaining a search API subscription. Choose it over scraping or browser automation when lightweight text results are sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-03T12:10:55.613Z","isFirstParty":false,"canonicalSlug":"web-search-via-duckduckgo-scanpay-3553ecfb"}