Google search volume, CPC and competition by keyword
semrush.google.keywords.volumeGet Google search volume, CPC, competition and result count for a single keyword
- Price
- 価格未定プロバイダー原価
- Success rate
- —成功率データはまだありませんLast 30 days · 0 calls
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/semrush.google.keywords.volumePreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
CSV response, one data line per keyword. `phrase_this` takes ONE keyword; for a batch use `type=phrase_these` with keywords joined by semicolons (phrase=ebay;seo), same price per line, which is much cheaper per keyword than looping this endpoint.
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
type | 文字列 | 必須 | phrase_this | |
phrase | 文字列 | 必須 | the keyword to look up | seo |
database | 文字列 | 必須 | us | |
display_date | 文字列 | 任意 | YYYYMM15 for a past month; historical requests bill at 50 units/line | |
export_escape | 整数 | 任意 | ||
export_columns | 文字列 | 任意 | default Ph,Nq,Cp,Co,Nr,Td. Nq=volume Cp=CPC Co=competition Nr=number of results Td=12-month trend | Ph,Nq,Cp,Co,Nr,Td |
- クエリパラメータ
type文字列必須例:
phrase_thisphrase文字列必須the keyword to look up
例:
seodatabase文字列必須例:
usdisplay_date文字列任意YYYYMM15 for a past month; historical requests bill at 50 units/line
export_escape整数任意export_columns文字列任意default Ph,Nq,Cp,Co,Nr,Td. Nq=volume Cp=CPC Co=competition Nr=number of results Td=12-month trend
例:
Ph,Nq,Cp,Co,Nr,Td
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/semrush.google.keywords.volume' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/semrush.google.keywords.volume",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/semrush.google.keywords.volume", {
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 や認証方式は変更される場合があります。 パラメータはサンプルデータです。