{"uid":"cap_VKRf9N87-kzdUVMFBXf4T","slug":"lion-x402-web-search-json-3e6f3d71","name":"LION x402 Web Search JSON","description":"Keyless attested data for autonomous agents. USDC on Base via x402. Official @x402/* middleware.","url":"https://lion-x402-bible.lionmaster-operations.workers.dev/api/x402/web-search-json","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"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"asset_id":"LION","resolved":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.025","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.025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ftln74d-EEGdIXIwOSMft","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.025","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 and returns results as JSON, paid per-call with $0.01 USDC via x402 protocol on Base.","exampleAgentPrompt":"Search the web for the latest news on quantum computing breakthroughs and give me the results as structured JSON.","exampleUseCases":[{"title":"Real-time news retrieval for agents","prompt":"Search the web for the latest headlines about the Federal Reserve interest rate decision today and return the results as JSON so I can process them."},{"title":"Competitive research data fetch","prompt":"Look up current pricing pages and recent announcements for Anthropic, OpenAI, and Google AI and give me the web search results in JSON format."},{"title":"Fact-checking live information","prompt":"Search the web to find out who won the 2024 US presidential election and return a structured JSON result I can verify against."}],"resultDescription":"A JSON object containing web search results, including an asset_id field ('LION') and a resolved boolean indicating success, plus the underlying search result data for the query submitted.","failureModes":["Payment not received or insufficient USDC balance — returns 402 Payment Required","Invalid or missing search query parameter — returns 400 Bad Request","x402 payment channel not properly initialized — payment handshake fails","Search backend unavailable — returns 503 or empty results","Query returns no results — resolved may be false or result set empty"],"whenToPreferThis":"Choose this endpoint when your agent needs web search results in a clean JSON format without managing API keys, and you are already operating within an x402 micropayment-enabled pipeline on Base. It is ideal for autonomous agents that need keyless, pay-per-use access to live web data, especially when integrating with other x402-compatible services. Prefer it over traditional search APIs when low-friction crypto micropayments ($0.01 USDC per call) are preferable to subscription-based or key-gated alternatives.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:40:18.442Z","isFirstParty":false}