Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Douyin Brand Hot Videos Time Scope

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/index/brand-hot-videos-time-scope

Returns the queryable time scope for Douyin brand hot videos. Allows systems to check valid date ranges before querying related brand analytics endpoints.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 0 tùy chọn

Phòng thử nghiệm

Đầu vào
Không có schema đầu vào
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Douyin Brand Hot Videos Time Scope API

Returns the date range you can query for Douyin brand hot videos. It needs no input. The response gives the first and last week of the range and the latest available day.

Use cases

  • Read latest_day to set the default end date in a brand hot video report.
  • Limit a date picker to the range from start_week to end_week.
  • Check a requested date against the range before you call a brand analytics endpoint.
  • Run the call on a schedule to see when the range moves forward.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/brand-hot-videos-time-scope" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

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

Example response

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

{
  "BaseResp": {
    "StatusCode": 0,
    "StatusMessage": ""
  },
  "end_week": "20261101",
  "latest_day": "20261101",
  "start_week": "20260809"
}

Response fields

FieldMeaning
start_weekFirst date of the queryable range, written as YYYYMMDD (for example 20260809).
end_weekLast date of the queryable range, written as YYYYMMDD.
latest_dayMost recent day in the range, written as YYYYMMDD.
BaseResp.StatusCodeStatus code of the call. 0 means the call succeeded.
BaseResp.StatusMessageStatus text. It is an empty string when the call succeeds.

Notes

  • Send an empty JSON object {} as the body. The API has no request parameters.
  • All dates use the compact YYYYMMDD format with no separators.
  • For other valid date ranges in Douyin Index, call Douyin Index Valid Dates.
  • To look up a brand before you query its data, call Douyin Brand Search Suggestions.

Pricing

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON

Hướng dẫn:Best Douyin API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Douyin Brand Hot Videos Time Scope?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/index/brand-hot-videos-time-scope với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Douyin Brand Hot Videos Time Scope có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Douyin Brand Hot Videos Time Scope chấp nhận những tham số nào?

Douyin Brand Hot Videos Time Scope không nhận tham số đầu vào; hãy gửi một phần thân JSON rỗng.

API Douyin Brand Hot Videos Time Scope trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Douyin không?

Không. Douyin Brand Hot Videos Time Scope chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.