Unlock Google's search suggestions for powerful keyword research, SEO optimization, and content strategy. Get real-time autocomplete data in 100+ languages.
Same endpoint Chrome uses behind the scenes.
Pass any ISO language code via “hl” parameter.
Scrape-free insights for SEO and content ideation.
POST https://api.yeb.to/v1/google/search/autocomplete
Parameter | Type | Req. | Description |
---|---|---|---|
api_key |
string | yes | Your API key |
q |
string | yes | Search phrase |
hl |
string | opt | Language/locale (ISO-639-1), default “en” |
curl -X POST https://api.yeb.to/v1/google/search/autocomplete \
-H "Content-Type: application/json" \
-d '{
"api_key": "YOUR_KEY",
"q": "best electric cars",
"hl": "en"
}'
{
"query": "best electric cars",
"lang": "en",
"cnt_results": 5,
"suggestions": [
"best electric cars 2025",
"best electric cars range",
"best electric cars under 40k",
"best electric cars for families",
"best electric cars lease deals"
]
}
{"error":"Missing \"q\" (query) parameter","code":400}
Code | Description |
---|---|
200 Success | Request processed OK. |
400 Bad Request | Input validation failed. |
401 Unauthorized | Missing / wrong API key. |
403 Forbidden | Key inactive or not allowed. |
429 Rate Limit | Too many requests. |
500 Server Error | Unexpected failure. |