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

Douyin Index Video Search

เอกสาร API
https://api.sandbase.ai/v1/api/douyin/index/item-query

Search Douyin Index videos by keyword with filters for post date, duration, category, and label type. Returns video metadata and performance metrics.

ราคา
$0.001USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 4 ไม่บังคับ
100 คำขอฟรี / วันคำขอ 100 ครั้งแรกต่อวันฟรี (ใช้ร่วมกันภายในองค์กร) · รีเซ็ตเวลา 00:00 UTC จากนั้นคิดค่าบริการตามจำนวนคำขอ

Playground

อินพุต
Search keyword (required), e.g. "food"
Category ID (string), default "0"=all
Publish date filter, default 0=any
Duration filter, default 0=any
Video type (quality tag), default 0=any
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 48 B · 7 บรรทัด
[
  {
    "data": {
      "data": []
    }
  }
]

ตัวอย่าง

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

API README

Douyin Index Video Search API

Searches Douyin Index videos by keyword and returns a list of matching videos with creator name, follower count, like count, duration, post time and a video link. It needs one input, query. Optional filters narrow results by post date, duration, category and quality tag.

Use cases

  • Find recent Douyin videos about a keyword such as 美食 and open each one through its url.
  • Spot small accounts with hot videos by checking isLowFansButHot next to fans.
  • Rank videos for a topic by index or likes to see which posts perform best.
  • Narrow a search to short or long videos with duration_type and compare the results.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/item-query" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "美食"}'

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

Parameters

NameTypeRequiredDescription
querystringYesSearch keyword (required), e.g. "food"
category_idstringNoCategory ID (string), default "0"=all
date_typeintegerNoPublish date filter, default 0=any
duration_typeintegerNoDuration filter, default 0=any
label_typeintegerNoVideo type (quality tag), default 0=any

Example response

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

{
  "data": [
    {
      "avatarUrl": "https://p3-byteindex-sign.byteimg.com/aweme-avatar/tos-cn-i-0813c000-ce_osD7MQgO…",
      "createTime": "2026-10-30 23:34:15",
      "duration": 72,
      "fans": 13248,
      "index": "657817",
      "isHighFansRiseRate": 0,
      "isHighLikeRate": 1,
      "isHighPlayOverRate": 0,
      "isLowFansButHot": 1,
      "itemId": "7702484601909857590",
      "likes": "226165",
      "nickname": "明食记"
    }
  ]
}

Response fields

FieldMeaning
data[].itemIdID of the video, as a string. It is the last part of the video url.
data[].titleVideo caption, including its hashtags.
data[].urlLink to the video page on Douyin.
data[].nickname / data[].avatarUrlDisplay name and avatar image link of the creator.
data[].fansFollower count of the creator, as a number.
data[].likesLike count of the video. It comes back as a string.
data[].indexIndex score of the video for this search, as a string. Higher values appear for videos that do better.
data[].durationLength of the video. Values like 72 and 274 suggest seconds, but the response does not state the unit.
data[].createTimePost time of the video, in YYYY-MM-DD HH:MM:SS format.
data[].isHighLikeRate / data[].isHighFansRiseRate / data[].isHighPlayOverRate / data[].isLowFansButHotFlags set to 1 when the video carries that tag, and 0 when it does not. The names describe a high like rate, high follower growth, high play completion, and a hot video from a low-follower account.

Notes

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

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

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

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

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

คำถาม

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

ฉันจะใช้ Douyin Index Video Search API ได้อย่างไร?

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

Douyin Index Video Search API ราคาเท่าไร?

$0.001 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน

Douyin Index Video Search API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: query (string). ตัวเลือก: category_id (string), date_type (integer), duration_type (integer) และ label_type (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Douyin Index Video Search API ส่งคืนอะไร?

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

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

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