PeumeAPI

Search & SEO · Google

Suggest Search Queries

Get Google's autocomplete suggestions for a partial query.

$0.023 per call

Call it

curl https://api.peume.com/v1/call/google-suggest-search-queries \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "q": "your q"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: google-suggest-search-queries.

Parameters

qRequiredstring

The search query. A query that would be used to provide completion options.

hlstring

The language to use for the Google Autocomplete search. It's a two or three-letter language code. (e.g., `en` for English, `es` for Spanish, or `fr` for French), optionally followed by a two-letter or three-digit region code (e.g., `en-gb` for British English, or `es-419` for Latin American Spanish).

glstring

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)

clientstring

Used to define client for autocomplete. List of supported clients.

cpstring

Cursor pointer defines the position of cursor for the query provided, position starts from 0 which is a case where cursor is placed before the query `|query`. If not provided acts as cursor is placed in the end of query `query|`.

json_restrictorstring

The fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.