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

Yahoo Trends

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

List trending searches on Yahoo right now, with topic, related links and videos.

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

Песочница

Ввод
Parameter defines the next page token. It is used for retrieving the next page of results. Leave it unset for the first page. Up to `100` results are returned per page; Yahoo! may return fewer. The next page token can be found in the the API JSON response: `the API_pagination -> next_page_token`. It is only present while more results are available.
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

Yahoo Trends

List trending searches on Yahoo right now, with topic, related links and videos.

Request

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

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

Parameters

NameTypeRequiredDescription
next_page_tokenstringNoParameter defines the next page token. It is used for retrieving the next page of results. Leave it unset for the first page. Up to 100 results are returned per page; Yahoo! may return fewer. The next page token can be found in the the AP
full_video_linksstringNoParameter defines whether to include playable video links. It can be set to true to include a full_video_link for each topic video, or false (default) to skip them. Enabling it performs an additional request to Yahoo!, which may incre
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ЦенаОтвет
Yahoo TrendsЭтот API
Yahoo
$0.01 за запросJSON
Yahoo$0.015 за запросJSON
Yahoo$0.01 за запросJSON
Yahoo$0.015 за запросJSON

Вопросы

FAQ

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

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

Сколько стоит API Yahoo Trends?

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

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

Параметры не требуются. Необязательные: next_page_token (string), full_video_links (string) и json_restrictor (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

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

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

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

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