{"uid":"cap_H2YE0pZxAH1jY4el-Z6Fp","slug":"brave-search-via-locus-x402-ai-answers-52e96891","name":"Brave Search via Locus x402 (AI Answers)","description":"Independent web search — web, news, images, videos, AI answers, and LLM context. Privacy-first search from a large independent index.","url":"https://brave.x402.paywithlocus.com/brave/answers","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string"},"stream":{"type":"boolean"},"messages":{"type":"array","items":{"type":"object","required":["role"],"properties":{"name":{"type":"string"},"role":{"type":"string"},"content":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"object","required":["type"],"properties":{"text":{"type":"string"},"type":{"type":"string"},"image_url":{"type":"object","required":["url"],"properties":{"url":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}},{"type":"null"}]},"tool_calls":{"type":"array","items":{"type":"object","additionalProperties":true}},"tool_call_id":{"type":"string"}},"additionalProperties":true}},"max_completion_tokens":{"type":"number"}}},"responseSchema":{"type":"json","example":{"data":{},"payment":{"scheme":"exact","settledUsdc":"0.001000","authorizedMaxUsdc":"0.001000"},"request":{"id":"00000000-0000-4000-8000-000000000000","statusUrl":"/requests/00000000-0000-4000-8000-000000000000"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.085","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.085/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.085","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.085","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uDzU6tLLrkUoyUtV2-5YW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.085","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Submits a chat-style query to Brave's independent web index and returns an AI-synthesized answer with grounded web, news, and LLM context, billed per call via x402/USDC.","exampleAgentPrompt":"Search the web using Brave's independent index and give me an AI-synthesized answer to this question: what are the latest developments in fusion energy as of this week? Use the brave-pro model and limit the response to 500 tokens.","exampleUseCases":[{"title":"Real-time news briefing for a topic","prompt":"Search Brave's web index for the latest news on the US Federal Reserve interest rate decisions this week and give me a concise AI-generated summary of what's happening."},{"title":"Fact-check against live web data","prompt":"I need you to look up on Brave Search whether the claim 'SpaceX Starship completed its first orbital flight in 2024' is accurate — use brave-pro and summarize what the web currently says."},{"title":"Product research from open web","prompt":"Search the web with Brave and give me an AI answer comparing the top three noise-cancelling headphones available right now, focusing on price and battery life — use brave-pro and cap the response at 800 tokens."}],"resultDescription":"A JSON object containing a 'data' field with the AI-generated answer and supporting search context (web snippets, news, LLM context), a 'payment' object confirming settled USDC amount, a 'request' object with a unique ID and status URL for async tracking, and a 'success' boolean. The answer reflects Brave's large independent web index and is not proxied through Google or Bing.","failureModes":["Insufficient USDC payment or failed x402 payment handshake — request rejected before processing","Invalid model value (not 'brave' or 'brave-pro') — likely returns a validation error","Malformed messages array (missing role/content fields) — may return empty or error response","Query topic outside indexable web content (e.g. private documents) — returns no useful results","Rate limiting or upstream Brave API unavailability — returns error or timeout","max_completion_tokens set too low — answer may be truncated mid-sentence"],"whenToPreferThis":"Choose this endpoint when you need AI-synthesized answers grounded in live, up-to-date web content from a large independent index (not Google/Bing), and you want privacy-first search without tracking. Ideal for agents that need current information beyond their training cutoff, or for applications where independence from major search duopolies matters. The x402/USDC pay-per-call model is well-suited for agent workflows that need metered, on-demand search without API key subscriptions. Prefer brave-pro for higher quality results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:31:35.657Z","isFirstParty":false}