{"uid":"cap_Y1VPIs5E08b6T_AUc2pSJ","slug":"brave-search-answers-38ef722f","name":"Brave AI Answers","description":"AI-generated answers backed by real-time web search and verifiable sources. OpenAI-compatible chat format.","url":"https://brave.mpp.paywithlocus.com/brave/answers?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["messages"],"properties":{"model":{"type":"string","description":"\"brave\" or \"brave-pro\" (default)"},"stream":{"type":"boolean","description":"Stream response (default: false)"},"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},"description":"Chat messages array [{role, content}]"},"max_completion_tokens":{"type":"number","description":"Max output tokens"}},"additionalProperties":true},"responseSchema":null,"example":{"request":{"model":"brave","stream":false,"messages":[{"role":"user","content":"What is artificial intelligence?"}],"max_completion_tokens":300},"response":{"data":{"id":"ea6feb35-071f-4130-aaf4-ce749ddfcea6","model":"brave-pro","usage":{"total_tokens":10594,"prompt_tokens":10306,"completion_tokens":288,"completion_tokens_details":{"reasoning_tokens":0}},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"**Artificial Intelligence (AI)** is the capability of computational systems to perform tasks typically associated with human intelligence, such as **learning, reasoning, problem-solving, perception, and decision-making**. It is a field of computer science focused on creating smart machines that can act rationally, using techniques like **machine learning** and **deep learning** to identify patterns in vast amounts of data without being explicitly programmed for every scenario.\n\nAI is generally categorized by its capability and functionality:\n*   **Artificial Narrow Intelligence (ANI):** The only form of AI that currently exists, designed to perform specific tasks like facial recognition or language translation.\n*   **Artificial General Intelligence (AGI):** A theoretical future stage where AI would possess human-like reasoning and adaptability across a broad range of tasks.\n*   **Reactive and Limited Memory:** Current AI systems either react to stimuli based on preprogrammed rules or use short-term memory to improve over time through training.\n\nModern AI relies on **data, algorithms, and computational power** to function, encompassing subfields like **Natural Language Processing (NLP)** for understanding language and **Computer Vision** for interpreting visual information. While early AI research began in the **1950s** with pioneers like **Alan Turing** and **John McCarthy**, recent advancements in **generative AI** have enabled systems to create original content such as text, images, and code."},"finish_reason":"stop"}],"created":1780459324,"system_fingerprint":""},"success":true}},"exampleRequest":{"model":"brave","stream":false,"messages":[{"role":"user","content":"What is artificial intelligence?"}],"max_completion_tokens":300},"tags":["search","web-search","privacy","news","images"],"displayCostAmount":"0.085","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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":"mpp","network":"tempo","amountUsd":"0.085","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.085","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aPhzoEniYfssoKatDXb5t","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.085","costPer":"request","priority":0,"asset":"0x20c000000000000000000000b9537d11c60e8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":"Brave Search","brandSlug":"brave-search","brandBaseUrl":"https://brave.com/search","brandDocsUrl":"https://api.search.brave.com/app/#/documentation","whatItDoes":"Answers conversational questions using Brave Search's AI, grounded in live web search results from Brave's independent index","exampleAgentPrompt":"Use Brave's AI search to answer this for me with the brave-pro model: 'What are the latest developments in fusion energy research?' — keep the answer under 500 tokens.","exampleUseCases":null,"resultDescription":"A chat completion object containing an AI-generated answer grounded in Brave Search results, including the answer text, model used, unique completion ID, and detailed token usage (prompt tokens, completion tokens, total tokens, and reasoning tokens).","failureModes":["Invalid model name returns error — only 'brave' or 'brave-pro' are accepted","Empty or malformed messages array causes request failure","Exceeding max_completion_tokens silently truncates the response","Payment failure or insufficient USDC balance blocks the call","Rate limiting may return 429 if too many requests are sent","Streaming errors if stream:true is set but client doesn't handle SSE properly"],"whenToPreferThis":"Choose this endpoint when you need an AI-generated answer grounded in current, live web data from Brave's independent index — especially when privacy matters, when training-data cutoffs are a concern, or when you need synthesized answers with source grounding rather than raw search result lists. Prefer over generic LLMs when real-time web accuracy is required, and over other search APIs when you want a conversational summarized answer rather than blue-link results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T14:44:00.310Z","isFirstParty":false,"canonicalSlug":"brave-search-answers-38ef722f"}