{"uid":"cap_3i7jhNhuadqtFJAMsmuQ7","slug":"aile-web-search-via-ai-model-exchange-a902f779","name":"Aile Web Search via AI Model Exchange","description":"Rent trusted AI models priced per token; lend idle subscriptions and API keys. A live, metered market that settles every call in USDC on Solana.","url":"https://api.aile.sh/v1/search?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["model","query"],"properties":{"model":{"type":"string","description":"`<provider>/<model>`, e.g. `brave/web-search`. GET /v1/models?output_modalities=text lists what is servable, with prices."},"query":{"type":"string"},"country":{"type":"string"},"language":{"type":"string"},"freshness":{"enum":["day","week","month","year"],"type":"string"},"max_results":{"type":"integer","description":"Priced per 10 results: 11-20 is two queries."},"safe_search":{"enum":["off","moderate","strict"],"type":"string"}}},"responseSchema":{"object":"search","results":[{"url":"https://…","title":"…","snippet":"…"}]},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0025","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hFz6FfpWKoMPZ5ZOqZg3w","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a web search using a chosen AI-powered search model (e.g. Brave) routed through Aile's metered AI model marketplace, returning ranked URLs, titles, and snippets.","exampleAgentPrompt":"Search for the latest news on quantum computing breakthroughs using brave/web-search on Aile, limit to results from the past week, up to 10 results, with moderate safe search, in English.","exampleUseCases":[{"title":"Real-time news research for a topic","prompt":"Search for recent articles about the 2024 US election results using brave/web-search on Aile — I want results from the past week, up to 10, in English with moderate safe search."},{"title":"Localized product research by country","prompt":"Find me the top 10 web results for 'best electric scooters 2024' using brave/web-search via Aile, filtered for results from the past month, targeting the UK market in English."},{"title":"Safe search for educational content","prompt":"Search for kid-friendly science experiment ideas using brave/web-search on Aile, with strict safe search enabled, up to 10 results, in English."}],"resultDescription":"Returns a JSON object with an array of search results, each containing a URL, page title, and a short text snippet summarizing the page content. Results are ranked by relevance to the query.","failureModes":["Invalid or unavailable model identifier returns an error — check /v1/models for supported models","Query string missing causes a 400 validation error","max_results exceeding billing tier increments (every 10 results) increases cost unexpectedly","Invalid freshness enum value returns a 422 error","Insufficient USDC balance on Solana causes payment failure and request rejection","Unsupported language or country code may return empty results"],"whenToPreferThis":"Choose this endpoint when you need programmatic web search with per-call USDC micropayment billing and the flexibility to select among multiple AI-powered search models (e.g. Brave). It is ideal for agents that need real-time, filterable web results with built-in freshness, language, and safe-search controls, without managing long-term API subscriptions. Prefer it over raw search APIs when you want the Aile model-exchange routing layer and on-chain Solana settlement.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T04:29:57.511Z","isFirstParty":false,"canonicalSlug":"aile-web-search-via-ai-model-exchange-a902f779"}