end_datestringобязательно
End date YYYYMMDD. **Must be a Sunday only when period=7**; any day for period=1/3
https://api.sandbase.ai/v1/api/douyin/index/content-creative-keyword-itemsReturns videos associated with a specific trending keyword in a category. Filters include category ID, target keyword, analysis period, and end date.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
Returns videos linked to a trending keyword in one Douyin category. You send a category ID in tag_id, a keyword, and an end_date. You can also set period to 1, 3 or 7 days.
人工智能 in a single category.curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/content-creative-keyword-items" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"end_date": "1735660799", "keyword": "人工智能", "tag_id": "2027"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
end_date | string | Yes | End date YYYYMMDD. Must be a Sunday only when period=7; any day for period=1/3 |
keyword | string | Yes | Hot keyword (typically from fetch_content_creative_keywords) |
tag_id | string | Yes | Category ID (same as category_id in fetch_item_query) |
period | string | No | "1" / "3" / "7" days |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"BaseResp": {
"StatusCode": -1,
"StatusMessage": "json data error,key:ca,2027,人工智能,1735660799,keyword_items_v2,aweme,7"
}
}
| Field | Meaning |
|---|---|
BaseResp | Status wrapper for the call. It is the only top-level object in the sample response. |
BaseResp.StatusCode | Numeric status of the lookup. The sample request returned -1, which marks a failed lookup. |
BaseResp.StatusMessage | Text describing the status. In the sample it reads json data error and then lists the values used for the lookup: 2027, 人工智能, 1735660799 and 7. |
end_date 1735660799 and returned StatusCode -1. The schema asks for end_date in YYYYMMDD format, so send a date like 20241229.period is 7, end_date must be a Sunday. For 1 or 3, any day works.keyword from Douyin Content Creative Keywords. Use the same category ID as tag_id.period accepts only the strings 1, 3 and 7.$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-creative-keyword-items" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tag_id": "2027",
"keyword": "人工智能",
"end_date": "1735660799"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
end_datestringобязательноEnd date YYYYMMDD. **Must be a Sunday only when period=7**; any day for period=1/3
keywordstringобязательноHot keyword (typically from fetch_content_creative_keywords)
tag_idstringобязательноCategory ID (same as category_id in fetch_item_query)
periodstring"1" / "3" / "7" days
Возможные значения: 1, 3, 7
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| 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
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/douyin/index/content-creative-keyword-items, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.001 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: end_date (string), keyword (string) и tag_id (string). Необязательные: period (один из 1, 3, 7). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. Douyin Creative Keyword Related Videos работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Douyin.