Related keyword ideas by seed keyword — search volume, CPC
semrush.google.keywords.ideasGet keywords semantically related to a seed keyword, each with volume, CPC and competition
- Price
- Price pendingAt provider cost
- Success rate
- —No success-rate data yetLast 30 days · 0 calls
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/semrush.google.keywords.ideasPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
CSV response. `phrase_related` is the semantic-similarity report. Two nearby alternatives with different economics: `phrase_fullsearch` (broad match, 20 units/line) and `phrase_questions` (question keywords only, 40 units/line) — same parameter shape, different `type`.
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
type | string | Required | phrase_related | |
phrase | string | Required | the seed keyword | seo |
database | string | Required | us | |
display_sort | string | Optional | nq_desc | |
display_limit | integer | Optional | COST DIAL — default is 10,000 lines at 40 units each | 10 |
export_escape | integer | Optional | ||
display_filter | string | Optional | e.g. '+|Nq|Lt|1000' = volume less than 1000; URL-encode it | |
display_offset | integer | Optional | ||
export_columns | string | Optional | default Ph,Nq,Cp,Co,Nr,Td,Rr,Fk. Rr=relevance to the seed, Fk=SERP features | Ph,Nq,Cp,Co,Rr |
- Query parameters
typestringRequiredExample:
phrase_relatedphrasestringRequiredthe seed keyword
Example:
seodatabasestringRequiredExample:
usdisplay_sortstringOptionalExample:
nq_descdisplay_limitintegerOptionalCOST DIAL — default is 10,000 lines at 40 units each
Example:
10export_escapeintegerOptionaldisplay_filterstringOptionale.g. '+|Nq|Lt|1000' = volume less than 1000; URL-encode it
display_offsetintegerOptionalexport_columnsstringOptionaldefault Ph,Nq,Cp,Co,Nr,Td,Rr,Fk. Rr=relevance to the seed, Fk=SERP features
Example:
Ph,Nq,Cp,Co,Rr
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
curl -X GET 'https://toolswitch.dev/v1/tools/semrush.google.keywords.ideas' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/semrush.google.keywords.ideas",
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.ideas", {
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());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data.