Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Douyin Content Guide Valid Dates

Dokumentasi API
https://api.sandbase.ai/v1/api/douyin/index/content-valid-date

Returns the valid date ranges supported by the Douyin content guide index. Helps clients determine allowable date intervals before requesting trend and guide statistics.

Harga
$0.001USD / panggilan
Metode
POST
Respons
JSON
Parameter
0 wajib · 0 opsional

Playground

Input
Tidak ada skema input yang tersedia
OutputContoh
Responsoutputs · 143 B · 10 baris
[
  {
    "data": {
      "day": "20260818",
      "earliest_week": "20260524",
      "month": "20260731",
      "week": "20260816"
    }
  }
]

Contoh

Pilih contoh untuk memuat input dan hasilnya ke playground.

README API

Douyin Content Guide Valid Dates API

Returns the latest valid dates for the Douyin content guide index. It needs no input. The response gives one date for day, week and month data, plus the earliest week available.

Use cases

  • Set the maximum selectable date in a date picker for a Douyin content guide dashboard.
  • Check the latest day, week or month value before you request content trend data.
  • Limit weekly queries to the range between earliest_week and week.
  • Pick the most recent valid date for a scheduled report job.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/content-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.

{
  "day": "20261101",
  "earliest_week": "20260809",
  "month": "20261031",
  "week": "20261101"
}

Response fields

FieldMeaning
dayLatest valid date for daily data, as a YYYYMMDD string.
weekLatest valid date for weekly data, as a YYYYMMDD string.
earliest_weekEarliest valid date for weekly data. Use it as the lower bound of a weekly range.
monthLatest valid date for monthly data, as a YYYYMMDD string. The value in the example is the last day of a month.

Notes

  • Send an empty JSON object {}. The API has no request parameters.
  • All dates are strings in YYYYMMDD format.
  • Only the weekly data has an earliest date in this response. The response shows no earliest date for day or month.
  • For valid dates of other Douyin Index data types, call Douyin Index Valid Dates.

Pricing

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

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON

Panduan:Best Douyin API in 2026: Pricing Compared

Pertanyaan

FAQ

Bagaimana cara menggunakan API Douyin Content Guide Valid Dates?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/index/content-valid-date dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Douyin Content Guide Valid Dates?

$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Douyin Content Guide Valid Dates?

Douyin Content Guide Valid Dates tidak memiliki parameter input; kirim body JSON kosong.

Apa yang dikembalikan API Douyin Content Guide Valid Dates?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API Douyin?

Tidak. Douyin Content Guide Valid Dates berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Douyin secara terpisah.