Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

Douyin User Liked Videos (App V3)

API दस्तावेज़
https://api.sandbase.ai/v1/api/douyin/app-v3/user-like-videos

Returns a list of videos liked by a specific Douyin user. Supports cursor-based pagination and custom item counts per page.

मूल्य
$0.001USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 2 वैकल्पिक

प्लेग्राउंड

इनपुट
User sec_user_id
Number per page
Maximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response.
आउटपुटउदाहरण
प्रतिक्रियाoutputs · 433 B · 18 पंक्तियाँ
[
  {
    "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 README

Douyin User Liked Videos (App V3) API

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.

Use cases

  • Review which videos a specific Douyin account has liked.
  • Collect a user's liked videos page by page for content or interest research.
  • Check whether a user's liked list is returned at all before building a pipeline around it.

Request

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.

Parameters

NameTypeRequiredDescription
sec_user_idstringYesUser sec_user_id
countsintegerNoNumber per page
max_cursorintegerNoMaximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response.

Example 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"
}

Response fields

FieldMeaning
aweme_listList of liked videos. It is null in this response, which means no videos came back for this user and request.
status_codeResult code of the call. 0 in this response.
sec_uidThe sec_user_id of the user whose likes were requested, echoed back.
uidNumeric user ID of the same user.
extra.nowServer time of the response as a number. The value looks like a millisecond timestamp.
extra.logid / log_pb.impr_idRequest identifiers. Both hold the same value in this response.
extra.fatal_item_idsList of item IDs that failed to load. It is empty in this response.

Notes

  • Get sec_user_id from a Douyin user profile, for example with Douyin User Profile (App V3).
  • For the first page, send 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.
  • To see videos the user posted instead of liked, use Douyin User Videos.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

और जानें

संबंधित APIs

सभी 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

Douyin User Liked Videos (App V3) API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/douyin/app-v3/user-like-videos पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

Douyin User Liked Videos (App V3) API की लागत कितनी है?

$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

Douyin User Liked Videos (App V3) API कौन-से parameters स्वीकार करती है?

आवश्यक: sec_user_id (string)। वैकल्पिक: counts (integer) और max_cursor (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

Douyin User Liked Videos (App V3) API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक Douyin developer account या API key चाहिए?

नहीं। Douyin User Liked Videos (App V3) SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।