Get query suggestions
Google Autocomplete API · 5 points per successful call
Product overview and demoAll Google API endpointsError codes
Returns the suggestions Google offers for a partial query, in rank order, plus a spelling correction when the input looks misspelled. Each suggestion is provided as plain text and with highlight markup, and carries entity details when the suggestion maps to one. hl sets the language of the suggestions (English by default) and gl ranks them for a country; suggestions about places can still reflect the region the request is served from. Useful for keyword research and search-as-you-type experiences.
bearerAuthAuthorizationBearer <token>Your API key, sent as a bearer token. In the console on this page you can leave it empty: signed in, calls run on your own plan; otherwise they run on a shared demo key after a quick human check.
query*stringPartial query to complete.
1 <= length <= 256gl?stringCountry to rank suggestions for, as an ISO 3166-1 alpha-2 code (us, de, gb; case-insensitive). Omitted, suggestions follow the region the request is served from.
hl?stringLanguage of the suggestions, as a language code with an optional region (en, de, pt-BR, zh-TW; case-insensitive). Defaults to English.
Successful response
application/json- response
meta*data*curl -X GET 'https://api.endpointry.com/v1/google/autocomplete?query=best+crm&gl=de&hl=de'{
"meta": {
"request_id": "req_7729f93d3facf68ff83e5c50",
"as_of": "2026-07-31T12:00:00.000Z",
"cache": "MISS"
},
"data": {
"suggestions": [
{
"position": 1,
"keyword": "anthropic claude",
"keyword_html": "anthropic<b> claude</b>",
"entity": {
"title": "Anthropic",
"label": "Artificial intelligence company",
"image_url": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTCbP0WqDxmPhD2"
}
},
{
"position": 2,
"keyword": "anthropic api pricing",
"keyword_html": "anthropic<b> api pricing</b>",
"entity": null
}
],
"spelling_suggestion": "anthropic"
}
}