Douyin Content Guide Valid Dates
https://api.sandbase.ai/v1/api/douyin/index/content-valid-dateReturns 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
[
{
"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,weekormonthvalue before you request content trend data. - Limit weekly queries to the range between
earliest_weekandweek. - 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
| Field | Meaning |
|---|---|
day | Latest valid date for daily data, as a YYYYMMDD string. |
week | Latest valid date for weekly data, as a YYYYMMDD string. |
earliest_week | Earliest valid date for weekly data. Use it as the lower bound of a weekly range. |
month | Latest 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
YYYYMMDDformat. - Only the weekly data has an earliest date in this response. The response shows no earliest date for
dayormonth. - 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.
Empiece a construir
Envíe su primera solicitud
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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 '{}'2. Autenticación
Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
3. Parámetros
No se ha publicado un esquema de parámetros para esta API.
4. Respuesta
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
[
{
"data": {
"day": "20260818",
"earliest_week": "20260524",
"month": "20260731",
"week": "20260816"
}
}
]Explorar más
APIs relacionadas
| API | Precio | Respuesta |
|---|---|---|
Douyin Content Guide Valid DatesEsta API Douyin | $0.001 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
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.
