Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Douyin Content Guide Valid Dates

Documentazione 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.

Prezzo
$0.001USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
0 obbligatori · 0 opzionali

Playground

Input
Nessuno schema di input disponibile
OutputEsempio
Rispostaoutputs · 143 B · 10 righe
[
  {
    "data": {
      "day": "20260818",
      "earliest_week": "20260524",
      "month": "20260731",
      "week": "20260816"
    }
  }
]

Esempi

Seleziona un esempio per caricare i suoi input e il risultato nel 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.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Douyin$0.001 per chiamataJSON
Douyin$0.001 per chiamataJSON
Douyin$0.001 per chiamataJSON
Douyin$0.001 per chiamataJSON
Douyin$0.001 per chiamataJSON
Douyin$0.001 per chiamataJSON

Guide:Best Douyin API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API Douyin Content Guide Valid Dates?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/douyin/index/content-valid-date con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Douyin Content Guide Valid Dates?

$0.001 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Douyin Content Guide Valid Dates?

Douyin Content Guide Valid Dates non accetta parametri di input; invia un body JSON vuoto.

Cosa restituisce l'API Douyin Content Guide Valid Dates?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Douyin?

No. Douyin Content Guide Valid Dates funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Douyin.