Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Douyin Content Guide Valid Dates

Documentación de la 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.

Precio
$0.001USD / llamada
Método
POST
Respuesta
JSON
Parámetros
0 obligatorios · 0 opcionales

Entorno de pruebas

Entrada
No hay esquema de entrada disponible
SalidaEjemplo
Respuestaoutputs · 143 B · 10 líneas
[
  {
    "data": {
      "day": "20260818",
      "earliest_week": "20260524",
      "month": "20260731",
      "week": "20260816"
    }
  }
]

Ejemplos

Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.

README de la 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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Douyin$0.001 por llamadaJSON
Douyin$0.001 por llamadaJSON
Douyin$0.001 por llamadaJSON
Douyin$0.001 por llamadaJSON
Douyin$0.001 por llamadaJSON
Douyin$0.001 por llamadaJSON

Guías:Best Douyin API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de Douyin Content Guide Valid Dates?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/douyin/index/content-valid-date con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Douyin Content Guide Valid Dates?

$0.001 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Douyin Content Guide Valid Dates?

Douyin Content Guide Valid Dates no acepta parámetros de entrada; envía un cuerpo JSON vacío.

¿Qué devuelve la API de Douyin Content Guide Valid Dates?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Douyin?

No. Douyin Content Guide Valid Dates funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Douyin por separado.