{"uid":"cap_82KmIGCLYwqwTJeGtPId9","slug":"pyfile-x402-web-search-api-12ebe2dc","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:10000/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":["q"],"properties":{"q":{"type":"string"},"limit":{"type":"number"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json","description":"Output payload format."},"example":{"type":"object","required":["query","count","results"],"properties":{"count":{"type":"integer","description":"Number of results returned."},"query":{"type":"string","description":"The search query that was run."},"source":{"type":"string","description":"Upstream search provider."},"results":{"type":"array","items":{"type":"object","required":["title","url"],"properties":{"url":{"type":"string"},"title":{"type":"string"}}},"description":"Ranked results, each with a title and url."}}}}}}},"responseSchema":null,"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_JgMhKCuHmXgIO5cvoCfRd","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 string, billed per call via x402 micropayments.","exampleAgentPrompt":"Search the web for 'x402 agent payments' and give me the top 8 results with their titles and URLs.","exampleUseCases":[{"title":"Research competitor landscape","prompt":"Search the web for 'AI agent payment protocols 2024' and return the top 5 results with titles and links so I can review what's out there."},{"title":"Find documentation for a library","prompt":"Look up 'pyfile x402 API documentation' on the web and give me the top 3 URLs you find."},{"title":"Gather news on a topic","prompt":"Search the web for 'OFAC sanctions news June 2024' and return up to 8 ranked results with titles and URLs."}],"resultDescription":"A JSON object containing the original query string, the count of results returned, the upstream search provider name, and an array of ranked results each with a 'title' (string) and 'url' (string).","failureModes":["Missing or empty query parameter returns an error or empty results","Limit parameter out of range may be ignored or cause a 400 error","Network or upstream search provider outage results in a 5xx error","Payment failure via x402 prevents the call from completing","Query too long or malformed may result in a bad request error"],"whenToPreferThis":"Choose this endpoint when you need lightweight, ranked web search results (title + URL only) delivered programmatically with per-call micropayment billing via x402, especially in autonomous agent workflows where a full browser or heavy scraping stack is unnecessary and cost control per query matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T20:20:11.085Z","isFirstParty":false,"canonicalSlug":"pyfile-x402-web-search-api-12ebe2dc"}