Piloterr

Google Search Autocomplete

Credit cost: 1 credit per call

GET
/v2/google/search/autocomplete

Authorization

ApiKeyAuth
x-api-key<token>

Your API key. Include it in the x-api-key header for every request.

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.piloterr.com/v2/google/search/autocomplete"
{
  "suggestions": [
    {
      "value": "coffee nearby"
    },
    {
      "value": "coffee"
    },
    {
      "value": "coffee near me"
    },
    {
      "value": "coffee bean"
    },
    {
      "value": "coffee shop"
    },
    {
      "value": "coffee creamer"
    },
    {
      "value": "coffee bar"
    },
    {
      "value": "coffee bean menu"
    },
    {
      "value": "coffee mate creamer"
    },
    {
      "value": "coffee liqueur"
    }
  ],
  "search_parameters": {
    "q": "coffee",
    "cp": 0,
    "gl": "us",
    "hl": "en",
    "engine": "google",
    "google_domain": "google.com"
  }
}
{
  "error": "Bad Request"
}
{
  "error": "Invalid API Key"
}
{
  "error": "Payment required"
}
{
  "error": "Rate limit exceeded for the API key: quota monthly"
}
{
  "error": "Internal Error"
}