Douyin Brand Hot Videos Time Scope
https://api.sandbase.ai/v1/api/douyin/index/brand-hot-videos-time-scopeReturns the queryable time scope for Douyin brand hot videos. Allows systems to check valid date ranges before querying related brand analytics endpoints.
- Precio
- $0.001USD / llamada
- Método
- POST
- Respuesta
- JSON
- Parámetros
- 0 obligatorios · 0 opcionales
Entorno de pruebas
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
README de la API
Douyin Brand Hot Videos Time Scope API
Returns the date range you can query for Douyin brand hot videos. It needs no input. The response gives the first and last week of the range and the latest available day.
Use cases
- Read
latest_dayto set the default end date in a brand hot video report. - Limit a date picker to the range from
start_weektoend_week. - Check a requested date against the range before you call a brand analytics endpoint.
- Run the call on a schedule to see when the range moves forward.
Request
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/brand-hot-videos-time-scope" \
-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.
{
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"end_week": "20261101",
"latest_day": "20261101",
"start_week": "20260809"
}
Response fields
| Field | Meaning |
|---|---|
start_week | First date of the queryable range, written as YYYYMMDD (for example 20260809). |
end_week | Last date of the queryable range, written as YYYYMMDD. |
latest_day | Most recent day in the range, written as YYYYMMDD. |
BaseResp.StatusCode | Status code of the call. 0 means the call succeeded. |
BaseResp.StatusMessage | Status text. It is an empty string when the call succeeds. |
Notes
- Send an empty JSON object
{}as the body. The API has no request parameters. - All dates use the compact
YYYYMMDDformat with no separators. - For other valid date ranges in Douyin Index, call Douyin Index Valid Dates.
- To look up a brand before you query its data, call Douyin Brand Search Suggestions.
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/brand-hot-videos-time-scope" \
-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.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
APIs relacionadas
| API | Precio | Respuesta |
|---|---|---|
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 Brand Hot Videos Time Scope?
Envía una solicitud POST a https://api.sandbase.ai/v1/api/douyin/index/brand-hot-videos-time-scope 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 Brand Hot Videos Time Scope?
$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 Brand Hot Videos Time Scope?
Douyin Brand Hot Videos Time Scope no acepta parámetros de entrada; envía un cuerpo JSON vacío.
¿Qué devuelve la API de Douyin Brand Hot Videos Time Scope?
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 Brand Hot Videos Time Scope 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.
