{"uid":"cap_QlalxwbYdjHfCOztTvgD0","slug":"brave-search-llm-context-via-locus-x402-4d262602","name":"Brave Search LLM Context via Locus x402","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/llm-context","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"q":{"type":"string"},"freshness":{"type":"string"},"maximum_number_of_urls":{"type":"number"},"maximum_number_of_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.035","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.035/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5zamhMUK5GO98Ec6R8ofj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches privacy-first web search results optimized for LLM consumption, returning summarized context from Brave's independent index with freshness and token controls.","exampleAgentPrompt":"Search the web for the latest news on OpenAI's GPT-5 release using Brave Search, limiting results to the past week and keeping the context under 4096 tokens.","exampleUseCases":[{"title":"Real-time news briefing for agent","prompt":"Search the web for breaking news about the US Federal Reserve interest rate decision from the past day and give me a concise summary — keep it under 2048 tokens."},{"title":"Research background on a company","prompt":"Pull recent web information about Anthropic's latest funding round from the past month using Brave Search, up to 10 URLs worth of context."},{"title":"Fact-check a recent claim","prompt":"Search Brave for recent articles about whether the EU passed a new AI regulation this year, and return the top results with enough context for me to verify the claim."}],"resultDescription":"A JSON object containing LLM-optimized web search context aggregated from up to 50 URLs, capped at a configurable token limit (default 8192), along with payment settlement details (USDC amount) and a request ID for status tracking.","failureModes":["Empty or vague query returns low-quality or no results","Freshness filter set incorrectly returns stale or out-of-range content","Token limit too low truncates important context","Payment failure if insufficient USDC balance is available","Rate limiting or timeout if query is too broad","maximum_number_of_urls exceeding 50 causes validation error"],"whenToPreferThis":"Choose this endpoint when you need web search results formatted specifically for LLM consumption, with token budget control and freshness filtering. Prefer it over generic search APIs when privacy matters (Brave's independent index avoids Google/Bing tracking), when you need to cap context size for prompt engineering, or when paying per-call via x402/USDC is acceptable. It is particularly well-suited for agents that need grounded, current web knowledge without building their own scraping pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:34:03.964Z","isFirstParty":false}