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-topicReturns trending creative topics for a specific Douyin category. Filter results by category ID, evaluation period, ranking metric, and end date.
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
Returns a list of trending creative topics (hashtags) for one Douyin content category. Each topic comes with engagement totals and a few sample videos. You send a tag_id and an end_date.
index, digg_cnt and item_cnt to pick tags for new videos.rank_type to rise to find topics that are growing fastest.curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/content-creative-topic" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"end_date": "20260405", "tag_id": "601"}'
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 |
tag_id | string | Yes | Category ID (same as category_id in fetch_item_query) |
period | string | No | "1" / "3" / "7" |
rank_type | string | No | "index" or "rise" |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"topic_list": [
{
"digg_cnt": "171445435",
"id": "1635669004810253",
"index": "201575639",
"item_cnt": "19739286",
"item_list": [
{
"img": "https://p9-byteindex-sign.byteimg.com/tos-cn-p-0015c000-ce/oAfEB3pEBb9bEEkAFmALx…",
"item_id": "7621900494017844389",
"title": "仅用了0秒就接受了自己的新身份#vlog十亿流量扶持计划 #内容太过真实 #vlog日常 #搞笑 #学生时代",
"url": "https://www.douyin.com/share/video/7621900494017844389"
}
],
"name": "搞笑",
"vv": "9700000928"
}
]
}
| Field | Meaning |
|---|---|
topic_list[].name | Topic name, shown as a hashtag-style label such as 搞笑. |
topic_list[].id | ID of the topic. |
topic_list[].index | Index score used to rank the topic. Higher values mean a higher rank under rank_type index. |
topic_list[].digg_cnt | Total like count for videos under the topic. |
topic_list[].item_cnt | Number of videos under the topic. |
topic_list[].vv | View count for the topic. |
topic_list[].item_list[].title | Caption of a sample video, including its hashtags. |
topic_list[].item_list[].item_id | ID of the sample video. |
topic_list[].item_list[].url | Share link to the sample video on douyin.com. |
topic_list[].item_list[].img | Cover image URL of the sample video. The link is signed and carries an expiry in its query string. |
digg_cnt, index and vv come back as strings.end_date uses the format YYYYMMDD. It must be a Sunday when period is 7. Any day works for 1 or 3.tag_id is the same value as category_id in the video search APIs. Douyin Index Video Search is a related call.$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-topic" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"period": "7",
"tag_id": "601",
"end_date": "20260405",
"rank_type": "index"
}'서버 환경에 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
tag_idstring필수Category ID (same as category_id in fetch_item_query)
periodstring"1" / "3" / "7"
기본값: "7"
가능한 값: 1, 3, 7
rank_typestring"index" or "rise"
기본값: "index"
가능한 값: index, rise
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
저장된 응답이 게시되지 않았습니다. Playground에서 API를 실행해 응답을 확인하세요.
더 살펴보기
| 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 |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/douyin/index/content-creative-topic에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.001, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수: end_date (string) 및 tag_id (string). 선택: period(1, 3, 7 중 하나) 및 rank_type(index, rise 중 하나). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. Douyin Content Creative Topics은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Douyin API 액세스를 별도로 신청할 필요는 없습니다.