sec_user_idstring필수
User sec_user_id
https://api.sandbase.ai/v1/api/douyin/app-v3/user-like-videosReturns a list of videos liked by a specific Douyin user. Supports cursor-based pagination and custom item counts per page.
[
{
"data": {
"aweme_list": null,
"extra": {
"fatal_item_ids": [],
"logid": "2026100620413283A3061FEC023751A465",
"now": 1791290492000
},
"log_pb": {
"impr_id": "2026100620413283A3061FEC023751A465"
},
"sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_",
"status_code": 0,
"uid": "3635433641882579"
}
}
]예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
Returns the videos a Douyin user has liked, as a paged list. It needs the user's sec_user_id. You can set the page size with counts and page forward with max_cursor.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/user-like-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sec_user_id": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
sec_user_id | string | Yes | User sec_user_id |
counts | integer | No | Number per page |
max_cursor | integer | No | Maximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"aweme_list": null,
"extra": {
"fatal_item_ids": [],
"logid": "20261103153140EA2A63AD2C803311DE9E",
"now": 1793691100000
},
"log_pb": {
"impr_id": "20261103153140EA2A63AD2C803311DE9E"
},
"sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_",
"status_code": 0,
"uid": "3635433641882579"
}
| Field | Meaning |
|---|---|
aweme_list | List of liked videos. It is null in this response, which means no videos came back for this user and request. |
status_code | Result code of the call. 0 in this response. |
sec_uid | The sec_user_id of the user whose likes were requested, echoed back. |
uid | Numeric user ID of the same user. |
extra.now | Server time of the response as a number. The value looks like a millisecond timestamp. |
extra.logid / log_pb.impr_id | Request identifiers. Both hold the same value in this response. |
extra.fatal_item_ids | List of item IDs that failed to load. It is empty in this response. |
sec_user_id from a Douyin user profile, for example with Douyin User Profile (App V3).max_cursor as 0. For the next page, send the max_cursor value from the previous response.aweme_list can be null when no videos are returned, so check for null before reading it.$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/app-v3/user-like-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sec_user_id": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_"
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
sec_user_idstring필수User sec_user_id
countsintegerNumber per page
max_cursorintegerMaximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response.
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
[
{
"data": {
"aweme_list": null,
"extra": {
"fatal_item_ids": [],
"logid": "2026100620413283A3061FEC023751A465",
"now": 1791290492000
},
"log_pb": {
"impr_id": "2026100620413283A3061FEC023751A465"
},
"sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_",
"status_code": 0,
"uid": "3635433641882579"
}
}
]더 살펴보기
| 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/app-v3/user-like-videos에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.001, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수: sec_user_id (string). 선택: counts (integer) 및 max_cursor (integer). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. Douyin User Liked Videos (App V3)은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Douyin API 액세스를 별도로 신청할 필요는 없습니다.