{"uid":"cap_qPaZdqRdShxG77dAg9Fre","slug":"pyfile-x402-web-search-api-b85560df","name":"Pyfile x402 Web Search API","description":"Web search: ranked results (title + url) for a query. ?q=x402+agent+payments&limit=8","url":"https://pyfile-agent.taile3ff35.ts.net/web/search?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"count":2,"query":"x402 agent payments","source":"duckduckgo.com/html","results":[{"url":"https://x402.org","title":"x402: Internet-native payments"},{"url":"https://example.com/agent-payments","title":"Agent payments guide"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_z9_XumKStqoVCejdiNUpa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns ranked web search results (title + URL) for a given query, powered by DuckDuckGo, via pay-per-call x402 micropayment.","exampleAgentPrompt":"Search the web for 'x402 agent payments protocol' and give me the top 8 results with their titles and URLs.","exampleUseCases":[{"title":"Research current AI agent payment protocols","prompt":"Search the web for 'AI agent micropayment protocols 2024' and show me the top 5 results so I can read up on the latest developments."},{"title":"Find documentation for a developer library","prompt":"Can you search for 'x402 Python SDK documentation' and return the top links so I know where to find the official docs?"},{"title":"Fact-check a recent news claim","prompt":"Search the web for 'OpenAI GPT-5 release date' and pull back the top 6 results so I can see what's actually been reported."}],"resultDescription":"A JSON object containing the original query string, the source (duckduckgo.com/html), a count of results returned, and an array of result objects each with a 'title' and 'url' field, ranked by relevance.","failureModes":["Empty results array if query matches no indexed pages","Rate limiting or payment failure if x402 micropayment is not processed","Malformed or missing 'q' parameter returns an error or empty response","DuckDuckGo backend unavailability causes 5xx or timeout","Result count less than requested 'limit' if fewer results exist"],"whenToPreferThis":"Choose this endpoint when an AI agent needs live, ranked web search results without a large API contract or subscription — especially in x402-enabled micropayment environments. It is ideal for agents that need occasional or low-volume web lookups priced at $0.003 per call, and where DuckDuckGo's privacy-respecting index is acceptable. Prefer it over heavyweight search APIs (Google Custom Search, Bing) when cost-per-call simplicity and x402 compatibility matter more than volume discounts or advanced filtering.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T18:31:06.971Z","isFirstParty":false,"canonicalSlug":"pyfile-x402-web-search-api-b85560df"}