Skip to main content

Overview

Brave Summarizer Search API leverages advanced AI to provide intelligent summaries and answers based on real-time web search results. Our “Answer with AI” feature goes beyond traditional search by understanding your query, gathering relevant information from across the web, and synthesizing it into clear, comprehensive responses with citations.
Access to Summarizer is available through the Pro AI plan. Subscribe to Pro AI to unlock these advanced features.

Key Features

AI-Generated Answers

Get comprehensive, AI-synthesized answers to your questions with citations

Multiple Endpoints

Access summaries through various specialized endpoints for different use cases

Entity Enrichment

Get detailed information about entities mentioned in summaries

Inline Citations

Answers include inline references to source materials

API Reference

Summarizer API Documentation

View the complete API reference, including endpoints, parameters, and example requests

Use Cases

Summarizer Search is perfect for:
  • AI Assistants: Build intelligent chat interfaces with web-grounded answers
  • Research Tools: Quickly synthesize information from multiple sources
  • Question Answering: Provide direct answers to user questions
  • Content Summarization: Generate summaries of web content on any topic
  • Knowledge Applications: Create applications that need factual, cited information

Available Endpoints

The Summarizer API provides multiple specialized endpoints:
Looking for the OpenAI-compatible endpoint? Check out AI Grounding for direct AI answers using the /res/v1/chat/completions endpoint with OpenAI SDK compatibility.

How Summarizer Works

The Traditional Flow (Web Search + Summarizer)

This method gives you full control over the search results and summary generation:

Step 1: Web Search with Summary Flag

First, make a web search request with the summary=1 parameter:

Step 2: Extract the Summarizer Key

If the query is eligible for summarization, the response includes a summarizer object with a key:
Treat the key as an opaque string. The format may change in the future, so always pass it as-is without parsing.

Step 3: Fetch the Summary

Use the key to retrieve the complete summary:
Summarizer requests are not billed - only the initial web search request counts toward your plan limits.

Advanced Features

Inline References

Get inline citations within the summary text:
This adds reference markers throughout the summary text, allowing users to see which sources support each statement.

Entity Information

Retrieve detailed information about entities mentioned in the summary:
The response includes descriptions, images, and metadata about key entities.

Complete Python Example

Here’s a full example demonstrating the traditional flow:

Response Structure

Summarizer responses include:
  • status: Current status (complete or failed)
  • title: A title for the summary
  • summary: The main summary content with text and entities
  • enrichments: Additional data including:
    • Raw text summary
    • Related images
    • Q&A pairs
    • Entity details
    • Source references
  • followups: Suggested follow-up queries
  • entities_info: Detailed entity information (when requested)

Best Practices

Caching

  • Summary results are cached for a limited time
  • After cache expiration, restart the flow with a new web search
  • Implement client-side caching to minimize API calls

Error Handling

  • Check if summarizer.key exists in web search response
  • Handle failed status in summarizer response
  • Implement retry logic for transient failures

Rate Limiting

  • Only web search requests count toward rate limits
  • Summarizer endpoint calls are free
  • Implement rate limiting on your end to avoid throttling

Specialized Endpoints

The API provides additional endpoints for specific use cases:
  • /summarizer/summary: Get just the summary without full search results
  • /summarizer/summary_streaming: Stream the summary in real-time
  • /summarizer/title: Fetch only the summary title
  • /summarizer/enrichments: Get enrichment data separately
  • /summarizer/followups: Retrieve follow-up question suggestions
  • /summarizer/entity_info: Fetch entity information independently
These endpoints all use the same key parameter obtained from the initial web search.

Summarizer Search vs AI Grounding

Brave offers two complementary approaches for AI-powered search:

Summarizer Search

Two-step workflow that first retrieves search results, then generates summaries. Best when you need control over search results or want to use specialized summarizer endpoints.

AI Grounding

Direct AI answers using OpenAI-compatible endpoint. Best for building chat interfaces and applications that need instant, grounded AI responses.
When to use Summarizer Search:
  • Need access to underlying search results
  • Want to use specialized endpoints (title, enrichments, followups, etc.)
  • Building applications with custom search result processing
  • Prefer the traditional web search + summarization flow
When to use AI Grounding:
  • Building conversational AI applications
  • Need OpenAI SDK compatibility
  • Want simple, single-endpoint integration
  • Require research mode for thorough answers
Learn more about AI Grounding.

Changelog

This changelog outlines all significant changes to the Brave Summarizer Search API in chronological order.

2025-06-13

  • Add inline references to summarizer answers via inline_references=true query parameter
  • Available on /res/v1/summarizer/search and /res/v1/summarizer/summary endpoints

2024-04-23

  • Launch “Answer with AI” resource
  • Replaces previous Summarizer API with enhanced capabilities

2023-08-25

  • Initial Brave Summarizer Search API release (now deprecated)