databasestringобязательно
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.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
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.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
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"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
databasestringобязательноRegional Semrush database, e.g. "us", "uk", "de".
phrasestringобязательноKeyword to analyze, e.g. "running shoes".
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
Semrush Question KeywordsЭтот API Semrush | От $0.08 за запрос | JSON |
Semrush | От $0.08 за запрос | JSON |
Semrush | От $0.08 за запрос | JSON |
Semrush | От $0.08 за запрос | JSON |
Semrush | $0.004 за запрос | JSON |
Semrush | От $0.04 за запрос | JSON |
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/semrush/question-keywords, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
От $0.08 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: database (string) и phrase (string). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. Semrush Question Keywords работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Semrush.