{"uid":"cap_y2XvUlip0HSIgjCIKe8GS","slug":"web-search-api-duckduckgo-powered-x402-pay-per-call-285e624b","name":"Web Search API (DuckDuckGo-powered, x402 pay-per-call)","description":"Crypto market data and web tools for autonomous agents: read web pages, PDFs and YouTube transcripts, check domains and tokens. Every `/api/v1/*` call is paid per call: **$0.003** for simple reads, **$0.005-$0.01** for aggregates, **$0.02-$0.03** for token risk checks and reports (USDC or USDT). Each route's price is in `x-payment-info`.\n\n**x402 agents:** pay automatically. The 402 response carries a standard `PAYMENT-REQUIRED` header (x402 v2, USDC on Base or Solana, USDT on Solana); retry with `PAYMENT-SIGNATURE`.\n\n**Manual (legacy) flow:** call the endpoint, read the HTTP 402 JSON (`pay_to`, `asset`, `price`), send the USDT transfer, then repeat the call with header `X-Payment-Tx: <signature>`. One signature pays for one call; signatures older than the `max_tx_age_seconds` value are rejected.\n\nMachine-readable spec: `/openapi.json`. LLM summary: `/llms.txt`. MCP server: `POST /mcp`.","url":"https://194-28-85-99.sslip.io/api/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","description":"Search query"},"limit":{"type":"integer","maximum":20,"minimum":1},"region":{"type":"string","description":"e.g. us-en, de-de (optional)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"count":1,"query":"x402 payment protocol","engine":"duckduckgo","results":[{"url":"https://www.x402.org/","rank":1,"title":"x402 - payments over HTTP","domain":"x402.org","snippet":"An open protocol for internet-native payments..."}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LQBeSLYK3qN0OGQ-7iX_6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a web search using DuckDuckGo and returns ranked results with titles, URLs, snippets, and domains for a given query.","exampleAgentPrompt":"Search the web for 'x402 payment protocol overview' and give me the top 5 results with their URLs and snippets, using the us-en region.","exampleUseCases":[{"title":"Crypto project background research","prompt":"Search the web for 'Base blockchain DeFi protocols 2024' and give me the top 10 results so I can see which projects are getting attention."},{"title":"Current news lookup for a token","prompt":"Find me recent web articles about the Solana memecoin rug pull risks — search for 'Solana memecoin rug pull 2024' and return the top 5 results with snippets."},{"title":"Developer documentation discovery","prompt":"Search the web for 'x402 HTTP payment protocol developer docs' and return the top 3 results so I can find the official documentation."}],"resultDescription":"Returns a JSON object with the search engine used (DuckDuckGo), the original query string, the total result count, and an array of ranked results each containing: rank, title, URL, domain, and a text snippet summarizing the page content.","failureModes":["Missing required 'q' parameter returns a 400 error","Payment not provided or invalid signature returns HTTP 402 with pay_to, asset, and price fields","Stale payment signature (older than max_tx_age_seconds) is rejected","Region code not recognized may return empty or unexpected results","Query yields no results — returns empty results array with count 0","Rate limiting or upstream DuckDuckGo unavailability may cause 503 errors"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to perform a live web search to find URLs, articles, or information about any topic without maintaining its own search infrastructure. It is especially suited for autonomous agents operating in crypto and Web3 contexts that already use the x402 micropayment protocol, since payment is handled automatically via x402 without manual API key management. At $0.005 per call it is cost-effective for occasional to moderate search volume. Prefer a dedicated search API with higher result counts or advanced filtering if you need more than 20 results per query or complex ranking controls.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T07:28:24.337Z","isFirstParty":false,"canonicalSlug":"web-search-api-duckduckgo-powered-x402-pay-per-call-285e624b"}