Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Douyin Content Guide Valid Dates

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

Cena
$0.001USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
0 wymaganych · 0 opcjonalnych

Playground

Wejście
Brak dostępnego schematu wejścia
WyjściePrzykład
Odpowiedźoutputs · 143 B · 10 wierszy
[
  {
    "data": {
      "day": "20260818",
      "earliest_week": "20260524",
      "month": "20260731",
      "week": "20260816"
    }
  }
]

Przykłady

Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Douyin$0.001 za wywołanieJSON
Douyin$0.001 za wywołanieJSON
Douyin$0.001 za wywołanieJSON
Douyin$0.001 za wywołanieJSON
Douyin$0.001 za wywołanieJSON
Douyin$0.001 za wywołanieJSON

Przewodniki:Best Douyin API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Douyin Content Guide Valid Dates?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/douyin/index/content-valid-date z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Douyin Content Guide Valid Dates?

$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Douyin Content Guide Valid Dates?

Douyin Content Guide Valid Dates nie przyjmuje żadnych parametrów wejściowych; wyślij pustą treść JSON.

Co zwraca API Douyin Content Guide Valid Dates?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Douyin lub klucza API?

Nie. Douyin Content Guide Valid Dates działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Douyin.