Google keywords a domain ranks for — search volume, traffic
semrush.google.domain.ranked_keywordsGoogle keywords a domain ranks for in the top 100, with position, volume and traffic
- Price
- Prix à venirAu prix du fournisseur
- Success rate
- —Aucune donnée de taux de réussite pour le momentLast 30 days · 0 calls
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/semrush.google.domain.ranked_keywordsPreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
CSV response, semicolon-separated. The `key` query param is injected by treg.
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
type | chaîne | Obligatoire | the report selector — must be the literal string below | domain_organic |
domain | chaîne | Obligatoire | bare domain, no scheme | seobook.com |
database | chaîne | Obligatoire | regional database code, e.g. us, uk, de — see the Databases list in the docs | us |
display_date | chaîne | Facultatif | YYYYMM15 for a monthly snapshot, YYYYMMDD for a daily one. A PAST date makes this a historical request at 50 units/line instead of 10 | |
display_sort | chaîne | Facultatif | po_asc/po_desc, tr_asc/tr_desc, nq_asc/nq_desc, kd_asc/kd_desc, cp_asc/cp_desc … | tr_desc |
display_daily | entier | Facultatif | 1 = daily position changes over the last 31 days; only applies when display_positions is set | |
display_limit | entier | Facultatif | COST DIAL — omitting it (or sending 0) returns the DEFAULT 10,000 lines and bills for all of them. Max 100,000 per request | 10 |
export_escape | entier | Facultatif | 1 wraps every CSV column in double quotes — set it if any field can contain a semicolon | |
display_filter | chaîne | Facultatif | Semrush filter DSL, e.g. '+|Ph|Co|seo' (phrase contains seo); must be URL-encoded | |
display_offset | entier | Facultatif | skip N results; display_limit must be raised by the same amount | |
export_columns | chaîne | Facultatif | comma-separated; default Ph,Po,Pp,Pd,Nq,Cp,Ur,Tr,Tc,Co,Nr,Td. Ph=phrase Po=position Nq=volume Cp=CPC Ur=ranking URL Tr=traffic share Kd=difficulty | Ph,Po,Nq,Cp,Ur,Tr |
display_positions | chaîne | Facultatif | new | lost | rise | fall — restrict to keywords that entered, left, gained or lost positions | |
- Paramètres de requête
typechaîneObligatoirethe report selector — must be the literal string below
Exemple :
domain_organicdomainchaîneObligatoirebare domain, no scheme
Exemple :
seobook.comdatabasechaîneObligatoireregional database code, e.g. us, uk, de — see the Databases list in the docs
Exemple :
usdisplay_datechaîneFacultatifYYYYMM15 for a monthly snapshot, YYYYMMDD for a daily one. A PAST date makes this a historical request at 50 units/line instead of 10
display_sortchaîneFacultatifpo_asc/po_desc, tr_asc/tr_desc, nq_asc/nq_desc, kd_asc/kd_desc, cp_asc/cp_desc …
Exemple :
tr_descdisplay_dailyentierFacultatif1 = daily position changes over the last 31 days; only applies when display_positions is set
display_limitentierFacultatifCOST DIAL — omitting it (or sending 0) returns the DEFAULT 10,000 lines and bills for all of them. Max 100,000 per request
Exemple :
10export_escapeentierFacultatif1 wraps every CSV column in double quotes — set it if any field can contain a semicolon
display_filterchaîneFacultatifSemrush filter DSL, e.g. '+|Ph|Co|seo' (phrase contains seo); must be URL-encoded
display_offsetentierFacultatifskip N results; display_limit must be raised by the same amount
export_columnschaîneFacultatifcomma-separated; default Ph,Po,Pp,Pd,Nq,Cp,Ur,Tr,Tc,Co,Nr,Td. Ph=phrase Po=position Nq=volume Cp=CPC Ur=ranking URL Tr=traffic share Kd=difficulty
Exemple :
Ph,Po,Nq,Cp,Ur,Trdisplay_positionschaîneFacultatifnew | lost | rise | fall — restrict to keywords that entered, left, gained or lost positions
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
curl -X GET 'https://toolswitch.dev/v1/tools/semrush.google.domain.ranked_keywords' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/semrush.google.domain.ranked_keywords",
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.domain.ranked_keywords", {
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());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives.