Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

TikTok User Likes

เอกสาร API
https://api.sandbase.ai/v1/api/tiktok/web/user-like

Returns a list of videos liked by a specific TikTok profile based on their secUid. Supports pagination via cursor tokens and optional sort type settings.

ราคา
$0.001USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 4 ไม่บังคับ

Playground

อินพุต
User secUid
Number per page, default is 20, cannot be changed.
Cover format
Page cursor
Sort type
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 492 B · 21 บรรทัด
[
  {
    "data": {
      "cookie": "tt_chain_token=0k5cdiqY7uSA4maNu10+1w==;",
      "cursor": "1790127969000",
      "extra": {
        "fatal_item_ids": [],
        "logid": "202610062041350618B3DF2EF7F9783D8D",
        "now": 1791290496000
      },
      "hasMore": true,
      "log_pb": {
        "impr_id": "202610062041350618B3DF2EF7F9783D8D"
      },
      "statusCode": 0,
      "status_code": 0,
      "status_msg": "",
      "tt_chain_token": "0k5cdiqY7uSA4maNu10+1w=="
    }
  }
]

ตัวอย่าง

เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground

API README

TikTok User Likes API

Returns a page of videos liked by a TikTok profile. It needs the profile's secUid as input and returns a cursor for the next page.

Use cases

  • Check which public videos a specific TikTok creator has liked.
  • Page through a user's like history to build a record of the content they engage with.
  • Collect liked-video data for audience research on a target account.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/user-like" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"secUid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
secUidstringYesUser secUid
countintegerNoNumber per page, default is 20, cannot be changed.
coverFormatintegerNoCover format
cursorintegerNoPage cursor
post_item_list_request_typeintegerNoSort type

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "cookie": "tt_chain…",
  "cursor": "1791417327000",
  "extra": {
    "fatal_item_ids": [],
    "logid": "202611031544314BAB8FBD2CDB3104FCC3",
    "now": 1793691871000
  },
  "hasMore": true,
  "log_pb": {
    "impr_id": "202611031544314BAB8FBD2CDB3104FCC3"
  },
  "statusCode": 0,
  "status_code": 0,
  "status_msg": "",
  "tt_chain_token": "0k5cdiqY…"
}

Response fields

FieldMeaning
cursorCursor value for the next page. Pass it as cursor in the next request to continue.
hasMoretrue when more liked videos remain after this page.
statusCode / status_codeResult code of the call. 0 means the request succeeded.
status_msgStatus message text. It is an empty string in this response.
extra.fatal_item_idsList of item IDs that could not be returned. It is empty in this response.
extra.nowServer timestamp of the response, as a 13-digit number.
extra.logid / log_pb.impr_idRequest log identifier. Both fields hold the same value in this response.

Notes

  • Get the secUid for a profile with TikTok Profile Sec User ID, or from profile links with TikTok User Sec User ID Extractor.
  • To fetch the next page, send the returned cursor value as the cursor parameter while hasMore is true.
  • The count parameter defaults to 20 and cannot be changed.
  • The trimmed response shown here does not include a video list. Check the full response for the liked video items.

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ราคาการตอบกลับ
TikTok User LikesAPI นี้
TikTok
$0.001 ต่อการเรียกJSON
TikTok$0.001 ต่อการเรียกJSON
TikTok$0.001 ต่อการเรียกJSON
TikTok$0.001 ต่อการเรียกJSON
TikTok$0.001 ต่อการเรียกJSON
TikTok$0.05 ต่อการเรียกJSON

คู่มือ:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ TikTok User Likes API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/tiktok/web/user-like โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

TikTok User Likes API ราคาเท่าไร?

$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

TikTok User Likes API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: secUid (string). ตัวเลือก: count (integer), coverFormat (integer), cursor (integer) และ post_item_list_request_type (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

TikTok User Likes API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ TikTok ไหม?

ไม่จำเป็น TikTok User Likes ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก