Google Autocomplete keyword suggestions for a seed term
serpapi.google.keywords.ideasGet the keyword suggestions Google autocompletes for a seed term, with relevance scores
- Price
- $0.015/successプロバイダー原価
- Success rate
- 100%Last 30 days · 215 calls
- Latency p50
- 698 msp95 2.6 s
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/serpapi.google.keywords.ideas?q=coffee&engine=google_autocompletePreview- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
Answers arrive in `suggestions`, each with `value`, `relevance` and `type`. SCOPE WARNING for cross-provider comparison: these are Google's live autocomplete suggestions and they carry NO search volume, CPC or difficulty. Every other provider implementing google.keywords.ideas returns metric-bearing keyword ideas from a research index. SerpApi is the right choice for discovering real user phrasings cheaply, and the wrong one when the next step needs volume — pair it with a keyword-metrics provider.
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
q | 文字列 | 必須 | the seed keyword | coffee |
cp | 整数 | 任意 | cursor position within `q`, which changes what Google suggests | |
gl | 文字列 | 任意 | country code | us |
hl | 文字列 | 任意 | interface language code | en |
client | 文字列 | 任意 | which autocomplete client to emulate | |
engine | 文字列 | 必須 | google_autocomplete | |
- クエリパラメータ
q文字列必須the seed keyword
例:
coffeecp整数任意cursor position within `q`, which changes what Google suggests
gl文字列任意country code
例:
ushl文字列任意interface language code
例:
enclient文字列任意which autocomplete client to emulate
engine文字列必須例:
google_autocomplete
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
curl -X GET 'https://toolswitch.dev/v1/tools/serpapi.google.keywords.ideas?q=coffee&engine=google_autocomplete' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/serpapi.google.keywords.ideas?q=coffee&engine=google_autocomplete",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/serpapi.google.keywords.ideas?q=coffee&engine=google_autocomplete", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.015/success です。サービス料を含みます。