---
title: "Suggest Brave search queries"
method: GET
path: "/brave/suggest"
tags: ["Brave"]
---

# Suggest Brave search queries

`GET /brave/suggest`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/brave/suggest`
- Auth: API key in header `x-api-key`

Returns Brave autosuggest query completions for a query prefix. Locale defaults to country=us and lang=en-us. Suggestions are fetched from public Brave Search suggest JSON and trimmed to the requested count. `rich=true` adds entity metadata (name, description, category, image) where Brave resolves a suggestion to a known entity.

## Query parameters

- `q` string, required
- `count` integer
- `country` 'all' | 'ar' | 'at' | 'au' | 'be' | 'br' | 'ca' | 'ch' | 'cl' | 'cn' | 'de' | 'dk' | 'es' | 'fi' | 'fr' | 'gb' | 'gr' | 'hk' | 'id' | 'in' | 'it' | 'jp' | 'kr' | 'mx' | 'my' | 'nl' | 'no' | 'nz' | 'ph' | 'pl' | 'pt' | 'ru' | 'sa' | 'se' | 'sg' | 'tr' | 'tw' | 'us' | 'za'
- `lang` 'de-de' | 'en-ca' | 'en-gb' | 'en-in' | 'en-us' | 'fi-fi' | 'fr-ca' | 'fr-fr' | 'ja-jp' | 'pt-br' | 'sq-al' | 'sw-ke' | 'zh-tw'
- `rich` boolean

## Headers

- `x-api-key` string, required

## Response `200`

OK

- BraveSuggestResponseDoc
  - `code` integer
  - `data` BraveSuggestResponse
    - `query` string: Query prefix the suggestions were requested for.
    - `suggestions` BraveSuggestionResult[]: Search suggestions Brave returned, in order.
      - `entity` BraveSuggestionEntity
        - `category` string: Kind of entity, for example `person`.
        - `description` string: Short description of the entity.
        - `image_url` string: URL of the entity's image.
        - `logo` boolean: Whether Brave marks the entity image as a logo.
        - `name` string: Name of the entity.
      - `position` integer: Rank of the suggestion in the list, starting at 1.
      - `query` string: Suggested search query.
  - `msg` string

## Other responses

- `400`: Missing or invalid query
- `429`: Rate limit exceeded
- `500`: Internal server error
- `503`: Brave upstream request failed

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
