Skip to main content
GET
/
wf
/
google-autocomplete
cURL
curl --request GET \
  --url https://riona.ai/api/1.1/wf/google-autocomplete \
  --header 'Authorization: Bearer <token>'
{
  "searchParameters": {
        "q": "landing on",
    "hl": "en",
    "type": "autocomplete",
    "location": "",
    "engine": "google",
    "gl": "us"
  },
  "suggestions": [
    {
      "value": "landing on the moon"
    },{
      "value": "landing on you"
    },{
      "value": "landing on the hudson"
    },{
      "value": "landing on the moon date"
    },{
      "value": "landing on mars"
    },{
      "value": "landing on an aircraft carrier"
    },{
      "value": "landing on water"
    },{
      "value": "landing on the moon video"
    },{
      "value": "landing on the moon 1969"
    },{
      "value": "landing on venus"
    }
  ],
  "credits": 1
}
{
  "searchParameters": {
        "q": "landing on",
    "hl": "en",
    "type": "autocomplete",
    "location": "",
    "engine": "google",
    "gl": "us"
  },
  "suggestions": [
    {
      "value": "landing on the moon"
    },{
      "value": "landing on you"
    },{
      "value": "landing on the hudson"
    },{
      "value": "landing on the moon date"
    },{
      "value": "landing on mars"
    },{
      "value": "landing on an aircraft carrier"
    },{
      "value": "landing on water"
    },{
      "value": "landing on the moon video"
    },{
      "value": "landing on the moon 1969"
    },{
      "value": "landing on venus"
    }
  ],
  "credits": 1
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

q
string
required

Parameter defines the query you want to search. You can use anything that you would use in a regular Google search.

gl
string
default:us
required

Parameter defines the country to use for the Google search. It's a two-letter country code. (e.g., us for the United States, uk for United Kingdom, or fr for France) Country List

hl
string
default:en
required

Parameter defines the language to use for the Google search. It's a two-letter language code. (e.g., en for English, es for Spanish, or fr for French). Languages List

location
string

This optional parameter determines where your Google search originates, allowing for more specific locations such as cities and neighborhoods.

Examples:

  • Country: United States
  • State: California, United States
  • Region: San Fransisco Bay Area, United States
  • City: London, England, United Kingdom
  • Neighborhood: SoHo, Ney York, United States
  • Airport: Dubai International Airport, Dubai, United Arab Emirates
autocorrect
boolean
default:true

true , false

api_key
string
required

This is your account API Key. You can easily locate it in your account dashboard.

Response

200

OK