Site icon DataForSEO

How to Get Google Keyword Ideas Using Google Autocomplete SERP API

Overview

Google Autocomplete is a feature within Google Search that makes it faster to start a search session when a user starts to type, enhancing the search experience. Google’s automated systems generate predictions that save people’s time by allowing them to quickly start the search they already had in mind. Google shows common and trending ones relevant to the characters that are entered – if many people have recently searched for the same specific term, then that term will probably be suggested as popular.

DataForSEO SERP API Google Autocomplete endpoint returns all suggestions Google offers in its search box for a certain keyword, search client, and cursor pointer position.

Google Autocomplete endpoint is available in Standard and Live modes. In the first case, you make a POST and GET request to retrieve the result by task ID, while Live mode works instantly, and doesn’t require a separate GET request.

New Parameters

DataForSEO used to have the Autocomplete search in the previous API version. This time, we have rolled out this feature improved, among others, with two new optional parameters – the cursor_pointer, and the client.

The cursor_pointer defines the cursor’s horizontal numeric position within the seed keyword entered in the search bar. Position starts from 0, which means the cursor is placed before the provided query. If the value is not specified, it means the cursor is placed at the end of the provided query. For example:

|burning man – "cursor_pointer": 0
burning man| – "cursor_pointer": 11
burning| man – "cursor_pointer": 7

By changing the position of the cursor pointer, and moving it along the seed keyword, you will receive different autocomplete suggestions for the same seed keyword. This is a smart way to get insights into what your potential customer is searching for.

The client defines the search client for autocomplete input. With different search clients, autocomplete results may also differ. This parameter adds personalization and accuracy to your suggestions search. Note that you also should specify your client in order to receive certain fields in the response, which we point out below.

DataForSEO Autocomplete SERP API supports the following clients:

Number of Returned Ideas

DataForSEO API allows receiving top ideas for a search query, considering the following factors:

  1. The language of the query (specified in the DataForSEO API request)
  2. The location a query is coming from (specified in the DataForSEO API request)
  3. Trending interest in a query (determined by Google)
  4. Client – indirectly impacts the result. The format of results and their number may vary depending on the browser and search platform
  5. Cursor pointer – impacts the quantity and content of results.

Depending on those five factors, the number of Autocomplete results in the response for each individual key will vary, typically it is up to 15 keyword suggestions. This way, for a word of six letters you can get up to 90 suggestions by changing the cursor pointer value, but with each next position, there will be fewer unique suggestions.

Workflow

To find auto-suggestions for your keyword, you have to authorize in DataForSEO Dashboard and select Google Autocomplete in the SERP API section.

To set a task, you should specify keyword, location, and language for which you wish to get suggestions for your seed keyword. You can enter up to 700 symbols in a keyword field.

As we mentioned, you may also add cursor pointer and client parameters to sort the results accordingly.
Example of setting a task:

POST: https://api.dataforseo.com/v3/serp/google/autocomplete/task_post

Example of the request:

[
    {
        "language_code": "en",
        "location_code": 2840,
        "keyword": "bowling",
        "cursor_pointer": 3,
        "client": "chrome-omni"
    }
]
}

You can verify the result data is entirely relevant by accessing the link returned in the check_url in the Incognito mode. Our system ignores user preferences, search history, and other personalized factors, therefore they do not impact the returned SERP results.

Here are the endpoint-specific fields you will get in the API response:

Exit mobile version