Suggest API
Query Parameters
# Suggest Search API
This table lists the query parameters supported by the Suggest Search API. Some are required, but most are optional.
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
q | true | string | The user’s suggest search query term. Query can not be empty. The max query length is 400 characters, and the word limit is 50. | |
country | false | string | US | The suggest search query country, where potentially the results could come from. The country string is limited to 2 character country codes of supported countries. This is a just a hint for calculating suggest responses. For a list of supported supported values, see Country Codes. |
lang | false | string | en | The suggest search language preference, where potentially the results could come from. The 2 or more character language code for which the suggest search results are provided. This is a just a hint for calculating suggest responses. For a list of possible values, see Language Codes. |
count | false | int | 5 | The number of suggestion search results returned in response. The actual number of results delivered may be less than requested. Minimum is |
rich | false | bool | false | Whether to enhance suggestions with rich results. This requires a paid autosuggest subscription. |