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

Douyin Index Valid Dates

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/index/all-valid-date

Returns the latest valid dates available for each data type in Douyin Index. Helps verify data availability before querying index metrics.

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 raVí dụ
Phản hồioutputs · 379 B · 17 dòng
[
  {
    "data": {
      "BaseResp": {
        "StatusCode": 0,
        "StatusMessage": ""
      },
      "brand_latest_day": "20261004",
      "brand_latest_week": "20260926",
      "keyword_latest_day": "20261004",
      "keyword_latest_week": "20261004",
      "poi_latest_day": "20261003",
      "poi_latest_month": "202609",
      "poi_latest_week": "20260927"
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

Douyin Index Valid Dates API

Returns the latest valid date for each data type in Douyin Index, split into brand, keyword and POI groups. It needs no input. Call it with an empty JSON body {}.

Use cases

  • Check that the newest day is available for keyword data before you request a keyword trend.
  • Pick the latest weekly date for brand data when you build a weekly brand report.
  • Use the monthly POI date to choose the end month for a POI query.
  • Run it at the start of a scheduled job to set the end date of each query.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/all-valid-date" \
  -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": ""
  },
  "brand_latest_day": "20261102",
  "brand_latest_week": "20261024",
  "keyword_latest_day": "20261102",
  "keyword_latest_week": "20261102",
  "poi_latest_day": "20261101",
  "poi_latest_month": "202610",
  "poi_latest_week": "20261101"
}

Response fields

FieldMeaning
brand_latest_day / brand_latest_weekLatest valid day and latest valid week for brand data.
keyword_latest_day / keyword_latest_weekLatest valid day and latest valid week for keyword data.
poi_latest_day / poi_latest_weekLatest valid day and latest valid week for POI data.
poi_latest_monthLatest valid month for POI data.
BaseResp.StatusCodeStatus code of the call. 0 appears in a normal response.
BaseResp.StatusMessageStatus text of the call. It is an empty string in a normal response.

Notes

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 Index Valid Dates?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/index/all-valid-date 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 Index Valid Dates 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 Index Valid Dates chấp nhận những tham số nào?

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

API Douyin Index Valid Dates 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 Index Valid Dates 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.