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

Google Finance Markets

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

List Google Finance market movers and overviews such as indexes, most active, gainers, losers, crypto and currencies, with price and change for each instrument.

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

Песочница

Ввод
Parameter is used for retrieving different market trends. Due to a recent Google Finance update, this parameter now only accepts `indexes` as a valid value.
Parameter defines the language to use for the Google Finance Markets 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 country to use for the Google Finance Markets search. It's a two-letter country code. (e.g., `us` for the United States, `uk` for United Kingdom, or `fr` for France). Head to the Google countries page for a full list of supported Google countries.
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 Finance Markets

List Google Finance market movers and overviews such as indexes, most active, gainers, losers, crypto and currencies, with price and change for each instrument.

Request

curl -X POST "https://api.sandbase.ai/v1/api/google/finance-markets" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"trend": "indexes"}'

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

Parameters

NameTypeRequiredDescription
trendstringYesParameter is used for retrieving different market trends. Due to a recent Google Finance update, this parameter now only accepts indexes as a valid value.
hlstringNoParameter defines the language to use for the Google Finance Markets 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
glstringNoParameter defines the country to use for the Google Finance Markets search. It's a two-letter country code. (e.g., us for the United States, uk for United Kingdom, or fr for France). Head to the Google countries page for a full list o
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 Finance Markets?

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

Сколько стоит API Google Finance Markets?

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

Какие параметры принимает API Google Finance Markets?

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

Что возвращает API Google Finance Markets?

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

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

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