Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

Google Trends Autocomplete

Документация API
https://api.sandbase.ai/v1/api/google/trends-autocomplete

Get Google Trends topic and query suggestions for a keyword, with the topic ID to use in Google Trends lookups.

Цена
$0.01USD / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 2 необязательных

Песочница

Ввод
Parameter defines the query you want to search. You can use anything that you would use in a regular Google Trends search. The query is used to retrieve suggested searches.
Parameter defines the language to use for the Google Trends Autocomplete search. It's a two or three-letter language code. (e.g., `en` for English, `es` for Spanish, or `fr` for French), optionally followed by a two-letter or three-digit region code (e.g., `en-gb` for British English, or `es-419` for Latin American Spanish). Head to the Google languages page for a full list of supported Google languages.
Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

README по API

Google Trends Autocomplete

Get Google Trends topic and query suggestions for a keyword, with the topic ID to use in Google Trends lookups.

Request

curl -X POST "https://api.sandbase.ai/v1/api/google/trends-autocomplete" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q": "coffee"}'

The result is returned in outputs[0].data as structured JSON.

Parameters

NameTypeRequiredDescription
qstringYesParameter defines the query you want to search. You can use anything that you would use in a regular Google Trends search. The query is used to retrieve suggested searches.
hlstringNoParameter defines the language to use for the Google Trends Autocomplete search. It's a two or three-letter language code. (e.g., en for English, es for Spanish, or fr for French), optionally followed by a two-letter or three-digit re
json_restrictorstringNoParameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

Pricing

$0.010 per successful call. Failed calls are not charged.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
Google$0.01 за запросJSON
Google$0.01 за запросJSON
Google$0.015 за запросJSON
GoogleОт $0.002 за запросJSON
GoogleОт $0.0015 за запросJSON
Google$0.01 за запросJSON

Руководства:Best Google API in 2026: Pricing Compared

Вопросы

FAQ

Как использовать API Google Trends Autocomplete?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/google/trends-autocomplete, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Google Trends Autocomplete?

$0.01 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API Google Trends Autocomplete?

Обязательные: q (string). Необязательные: hl (string) и json_restrictor (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Google Trends Autocomplete?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно).

Нужен ли мне аккаунт разработчика Google или API key?

Нет. Google Trends Autocomplete работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Google.