---
title: Autocomplete
slug: scaleserp/search-api/results/google/autocomplete
docTags: 
createdAt: 2024-08-03T18:00:34.680Z
---

# Google Autocomplete Results

<font color="#52c41a">`DESKTOP`</font> `TABLET` `MOBILE`&#x20;

Scale SERP parses the Google autocomplete results from the search bar into the `autocomplete_results` array in the JSON output when the  `search_type=autocomplete`  search parameter is set.

![](https://apiimages.imgix.net/scaleserp/images/png/docs/autocomplete.png?auto=format\&ixlib=react-9.5.1-beta.1\&w=600 "Google Autocomplete Results")

Below is an example of how the `autocomplete_results` array is represented in the Scale SERP result JSON:

```json
{
  "autocomplete_results": [
    {
      "value": "tree of life",
      "value_formatted": "tree<b> of life</b>",
      "highlighted_terms": [
        "of life"
      ]
    },
    {
      "value": "treehouse",
      "value_formatted": "tree<b>house</b>",
      "highlighted_terms": [
        "house"
      ]
    },
    {
      "value": "tree surgeon",
      "value_formatted": "tree<b> surgeon</b>",
      "highlighted_terms": [
        "surgeon"
      ]
    }
  ]
}
```

***

Scale SERP returns the following properties for  `search_type=autocomplete`  requests:

| *`Property`*             | *`Type`*  | *`Description`*                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------ | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| *`autocomplete_results`* | *`array`* | An array of AutoComplete Result objects, containing each of the autocomplete results returned. The Autocomplete Result object has the following properties:<br />- `value`<br />- `string`<br />- The autocomplete suggested text.<br /><br />- `value_formatted`<br />- `string`<br />- The HTML-formatted autocomplete suggested text. Typically highlighting the most important work or phrase in the autocomplete suggestion.<br /><br />- `highlighted_terms`<br />- `array`<br />- A array of strings representing the bold-highlighted terms in the autocomplete suggestions. |

***

**Next Steps**
     [Google Autocomplete Parameters](https://docs.trajectdata.com/scaleserp/search-api/searches/google/autocomplete)
