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

Douyin Relation Analysis Valid Dates

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

Returns the valid date range available for relation analysis on Douyin. Use this endpoint to discover supported timeframes before requesting relationship 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 · 196 B · 12 dòng
[
  {
    "data": {
      "BaseResp": {
        "StatusCode": 0,
        "StatusMessage": ""
      },
      "datetime": "20260809",
      "industry_relative_words_end_date": "20260816"
    }
  }
]

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 Relation Analysis Valid Dates API

Returns the latest valid dates for Douyin relation analysis. It takes no input, so you send an empty JSON object.

Use cases

  • Read the latest allowed end date before you build a date picker for relation word queries.
  • Check industry_relative_words_end_date before you request industry relation words, so your end date is in range.
  • Run the call at the start of a pipeline job to confirm the date you plan to use is not past the latest valid date.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/valid-date-for-relation" \
  -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": ""
  },
  "datetime": "20261101",
  "industry_relative_words_end_date": "20261101"
}

Response fields

FieldMeaning
datetimeLatest valid date for relation analysis, as a YYYYMMDD string. The sample value is 20261101.
industry_relative_words_end_dateLatest valid end date for industry relation words, as a YYYYMMDD string. The sample value is 20261101.
BaseResp.StatusCodeStatus code of the call. 0 in the sample response.
BaseResp.StatusMessageStatus text of the call. It is an empty string in the sample 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 Relation Analysis Valid Dates?

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

Douyin Relation Analysis 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 Relation Analysis 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 Relation Analysis 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.