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.
- Цена
- $0.001USD / вызов
- Метод
- POST
- Ответ
- JSON
- Параметры
- 0 обязательных · 0 необязательных
Песочница
[
{
"data": {
"day": "20260818",
"earliest_week": "20260524",
"month": "20260731",
"week": "20260816"
}
}
]Примеры
Выберите пример, чтобы загрузить его входные данные и результат в 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,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.
Начните разработку
Отправьте свой первый запрос
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
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. Аутентификация
Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
3. Параметры
Для этого API не опубликована схема параметров.
4. Ответ
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
[
{
"data": {
"day": "20260818",
"earliest_week": "20260524",
"month": "20260731",
"week": "20260816"
}
}
]Посмотреть больше
Связанные APIs
| API | Цена | Ответ |
|---|---|---|
Douyin Content Guide Valid DatesЭтот API Douyin | $0.001 за запрос | JSON |
Douyin | $0.001 за запрос | JSON |
Douyin | $0.001 за запрос | JSON |
Douyin | $0.001 за запрос | JSON |
Douyin | $0.001 за запрос | JSON |
Douyin | $0.001 за запрос | JSON |
Руководства:Best Douyin API in 2026: Pricing Compared
Вопросы
FAQ
Как использовать API Douyin Content Guide Valid Dates?
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/douyin/index/content-valid-date, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
Сколько стоит API Douyin Content Guide Valid Dates?
$0.001 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Какие параметры принимает API Douyin Content Guide Valid Dates?
Douyin Content Guide Valid Dates не принимает входных параметров; отправьте пустое тело JSON.
Что возвращает API Douyin Content Guide Valid Dates?
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нужен ли мне аккаунт разработчика Douyin или API key?
Нет. Douyin Content Guide Valid Dates работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Douyin.
