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

DataForSEO YouTube Video Details

เอกสาร API
https://api.sandbase.ai/v1/api/dataforseo/v3/serp/youtube/video_info/live/advanced

Fetch metadata and stats for one YouTube video by id. Details of a YouTube video by video_id.

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

Playground

อินพุต
YouTube video ID.
Location code, e.g. 2840 for the United States.
Language code, e.g. "en".
เอาต์พุตพร้อมใช้งาน

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

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

API README

DataForSEO YouTube Video Details API

Fetch metadata and stats for one YouTube video by id.

Request fields follow the official DataForSEO /v3/serp/youtube/video_info/live/advanced task schema (one task per call; send {"tasks": [...]} for several). The response is DataForSEO's original JSON; results are in tasks[].result.

Request

curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/serp/youtube/video_info/live/advanced" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"video_id": "dQw4w9WgXcQ", "location_code": 2840, "language_code": "en"}'

Parameters

The JSON body is forwarded to the upstream endpoint (one task per call). Fields used above:

NameDescription
video_idYouTube video ID.
location_codeLocation code, e.g. 2840 for the United States.
language_codeLanguage code, e.g. "en".

Reference

Pricing

Flat price per call. Failed calls are not charged.

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

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

APIs ทั้งหมด
APIราคาการตอบกลับ
DataForSEO$0.006 ต่อการเรียกJSON
DataForSEOเริ่มต้นที่ $0.0102 ต่อครั้งJSON
DataForSEOเริ่มต้นที่ $0.000724 ต่อครั้งJSON
DataForSEO$0.004 ต่อการเรียกJSON
DataForSEOเริ่มต้นที่ $0.00162 ต่อครั้งJSON
DataForSEOเริ่มต้นที่ $0.001105 ต่อครั้งJSON

คำถาม

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

ฉันจะใช้ DataForSEO YouTube Video Details API ได้อย่างไร?

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

DataForSEO YouTube Video Details API ราคาเท่าไร?

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

DataForSEO YouTube Video Details API รับพารามิเตอร์อะไรบ้าง?

ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: video_id (string), location_code (integer) และ language_code (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

DataForSEO YouTube Video Details API ส่งคืนอะไร?

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

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

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