> ## Documentation Index
> Fetch the complete documentation index at: https://lava.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Brave Search

> Privacy-focused web search engine returning structured results across web pages, images, news, and videos without tracking users.

Privacy-focused web search engine returning structured results across web pages, images, news, and videos without tracking users. Best for research workflows where user privacy matters or when you need multiple result types (web, image, news, video) from a single provider. Unlike Serper (Google index) or Exa (semantic), Brave maintains its own independent search index.

4 endpoints available through Lava's AI Gateway. See the [Brave Search API docs](https://api-dashboard.search.brave.com/app/documentation/web-search/query) for full documentation.

<Info>Supports both **managed** (Lava's API keys) and **unmanaged** (bring your own credentials) mode.</Info>

## Endpoints

### Search the web

**GET** `https://api.search.brave.com/res/v1/web/search?q=query` — \$0.005 / request

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.search.brave.com/res/v1/web/search?q=query', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.search.brave.com%2Fres%2Fv1%2Fweb%2Fsearch%3Fq%3Dquery" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Search for images

**GET** `https://api.search.brave.com/res/v1/images/search?q=query` — \$0.005 / request

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.search.brave.com/res/v1/images/search?q=query', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.search.brave.com%2Fres%2Fv1%2Fimages%2Fsearch%3Fq%3Dquery" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Search for news articles

**GET** `https://api.search.brave.com/res/v1/news/search?q=query` — \$0.005 / request

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.search.brave.com/res/v1/news/search?q=query', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.search.brave.com%2Fres%2Fv1%2Fnews%2Fsearch%3Fq%3Dquery" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

### Search for videos

**GET** `https://api.search.brave.com/res/v1/videos/search?q=query` — \$0.005 / request

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.search.brave.com/res/v1/videos/search?q=query', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.search.brave.com%2Fres%2Fv1%2Fvideos%2Fsearch%3Fq%3Dquery" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
