Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Yandex Videos Search

Documentazione API
https://api.sandbase.ai/v1/api/yandex/videos

Yandex Videos results for a keyword: titles, thumbnails, durations and source sites.

Prezzo
$0.015USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 0 opzionali

Playground

Input
text
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

Yandex Videos Search API

This API returns Yandex Videos search results for a keyword. Each result has a description, a rank position and a thumbnail URL. It needs one input, the search text in text.

Use cases

  • Check which videos Yandex ranks first for a keyword such as coffee.
  • Collect video descriptions for a topic to study how creators word their content.
  • Download thumbnail URLs to build a visual overview of a topic.
  • Compare the video results for several keywords by running one call per keyword.

Request

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

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
textstringYestext

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "search_information": {
    "within": null
  },
  "videos_results": [
    {
      "description": "In this video Jimmy is teaching us how to make the 3 most popular milk coffees w…",
      "position": 1,
      "thumbnail": "https://avatars.mds.yandex.net/get-vthumb/1650686/4b503447f957aa8cc8e5b3f605be6a…"
    }
  ]
}

Response fields

FieldMeaning
videos_results[]List of video results for the keyword, in ranked order.
videos_results[].positionRank of the video in the results. The first result has position 1.
videos_results[].descriptionText snippet describing the video. Long descriptions are cut and end with an ellipsis.
videos_results[].thumbnailURL of the video preview image. The URL ends in 564x318_1, which suggests a 564 by 318 pixel image.
search_information.withinExtra search information. It is null in this response.

Notes

  • Pass the search keyword in the text parameter. It is the only parameter and it is required.
  • The response in this example has no title, duration or source site fields, even though the API description mentions them. Rely on description, position and thumbnail.
  • For image results on the same keyword, call Yandex Images Search.

Pricing

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

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Yandex$0.015 per chiamataJSON
Yandex$0.015 per chiamataJSON
Yandex$0.01 per chiamataJSON

Domande

FAQ

Come uso l'API Yandex Videos Search?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/yandex/videos con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Yandex Videos Search?

$0.015 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Yandex Videos Search?

Richiesti: text (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Yandex Videos Search?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Yandex?

No. Yandex Videos Search funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Yandex.