Google Search Autocomplete API - Real-time Keyword Suggestions

Unlock Google's search suggestions for powerful keyword research, SEO optimization, and content strategy. Get real-time autocomplete data in 100+ languages.

What can you do?
Ultra-fast suggest API

Same endpoint Chrome uses behind the scenes.

Works in 100+ languages

Pass any ISO language code via “hl” parameter.

Perfect for keyword research

Scrape-free insights for SEO and content ideation.

Try Live
99.9 % Uptime
120.5ms Response
5 req/s
0.01 Credits / request

Query Suggest


POST https://api.yeb.to/v1/google/search/autocomplete
ParameterTypeReq.Description
api_key string yes Your API key
q string yes Search phrase
hl string opt Language/locale (ISO-639-1), default “en”

Example

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"
}'

Response Example

{
  "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}

Response Codes

CodeDescription
200 SuccessRequest processed OK.
400 Bad RequestInput validation failed.
401 UnauthorizedMissing / wrong API key.
403 ForbiddenKey inactive or not allowed.
429 Rate LimitToo many requests.
500 Server ErrorUnexpected failure.

Frequently Asked Questions

Yes! You can request suggestions in 100+ languages by passing the appropriate ISO language code via the "hl" parameter (e.g. "es" for Spanish, "fr" for French).

They are sourced from the same public API used by Chrome and Google properties, so results are typically identical to those on google.com. Some regional/country differences may apply.

Popular uses include keyword research for SEO, autocomplete UI for search boxes, content ideation, trend discovery, competitor analysis, and market research.

Suggestions are pulled in real-time from Google's live autocomplete service, ensuring you get the most current and trending search queries.

Standard rate limits apply based on your plan. Each request costs 0.01 credits and provides up to 10 suggestions per query.

Yes. Every request, even those resulting in errors, consumes credits. This is because your credits are strictly tied to the number of requests, regardless of success or failure. However, if the error is clearly due to a platform problem on our end, we’ll recover those credits for you.

Contact us at [email protected]. We take feedback seriously—if your bug report or feature request is meaningful, we can fix or improve the API quickly and grant you 50 free credits as a thank you.

It depends on the API and sometimes even on the endpoint. Some endpoints use data from external sources, which may have stricter limits. We also enforce limits to prevent abuse and keep our platform stable. Check the docs for the specific rate limit for each endpoint.

We operate on a credit system. Buy once—credits never expire. They’re non-refundable units for making API calls (requests). Simple, fair, and you top up only when you need more.

Every HTTP call is one request. Each request consumes a number of credits depending on the endpoint. In most cases, you can make thousands of requests with just one credit—but always check each endpoint for its cost.

Yes. Your credits never expire until you use them, but they are non-refundable.

Credits are non-refundable. Only buy what you need—you can always top-up later. If we screw up and it costs you, we’ll fix it.

Prices are set in credits, not dollars. Each endpoint lists its own cost—see the “Credits / request” badge above. You’ll always know exactly what you’re spending.
← Back to APIs