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

Bilibili Video Danmaku

เอกสาร API
https://api.sandbase.ai/v1/api/bilibili/web/video-danmaku

Returns timed on-screen danmaku comments for a specified Bilibili video in XML format using the video content identifier (cid).

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

Playground

อินพุต
Video cid
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 640 B · 5 บรรทัด
[
  {
    "data": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><i><chatserver>chat.bilibili.com</chatserver><chatid>1639235405</chatid><mission>0</mission><maxlimit>1000</maxlimit><state>0</state><real_name>0</real_name><source>k-v</source><d p=\"49.76100,5,25,16707842,1722857079,0,ab5f4d22,1642203223161224448,10\">袋子:三秒看清一个人</d><d p=\"7.27800,5,25,15138834,1722856856,0,1733e83e,1642201349473288960,10\">0帧起手</d><d p=\"16.14100,5,25,16707842,1722856888,0,a84447a9,1642201617732534272,10\">《儿女共沾巾》</d><d p=\"61.43000,5,25,16707842,1722856832,0,8a09141e,1642201150226791936,10\">列祖列宗の直视</d><d p=\"38.63500,5,25,16777215,1722858238,0,…"
  }
]

ตัวอย่าง

เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground

API README

Bilibili Video Danmaku API

Look up timed danmaku (bullet comments) for any Bilibili video part by providing its cid.

Use cases

  • Analyze audience sentiment and real-time reactions across specific video timestamps.
  • Archive bullet comments alongside video content for offline playback or research.
  • Detect high-engagement video moments where danmaku density peaks.

Request

curl -X POST "https://api.sandbase.ai/v1/api/bilibili/web/video-danmaku" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"cid": "1639235405"}'

Parameters

NameTypeRequiredDescription
cidstringYesVideo cid

Notes

  • Requires the video cid (content ID), which represents a specific video part or episode.

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

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

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

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

คู่มือ:Best Bilibili API in 2026: Pricing Compared

คำถาม

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

ฉันจะใช้ Bilibili Video Danmaku API ได้อย่างไร?

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

Bilibili Video Danmaku API ราคาเท่าไร?

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

Bilibili Video Danmaku API รับพารามิเตอร์อะไรบ้าง?

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

Bilibili Video Danmaku API ส่งคืนอะไร?

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

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

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