Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Yandex Videos Search

เอกสาร API
https://api.sandbase.ai/v1/api/yandex/videos

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

ราคา
$0.015USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 0 ไม่บังคับ

Playground

อินพุต
text
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Yandex$0.015 ต่อการเรียกJSON
Yandex$0.015 ต่อการเรียกJSON
Yandex$0.01 ต่อการเรียกJSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Yandex Videos Search API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/yandex/videos โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Yandex Videos Search API ราคาเท่าไร?

$0.015 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Yandex Videos Search API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: text (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Yandex Videos Search API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Yandex ไหม?

ไม่จำเป็น Yandex Videos Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Yandex API แยกต่างหาก