AI-powered answers from Brave Search with web grounding, pay-per-query via MPP/Tempo.
What it does
Brave Search AI Answers is an endpoint that accepts chat-style messages and returns AI-generated answers grounded in Brave's independent web search index. It is part of a broader suite of Brave Search endpoints (web, news, image, video, LLM context) exposed through the Locus MPP (Micropayment Protocol) gateway. This specific endpoint (`/brave/answers`) supports an OpenAI-compatible messages array, optional streaming, and two model tiers: "brave" and "brave-pro" (default).
Each call costs 85,000 base units of pathUSD (a 6-decimal stablecoin on Tempo L2), which works out to $0.085 per request. The endpoint uses the MPP "charge" intent, meaning each request is a one-shot payment. The request body requires a `messages` array of `{role, content}` objects; optional parameters include `model`, `stream`, and `max_completion_tokens`. The endpoint is POST-only; HEAD and GET probes return 404, which is expected for a POST-based API.
The broader Brave Search suite available at the same gateway includes web search, news search, image search, video search, and LLM context endpoints, each priced at $0.035 per query. All endpoints settle payments via the Tempo method on pathUSD. Documentation is referenced at the official Brave Search API docs and the Locus MPP skill file.
Capabilities
Use cases
- —Augmenting LLM agents with real-time web-grounded answers
- —Building privacy-respecting AI assistants that cite web sources
- —Answering user questions with up-to-date information from the open web
- —Replacing traditional search + summarization pipelines with a single API call
- —Providing conversational search in chatbot applications
Fit
Best for
- —AI agents needing web-grounded answers without API key management
- —Privacy-conscious applications that avoid ad-tracking search engines
- —Pay-as-you-go search augmentation at $0.085 per query
- —Developers wanting OpenAI-compatible message format with web search backing
Not for
- —High-volume bulk search where per-query costs add up quickly
- —Use cases requiring raw HTML or full-page content extraction
- —Applications that need non-English search with guaranteed coverage
Quick start
curl -X POST https://brave.mpp.paywithlocus.com/brave/answers \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <MPP_TOKEN>" \
-d '{"messages": [{"role": "user", "content": "What is the current population of Tokyo?"}], "model": "brave-pro"}'Example
Request
{
"model": "brave-pro",
"stream": false,
"messages": [
{
"role": "user",
"content": "What is the current population of Tokyo?"
}
],
"max_completion_tokens": 1024
}Endpoint
Quality
The OpenAPI spec is well-structured with clear request schemas, pricing, and multiple endpoints documented. However, no response schema is provided, the probe returned 404 on HEAD/GET (expected for POST-only but no 402 challenge was captured), crawl pages yielded no additional documentation, and no example responses are available.
Warnings
- —No 402 MPP challenge was captured on HEAD/GET probes; the endpoint is POST-only so liveness could not be confirmed via the probe methods used.
- —No response schema is documented in the OpenAPI spec — response structure must be inferred.
- —The currency address 0x20c000000000000000000000b9537d11c60e8b50 is assumed to be pathUSD with 6 decimals based on the Tempo settlement method; if this assumption is wrong, the price calculation would be incorrect.
- —All crawled pages returned 404 JSON errors; no supplementary documentation was retrieved from the gateway itself.
Citations
- —AI Answers endpoint costs 85,000 base units via Tempo/pathUSD per requesthttps://brave.mpp.paywithlocus.com
- —The endpoint accepts messages array, model, stream, and max_completion_tokens parametershttps://brave.mpp.paywithlocus.com
- —Other Brave Search endpoints (web, news, image, video, LLM context) cost 35,000 base units eachhttps://brave.mpp.paywithlocus.com
- —Official API documentation referenced at api.search.brave.comhttps://api.search.brave.com/app/%23/documentation
- —Locus MPP docs available at paywithlocus.comhttps://beta.paywithlocus.com/mpp/brave.md