{"uid":"cap_pLJ9w-fAloQj7gQ1qw-bB","slug":"x402-demo-api-search-02c3985f","name":"x402 Demo API - Search","description":"Paid API demo using x402 protocol on Base mainnet.","url":"https://x402-demo-api-kaya.vercel.app/api/search","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"Search query"}}},"responseSchema":{"type":"object","required":["query","results"],"properties":{"query":{"type":"string","description":"Original query"},"results":{"type":"array","items":{"type":"object","required":["title","url","snippet"],"properties":{"url":{"type":"string","format":"uri"},"title":{"type":"string"},"snippet":{"type":"string"}}}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XMJKNnw-7PdujJkzvJXzd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes a paid web search query via the x402 micropayment protocol on Base mainnet, returning titles, URLs, and snippets for matching results","exampleAgentPrompt":"Search for 'best open source LLMs in 2025' using the x402 demo search API and show me the top results with their titles and URLs.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the original query string and an array of search results, each with a title, URL, and snippet summarizing the matched content.","failureModes":["Payment not included or insufficient USDC balance — API returns 402 Payment Required","Missing required 'query' field in request body — returns 400 Bad Request","Query string is empty or malformed — may return empty results array","x402 facilitator or Base mainnet unavailable — payment processing fails","Vercel deployment downtime — returns 503 or connection error"],"whenToPreferThis":"Choose this endpoint when you need to demonstrate or test the x402 micropayment protocol with a real paid API call on Base mainnet, or when you want to retrieve web search results (titles, URLs, snippets) via a pay-per-use USDC-based model at $0.01 per query. Best suited for x402-aware agents that can handle 402 Payment Required flows automatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:33:25.342Z","isFirstParty":false}