{"uid":"cap_9-Dp6Bqf3G_a_LQdbC4lz","slug":"codepulse-api-web-search-98b94311","name":"CodePulse API - Web Search","description":"Performs web searches using a free DuckDuckGo HTML parser. Returns organic search results.","url":"https://codepulse-api.hahavoid0.workers.dev/web/search","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"Search query keywords"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{"results":[{"url":"https://example.com/ai-article","title":"Example AI Article","snippet":"This is a brief description of the AI article."}]},"warnings":[],"supported":true,"confidence":"high","data_as_of":"2026-06","disclaimer":"Informational support only. Not legal, tax, medical, veterinary, or financial advice. Verify with the cited official source or a qualified professional before acting."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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_2zImLuAzxO9G3hDUjh91s","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a web search and returns ranked results with URLs, titles, and snippets for a given query","exampleAgentPrompt":"Search the web for 'best open-source LLM frameworks 2026' and give me the top results with their titles and URLs.","exampleUseCases":[{"title":"Real-time competitor research lookup","prompt":"Search the web for the latest news and announcements about Anthropic and OpenAI from the past month, and give me the top results with titles, URLs, and a brief snippet for each."},{"title":"Find recent product reviews","prompt":"Look up current reviews and user opinions about the Rabbit R1 device online and return the most relevant pages with their titles and URLs so I can summarize the sentiment."},{"title":"Track breaking news on topic","prompt":"Search the web for the latest developments on the EU AI Act enforcement in 2025 and pull back the top results with titles, URLs, and snippets so I can see what's happening right now."}],"resultDescription":"Returns a JSON object containing a list of search results, each with a URL, title, and snippet; plus a confidence rating (e.g. 'high'), a data_as_of date, any warnings, and a disclaimer. The supported field confirms the query type is handled.","failureModes":["Query not supported — 'supported' field returns false with lower confidence","Empty results list if no relevant pages are found","Ambiguous or very short queries may return low-confidence results","Payment failure if USDC balance is insufficient on Base","Rate or timeout errors from the underlying search provider"],"whenToPreferThis":"Use this endpoint when an AI agent needs real-time web search results without managing API keys, and is willing to pay $0.03 USDC per call via x402 on Base. Ideal for agents that need fresh web data on demand in a pay-per-use model without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:31:56.983Z","isFirstParty":false}