POST
/
google-autocomplete
curl --request POST \
  --url https://api.growthmarketing.ai/google-autocomplete \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "keyword": "albert einstein",
  "language_code": "en",
  "location_code": 2840,
  "client": "gws-wiz-serp",
  "device": "desktop",
  "os": "windows"
}'
{
  "success": true,
  "data": {
    "data": {
      "api": "serp",
      "function": "live",
      "se": "google",
      "se_type": "autocomplete",
      "keyword": "albert einstein",
      "language_code": "en",
      "location_code": 2840,
      "client": "gws-wiz-serp",
      "device": "desktop",
      "os": "windows"
    },
    "result": [
      {
        "keyword": "albert einstein",
        "type": "autocomplete",
        "se_domain": "google.com",
        "location_code": 2840,
        "language_code": "en",
        "check_url": "https://google.com/search?q=albert+einstein&hl=en&gl=US",
        "items": [
          {
            "type": "autocomplete",
            "rank_group": 1,
            "rank_absolute": 1,
            "suggestion": "albert einstein",
            "search_query_url": "https://www.google.com/search?q=albert+einstein",
            "thumbnail_url": "http://t0.gstatic.com/images?q=...",
            "highlighted": [
              "<string>"
            ]
          }
        ]
      }
    ]
  }
}

Authorizations

X-API-Key
string
header
required

Body

application/json
keyword
string
required

Search term

Example:

"albert einstein"

language_code
string
default:en

Language code

Example:

"en"

location_code
integer
default:2840

Location code (2840 for US)

Example:

2840

client
string
default:gws-wiz-serp

Client type

Example:

"gws-wiz-serp"

device
enum<string>
default:desktop

Device type

Available options:
desktop,
mobile
Example:

"desktop"

os
enum<string>
default:windows

Operating system

Available options:
windows,
macos,
android,
ios
Example:

"windows"

Response

200 - application/json
Successful response
success
boolean
Example:

true

data
object