Douyin Relation Analysis Valid Dates
https://api.sandbase.ai/v1/api/douyin/index/valid-date-for-relationReturns the valid date range available for relation analysis on Douyin. Use this endpoint to discover supported timeframes before requesting relationship metrics.
- Цена
- $0.001USD / вызов
- Метод
- POST
- Ответ
- JSON
- Параметры
- 0 обязательных · 0 необязательных
Песочница
[
{
"data": {
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"datetime": "20260809",
"industry_relative_words_end_date": "20260816"
}
}
]Примеры
Выберите пример, чтобы загрузить его входные данные и результат в playground.
README по API
Douyin Relation Analysis Valid Dates API
Returns the latest valid dates for Douyin relation analysis. It takes no input, so you send an empty JSON object.
Use cases
- Read the latest allowed end date before you build a date picker for relation word queries.
- Check
industry_relative_words_end_datebefore you request industry relation words, so your end date is in range. - Run the call at the start of a pipeline job to confirm the date you plan to use is not past the latest valid date.
Request
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/valid-date-for-relation" \
-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": ""
},
"datetime": "20261101",
"industry_relative_words_end_date": "20261101"
}
Response fields
| Field | Meaning |
|---|---|
datetime | Latest valid date for relation analysis, as a YYYYMMDD string. The sample value is 20261101. |
industry_relative_words_end_date | Latest valid end date for industry relation words, as a YYYYMMDD string. The sample value is 20261101. |
BaseResp.StatusCode | Status code of the call. 0 in the sample response. |
BaseResp.StatusMessage | Status text of the call. It is an empty string in the sample response. |
Notes
- The request has no parameters. Send
{}as the body. - Dates come back as
YYYYMMDDstrings with no separators. - Use the returned dates as the upper bound when you call Douyin Relation Word Analysis.
- For valid dates of other 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/valid-date-for-relation" \
-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": {
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"datetime": "20260809",
"industry_relative_words_end_date": "20260816"
}
}
]Посмотреть больше
Связанные APIs
| 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 Relation Analysis Valid Dates?
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/douyin/index/valid-date-for-relation, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
Сколько стоит API Douyin Relation Analysis Valid Dates?
$0.001 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Какие параметры принимает API Douyin Relation Analysis Valid Dates?
Douyin Relation Analysis Valid Dates не принимает входных параметров; отправьте пустое тело JSON.
Что возвращает API Douyin Relation Analysis Valid Dates?
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нужен ли мне аккаунт разработчика Douyin или API key?
Нет. Douyin Relation Analysis Valid Dates работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Douyin.
