databasestringwymagane
Regional Semrush database, e.g. "us", "uk", "de".
https://api.sandbase.ai/v1/api/semrush/question-keywordsQuestion-form keyword ideas for a seed phrase, with search volume, CPC and competition.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
Returns question-form keyword ideas for a seed phrase, such as how to choose running shoes. Each row has the search volume and the CPC. You send a phrase and a regional database.
phrase against us, uk and de to compare question demand by country.curl -X POST "https://api.sandbase.ai/v1/api/semrush/question-keywords" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"phrase": "running shoes", "database": "us"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
database | string | Yes | Regional Semrush database, e.g. "us", "uk", "de". |
phrase | string | Yes | Keyword to analyze, e.g. "running shoes". |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
"Keyword;Search Volume;CPC\r\nhow to choose running shoes;110000;0.43\r\nhow long do …"
| Field | Meaning |
|---|---|
[0] | Column 1 of each row, with the header Keyword. It holds the question-form keyword, for example how long do running shoes last. |
[1] | Column 2 of each row, with the header Search Volume. It holds the search volume for the keyword in the chosen database. For example, how to choose running shoes shows 110000. |
[2] | Column 3 of each row, with the header CPC. It holds the cost per click as a decimal number such as 0.43. The response does not show the currency. |
Keyword;Search Volume;CPC, and lines are separated by \r\n.; to get the columns. In the field list, [0], [1] and [2] mean the first, second and third column of a line.Keyword, Search Volume and CPC columns.Billed at the actual cost of each call, about $0.08 for the request above. Failed calls are not charged.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/semrush/question-keywords" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"phrase": "running shoes",
"database": "us"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
databasestringwymaganeRegional Semrush database, e.g. "us", "uk", "de".
phrasestringwymaganeKeyword to analyze, e.g. "running shoes".
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Semrush | Od $0.08 za wywołanie | JSON |
Semrush | Od $0.08 za wywołanie | JSON |
Semrush | Od $0.08 za wywołanie | JSON |
Semrush | Od $0.08 za wywołanie | JSON |
Semrush | $0.004 za wywołanie | JSON |
Semrush | Od $0.04 za wywołanie | JSON |
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/semrush/question-keywords z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
Od $0.08 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: database (string) i phrase (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Semrush Question Keywords działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Semrush.