---
title: "TikTok รายละเอียดโพสต์ API (V1)"
description: "ค้นหาข้อมูลรายละเอียดของโพสต์ TikTok ที่ระบุด้วย ID โพสต์ ใช้เพื่อค้นหาวิดีโอ TikTok ที่รู้จักก่อนการตรวจสอบเนื้อหา การรายงาน หรือการวิเคราะห์การมีส่วนร่วมที่เกี่ยวข้อง"
lastUpdated: false
aiUsagePrompt: true
---

# TikTok รายละเอียดโพสต์ API \(V1\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/tiktok/get-post-detail/v1\"")'
  :summary='JSON.parse("\"รายละเอียดโพสต์ (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/tiktok/post-details-v1-th.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"โทเค็นความปลอดภัยสำหรับเข้าถึง API\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"postId\",\"in\":\"query\",\"description\":\"ID เอกลักษณ์ของโพสต์ TikTok.\",\"required\":true,\"schema\":{\"type\":\"string\"}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"OK\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"description\":\"รายละเอียดของโพสต์บน TikTok และสถานะที่รายงาน โพสต์ที่ประสบความสำเร็จอาจมีฟิลด์สถานะโดยไม่มีรายละเอียดของรายการ\",\"properties\":{\"statusCode\":{\"type\":\"integer\",\"description\":\"รหัสสถานะการค้นหาโพสต์บน TikTok มีค่าเป็นหนึ่งสำหรับการตอบกลับที่มีสถานะเท่านั้น\"},\"status_code\":{\"type\":\"integer\",\"description\":\"ฟิลด์สถานะเพิ่มเติมบน TikTok ค่าเป็น 0 ในการตอบกลับที่ได้รับการยืนยันโดยไม่มีรายละเอียดของรายการ\"},\"status_msg\":{\"type\":\"string\",\"description\":\"ข้อความสถานะที่รายงานสำหรับการค้นหาโพสต์ อาจเป็นสตริงว่าง\"},\"itemInfo\":{\"type\":\"object\",\"description\":\"ข้อมูลการโพสต์ หากมีอยู่\",\"properties\":{\"itemStruct\":{\"type\":\"object\",\"description\":\"รายละเอียด TikTok สำหรับโพสต์ที่ขอมา หากได้รับการส่งกลับมา\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ตัวระบุโพสต์ TikTok\"},\"desc\":{\"type\":\"string\",\"description\":\"คำอธิบายของโพสต์ TikTok\"},\"createTime\":{\"type\":\"integer\",\"description\":\"เวลาการสร้างโพสต์ในรูปแบบวินาที Unix epoch\"},\"textLanguage\":{\"type\":\"string\",\"description\":\"รหัสภาษาที่รายงานสำหรับข้อความโพสต์\"},\"textTranslatable\":{\"type\":\"boolean\",\"description\":\"ว่าทิค Tokb จะจัดให้ข้อความโพสต์เป็นภาษาที่สามารถแปลได้หรือไม่\"},\"playlistId\":{\"type\":\"string\",\"description\":\"ตัวระบุรายการเพลย์ลิสต์ TikTok ที่เกี่ยวข้องกับโพสต์ หากได้รับการส่งกลับมา\"},\"textExtra\":{\"type\":\"array\",\"description\":\"คำอธิบายสำหรับคำอธิบายหลักของโพสต์\",\"items\":{\"type\":\"object\",\"description\":\"คำอธิบายหนึ่งที่เกี่ยวข้องกับส่วนหนึ่งของข้อความโพสต์\",\"properties\":{\"start\":{\"type\":\"integer\",\"description\":\"ค่าการเริ่มต้นในหน่วย UTF-16 ภายในข้อความที่เกี่ยวข้อง\"},\"end\":{\"type\":\"integer\",\"description\":\"ค่าการสิ้นสุดเฉพาะที่เกี่ยวข้องในหน่วย UTF-16 ภายในข้อความที่เกี่ยวข้อง\"},\"hashtagId\":{\"type\":\"string\",\"description\":\"ตัวระบุของ hashtag ที่มีคำอธิบาย\"},\"hashtagName\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏของ hashtag ที่มีคำอธิบาย\"},\"type\":{\"type\":\"integer\",\"description\":\"ประเภทตัวเลขที่รายงานสำหรับคำอธิบายนี้\"},\"subType\":{\"type\":\"integer\",\"description\":\"ประเภทตัวเลขย่อยที่รายงานสำหรับคำอธิบายนี้\"},\"awemeId\":{\"type\":\"string\",\"description\":\"ID โพสต์ TikTok ที่เกี่ยวข้องกับคำอธิบายนี้ หากมีการส่งมา\"},\"isCommerce\":{\"type\":\"boolean\",\"description\":\"ว่าคำอธิบายข้อความนั้นเกี่ยวข้องกับการค้าขายหรือไม่\"}}}},\"contents\":{\"type\":\"array\",\"description\":\"หัวข้อหรือความท้าทายที่เกี่ยวข้องกับโพสต์ที่ส่งกลับมา\",\"items\":{\"type\":\"object\",\"description\":\"หัวข้อ TikTok หนึ่งที่เกี่ยวข้องกับโพสต์\",\"properties\":{\"desc\":{\"type\":\"string\",\"description\":\"ข้อความคำอธิบายที่ส่งมาสำหรับหัวข้อเนื้อหานี้\"},\"textExtra\":{\"type\":\"array\",\"description\":\"คำอธิบายสำหรับข้อความของหัวข้อเนื้อหานี้\",\"items\":{\"type\":\"object\",\"description\":\"คำอธิบายหนึ่งที่เกี่ยวข้องกับส่วนหนึ่งของข้อความโพสต์\",\"properties\":{\"start\":{\"type\":\"integer\",\"description\":\"ค่าการเริ่มต้นในหน่วย UTF-16 ภายในข้อความที่เกี่ยวข้อง\"},\"end\":{\"type\":\"integer\",\"description\":\"ค่าการสิ้นสุดเฉพาะที่เกี่ยวข้องในหน่วย UTF-16 ภายในข้อความที่เกี่ยวข้อง\"},\"hashtagId\":{\"type\":\"string\",\"description\":\"ตัวระบุของ hashtag ที่มีคำอธิบาย\"},\"hashtagName\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏของ hashtag ที่มีคำอธิบาย\"},\"type\":{\"type\":\"integer\",\"description\":\"ประเภทตัวเลขที่รายงานสำหรับคำอธิบายนี้\"},\"subType\":{\"type\":\"integer\",\"description\":\"ประเภทตัวเลขย่อยที่รายงานสำหรับคำอธิบายนี้\"},\"awemeId\":{\"type\":\"string\",\"description\":\"ID โพสต์ TikTok ที่เกี่ยวข้องกับคำอธิบายนี้ หากมีการส่งมา\"},\"isCommerce\":{\"type\":\"boolean\",\"description\":\"ว่าคำอธิบายข้อความนั้นเกี่ยวข้องกับการค้าขายหรือไม่\"}}}}}}},\"challenges\":{\"type\":\"array\",\"description\":\"หัวข้อหรือความท้าทายที่เกี่ยวข้องกับโพสต์\",\"items\":{\"type\":\"object\",\"description\":\"ตัวระบุ TikTok ของหัวข้อหรือความท้าทายที่เกี่ยวข้องกับโพสต์\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ตัวระบุ TikTok ของหัวข้อ\"},\"title\":{\"type\":\"string\",\"description\":\"ชื่อเรื่องที่แสดงของหัวข้อ\"},\"desc\":{\"type\":\"string\",\"description\":\"แสดงคำอธิบายเกี่ยวกับหัวข้อนี้。\"},\"coverThumb\":{\"type\":\"string\",\"description\":\"URL รูปภาพปกสำหรับหัวข้อนี้。\"},\"coverMedium\":{\"type\":\"string\",\"description\":\"URL รูปภาพปกขนาดกลางสำหรับหัวข้อนี้。\"},\"coverLarger\":{\"type\":\"string\",\"description\":\"URL รูปภาพปกขนาดใหญ่สำหรับหัวข้อนี้。\"}}}},\"author\":{\"type\":\"object\",\"description\":\"ข้อมูลบัญชี TikTok ของผู้เขียนโพสต์。\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ID ของผู้เขียน TikTok。\"},\"secUid\":{\"type\":\"string\",\"description\":\"ตัวระบุผู้ใช้ TikTok รอง。\"},\"uniqueId\":{\"type\":\"string\",\"description\":\"ชื่อผู้ใช้ TikTok ที่เป็นสาธารณะ。\"},\"nickname\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏของผู้ใช้ TikTok。\"},\"verified\":{\"type\":\"boolean\",\"description\":\"ว่าผู้เขียนถูกจัดการเป็น verified หรือไม่.\"},\"privateAccount\":{\"type\":\"boolean\",\"description\":\"TikTok กำหนดบัญชีผู้เขียนเป็นส่วนตัวหรือไม่。\"},\"avatarThumb\":{\"type\":\"string\",\"description\":\"URL รูปภาพอวตารของผู้เขียน。\"},\"avatarMedium\":{\"type\":\"string\",\"description\":\"URL รูปภาพอวตารขนาดกลางของผู้เขียน。\"},\"avatarLarger\":{\"type\":\"string\",\"description\":\"URL รูปภาพอวตารขนาดใหญ่ของผู้เขียน。\"}}},\"authorStats\":{\"type\":\"object\",\"description\":\"ตัวชี้วัดของผู้เขียนที่คำนวณเป็นตัวเลขจริง。\",\"properties\":{\"followerCount\":{\"type\":\"integer\",\"description\":\"จำนวนผู้ติดตามของผู้เขียน。\"},\"followingCount\":{\"type\":\"integer\",\"description\":\"จำนวนผู้ติดตามของผู้เขียนที่อื่น。\"},\"videoCount\":{\"type\":\"integer\",\"description\":\"จำนวนวิดีโอของผู้เขียน。\"},\"heartCount\":{\"type\":\"integer\",\"description\":\"จำนวนไลก์ทั้งหมดที่ผู้เขียนได้รับที่รายงาน。\"},\"heart\":{\"type\":\"integer\",\"description\":\"จำนวนไลก์เพิ่มเติมที่รายงานในรูปแบบหัวใจของผู้เขียน。\"},\"diggCount\":{\"type\":\"integer\",\"description\":\"จำนวน Digg ของผู้เขียนที่ TikTok รายงาน。\"}}},\"authorStatsV2\":{\"type\":\"object\",\"description\":\"ตัวชี้วัดของผู้เขียนที่คำนวณเป็นสตริงทศนิยม。\",\"properties\":{\"followerCount\":{\"type\":\"string\",\"description\":\"จำนวนผู้ติดตามของผู้เขียนเป็นข้อความทศนิยม。\"},\"followingCount\":{\"type\":\"string\",\"description\":\"จำนวนผู้ติดตามของผู้เขียนเป็นข้อความทศนิยม。\"},\"videoCount\":{\"type\":\"string\",\"description\":\"จำนวนวิดีโอของผู้เขียนเป็นข้อความทศนิยม。\"},\"heartCount\":{\"type\":\"string\",\"description\":\"จำนวนไลก์ทั้งหมดที่ผู้เขียนได้รับที่รายงานเป็นข้อความทศนิยม。\"},\"heart\":{\"type\":\"string\",\"description\":\"จำนวนคนที่ชื่นชอบเพิ่มเติมที่รายงานเป็นตัวเลขทศนิยมในรูปแบบข้อความ\"},\"diggCount\":{\"type\":\"string\",\"description\":\"จำนวนคนที่ชื่นชอบที่รายงานโดย TikTok เป็นตัวเลขทศนิยมในรูปแบบข้อความ\"}}},\"stats\":{\"type\":\"object\",\"description\":\"ตัวชี้วัดของโพสต์ที่ส่งคืนมาเป็นจำนวนเต็ม\",\"properties\":{\"playCount\":{\"type\":\"integer\",\"description\":\"จำนวนครั้งที่โพสต์ถูกเล่นที่รายงาน\"},\"diggCount\":{\"type\":\"integer\",\"description\":\"จำนวนไลก์ของโพสต์ตามที่รายงาน\"},\"commentCount\":{\"type\":\"integer\",\"description\":\"จำนวนความคิดเห็นของโพสต์ตามที่รายงาน\"},\"shareCount\":{\"type\":\"integer\",\"description\":\"จำนวนการแชร์ของโพสต์ตามที่รายงาน\"},\"collectCount\":{\"type\":\"integer\",\"description\":\"จำนวนครั้งที่โพสต์ถูกบันทึกที่รายงาน\"}}},\"statsV2\":{\"type\":\"object\",\"description\":\"ตัวชี้วัดของโพสต์ที่ส่งคืนมาเป็นสตริงตัวเลขทศนิยม\",\"properties\":{\"playCount\":{\"type\":\"string\",\"description\":\"จำนวนครั้งที่โพสต์ถูกเล่นที่รายงานเป็นตัวเลขทศนิยม\"},\"diggCount\":{\"type\":\"string\",\"description\":\"จำนวนคนที่ชื่นชอบที่รายงานเป็นตัวเลขทศนิยม\"},\"commentCount\":{\"type\":\"string\",\"description\":\"จำนวนความคิดเห็นที่รายงานเป็นตัวเลขทศนิยม\"},\"shareCount\":{\"type\":\"string\",\"description\":\"จำนวนครั้งที่โพสต์ถูกแชร์ที่รายงานเป็นตัวเลขทศนิยม\"},\"collectCount\":{\"type\":\"string\",\"description\":\"จำนวนครั้งที่โพสต์ถูกบันทึกเป็นตัวเลขทศนิยม\"},\"repostCount\":{\"type\":\"string\",\"description\":\"จำนวนครั้งที่โพสต์ถูกนำไปโพสต์ซ้ำที่รายงานเป็นตัวเลขทศนิยม\"}}},\"video\":{\"type\":\"object\",\"description\":\"วิดีโอสื่อ, ภาพปก, ไฟล์การเล่นวิดีโอ และคำบรรยายสำหรับโพสต์\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ตัวระบุวิดีโอที่รายงานในอ็อบเจกต์สื่อ\"},\"videoID\":{\"type\":\"string\",\"description\":\"ตัวระบุวิดีโอเพิ่มเติมที่ถูกส่งมาพร้อมกับอ็อบเจกต์สื่อ\"},\"duration\":{\"type\":\"integer\",\"description\":\"ความยาวของวิดีโอในวินาที\"},\"width\":{\"type\":\"integer\",\"description\":\"ความกว้างของเฟรมวิดีโอในพิกเซล\"},\"height\":{\"type\":\"integer\",\"description\":\"ความสูงของเฟรมวิดีโอในพิกเซล\"},\"ratio\":{\"type\":\"string\",\"description\":\"ชื่อของอัตราส่วนหรือความละเอียดของวิดีโอที่ TikTok ส่งคืนมา\"},\"definition\":{\"type\":\"string\",\"description\":\"ชื่อของการแสดงผลสำหรับวิดีโอ\"},\"format\":{\"type\":\"string\",\"description\":\"รูปแบบไฟล์ของวิดีโอที่รายงาน\"},\"codecType\":{\"type\":\"string\",\"description\":\"ชื่อของโปรแกรมไฟล์วิดีโอที่รายงานสำหรับสื่อ\"},\"size\":{\"type\":\"integer\",\"description\":\"ขนาดของไฟล์วิดีโอที่รายงาน\"},\"bitrate\":{\"type\":\"integer\",\"description\":\"อัตราการส่งข้อมูลของวิดีโอที่รายงาน\"},\"cover\":{\"type\":\"string\",\"description\":\"URL ภาพปกวิดีโอ\"},\"dynamicCover\":{\"type\":\"string\",\"description\":\"URL ของภาพปกแบบแอนิเมชัน หากมี\"},\"originCover\":{\"type\":\"string\",\"description\":\"URL ของภาพปกต้นฉบับของวิดีโอที่รายงาน\"},\"zoomCover\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\",\"description\":\"URL ของภาพปกสำหรับป้ายขนาดที่เลือกไว้。\"},\"description\":\"ภาพปกที่ถูกปรับขนาดตามชื่อของขนาดที่รายงาน\"},\"playAddr\":{\"type\":\"string\",\"description\":\"URL สำหรับการเล่นวิดีโอโดยตรงที่ได้รับกลับมา。\"},\"downloadAddr\":{\"type\":\"string\",\"description\":\"URL สำหรับการดาวน์โหลดวิดีโอ หากมีให้。\"},\"PlayAddrStruct\":{\"type\":\"object\",\"description\":\"ข้อมูลรายละเอียดไฟล์การเล่นและ URL แทนที่。\",\"properties\":{\"Uri\":{\"type\":\"string\",\"description\":\"ข้อมูลอ้างอิงของไฟล์การเล่น。\"},\"Width\":{\"type\":\"integer\",\"description\":\"ความกว้างของเฟรมในการเล่นในพิกเซล\"},\"Height\":{\"type\":\"integer\",\"description\":\"ความสูงของเฟรมในการเล่นในพิกเซล\"},\"DataSize\":{\"type\":\"integer\",\"description\":\"ขนาดที่รายงานของไฟล์การเล่น。\"},\"UrlList\":{\"type\":\"array\",\"description\":\"URL ที่มีอยู่สำหรับไฟล์การเล่น。\",\"items\":{\"type\":\"string\",\"description\":\"URL ที่มีอยู่หนึ่งตัวสำหรับไฟล์การเล่น。\"}}}},\"bitrateInfo\":{\"type\":\"array\",\"description\":\"ตัวเลือกการเล่นที่มีอยู่พร้อมข้อมูลความเร็วรูปแบบและไฟล์。\",\"items\":{\"type\":\"object\",\"description\":\"ตัวเลือกการเล่นหนึ่งตัวสำหรับวิดีโอนี้。\",\"properties\":{\"Bitrate\":{\"type\":\"integer\",\"description\":\"ความเร็วรูปแบบที่รายงานสำหรับตัวเลือกการเล่นนี้。\"},\"BitrateFPS\":{\"type\":\"integer\",\"description\":\"อัตราการสตรีมที่รายงานสำหรับตัวเลือกการเล่นนี้。\"},\"CodecType\":{\"type\":\"string\",\"description\":\"ชื่อโค้ดสำหรับตัวเลือกการเล่นนี้。\"},\"Format\":{\"type\":\"string\",\"description\":\"รูปแบบไฟล์สำหรับตัวเลือกการเล่นนี้。\"},\"GearName\":{\"type\":\"string\",\"description\":\"ชื่อตัวเลือกการเล่นที่รายงานสำหรับตัวเลือกการเล่นนี้。\"},\"QualityType\":{\"type\":\"integer\",\"description\":\"ระดับคุณภาพที่เป็นตัวเลขที่รายงานสำหรับตัวเลือกการเล่นนี้。\"},\"PlayAddr\":{\"type\":\"object\",\"description\":\"ข้อมูลรายละเอียดไฟล์การเล่นและ URL แทนที่。\",\"properties\":{\"Uri\":{\"type\":\"string\",\"description\":\"ข้อมูลอ้างอิงของไฟล์การเล่น。\"},\"Width\":{\"type\":\"integer\",\"description\":\"ความกว้างของเฟรมในการเล่นในพิกเซล\"},\"Height\":{\"type\":\"integer\",\"description\":\"ความสูงของเฟรมในการเล่นในพิกเซล\"},\"DataSize\":{\"type\":\"integer\",\"description\":\"ขนาดที่รายงานของไฟล์การเล่น。\"},\"UrlList\":{\"type\":\"array\",\"description\":\"URL ที่มีอยู่สำหรับไฟล์การเล่น。\",\"items\":{\"type\":\"string\",\"description\":\"URL ที่มีอยู่หนึ่งตัวสำหรับไฟล์การเล่น。\"}}}}}}},\"claInfo\":{\"type\":\"object\",\"description\":\"ข้อมูลเมตาดาต้าโฆษณาอย่างละเอียดสำหรับวิดีโอ。\",\"properties\":{\"enableAutoCaption\":{\"type\":\"boolean\",\"description\":\"ว่าการเขียนคำบรรยายอัตโนมัติถูกตั้งเป็นใช้งานหรือไม่。\"},\"hasOriginalAudio\":{\"type\":\"boolean\",\"description\":\"ว่าวิดีโอมีเสียงต้นฉบับหรือไม่。\"},\"noCaptionReason\":{\"type\":\"integer\",\"description\":\"เหตุผลที่ TikTok รายงานว่าคำบรรยายมีอยู่หรือไม่。\"},\"originalLanguageInfo\":{\"type\":\"object\",\"description\":\"ข้อมูลภาษาต้นฉบับของวิดีโอ。\",\"properties\":{\"language\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงของภาษาต้นฉบับ。\"},\"languageCode\":{\"type\":\"string\",\"description\":\"รหัสภาษาที่รายงานสำหรับภาษาต้นฉบับ。\"},\"languageID\":{\"type\":\"string\",\"description\":\"ตัวระบุที่รายงานสำหรับภาษาต้นฉบับ。\"}}},\"captionInfos\":{\"type\":\"array\",\"description\":\"ท่อนบรรยายในข้อมูลเมตาดาต้าโฆษณาอย่างละเอียด。\",\"items\":{\"type\":\"object\",\"description\":\"รายการคำอธิบายหนึ่งในเมทาดาติการ์ดคำอธิบายที่ละเอียด.\",\"properties\":{\"captionFormat\":{\"type\":\"string\",\"description\":\"รูปแบบไฟล์ที่รายงานสำหรับรายการคำอธิบาย.\"},\"language\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏของภาษาของคำอธิบาย.\"},\"languageCode\":{\"type\":\"string\",\"description\":\"รหัสภาษาที่รายงานสำหรับรายการคำอธิบายนี้.\"},\"languageID\":{\"type\":\"string\",\"description\":\"ตัวระบุภาษาที่รายงานสำหรับรายการคำอธิบายนี้.\"},\"isAutoGen\":{\"type\":\"boolean\",\"description\":\"ว่าการาร์การ์ดคำอธิบายนี้ถูกกำหนดให้เป็นการสร้างโดยอัตโนมัติหรือไม่.\"},\"isOriginalCaption\":{\"type\":\"boolean\",\"description\":\"ว่าการาร์การ์ดคำอธิบายนี้ถูกกำหนดให้เป็นคำอธิบายต้นฉบับหรือไม่.\"},\"expire\":{\"type\":\"string\",\"description\":\"วันหมดอายุของ URL ของคำอธิบายในรูปแบบวินาที Unix ที่เข้ารหัสเป็นสตริง.\"},\"url\":{\"type\":\"string\",\"description\":\"URL ที่ส่งกลับสำหรับรายการคำอธิบายนี้.\"},\"urlList\":{\"type\":\"array\",\"description\":\"ลิงก์ที่มีอยู่สำหรับรายการคำอธิบายนี้.\",\"items\":{\"type\":\"string\",\"description\":\"URL หนึ่งสำหรับรายการคำอธิบาย.\"}}}}}}},\"subtitleInfos\":{\"type\":\"array\",\"description\":\"รายการคำบรรยายที่แยกออกมาในเมทาดาติวิดีโอ.\",\"items\":{\"type\":\"object\",\"description\":\"รายการคำบรรยายหนึ่งที่แสดงสำหรับวิดีโอ.\",\"properties\":{\"Format\":{\"type\":\"string\",\"description\":\"รูปแบบไฟล์ที่รายงานสำหรับรายการคำบรรยาย.\"},\"LanguageCodeName\":{\"type\":\"string\",\"description\":\"ป้ายรหัสภาษาของรายการคำบรรยาย.\"},\"LanguageID\":{\"type\":\"string\",\"description\":\"ตัวระบุภาษาที่รายงานสำหรับรายการคำบรรยาย.\"},\"Size\":{\"type\":\"integer\",\"description\":\"ขนาดที่รายงานของทรัพยากรคำบรรยาย.\"},\"Source\":{\"type\":\"string\",\"description\":\"ป้ายชื่อแหล่งที่มาที่รายงานสำหรับรายการคำบรรยาย.\"},\"Url\":{\"type\":\"string\",\"description\":\"URL ที่ส่งกลับสำหรับทรัพยากรคำบรรยาย.\"},\"UrlExpire\":{\"type\":\"integer\",\"description\":\"เวลาหมดอายุของ URL คำบรรยายในรูปแบบวินาที Unix.\"}}}}}},\"music\":{\"type\":\"object\",\"description\":\"ข้อมูลการ์ดเสียงสาธารณะที่แสดงพร้อมกับโพสต์.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ตัวระบุ TikTok ของการ์ดเสียง.\"},\"title\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏของการ์ดเสียง.\"},\"authorName\":{\"type\":\"string\",\"description\":\"ชื่อผู้สร้างที่ปรากฏของการ์ดเสียง.\"},\"original\":{\"type\":\"boolean\",\"description\":\"ว่าการ์ดเสียงนี้ถูกกำหนดให้เป็นเสียงต้นฉบับหรือไม่.\"},\"duration\":{\"type\":\"integer\",\"description\":\"ระยะเวลาที่รายงานของเทรนด์เสียง\"},\"isCopyrighted\":{\"type\":\"boolean\",\"description\":\"เทรนด์นี้ถูกระบุว่าเป็นลิขสิทธิ์หรือไม่\"},\"is_commerce_music\":{\"type\":\"boolean\",\"description\":\"เทรนด์นี้ถูกระบุสำหรับการใช้เป็นเพลงเชิงพาณิชย์หรือไม่\"},\"coverThumb\":{\"type\":\"string\",\"description\":\"URL สำหรับภาพขนาดกลางของเทรนด์เสียง\"},\"coverMedium\":{\"type\":\"string\",\"description\":\"URL สำหรับภาพขนาดใหญของเทรนด์เสียง\"},\"coverLarge\":{\"type\":\"string\",\"description\":\"URL สำหรับ URL การเล่นเสียงที่ส่งมาพร้อมกับเทรนด์\"},\"playUrl\":{\"type\":\"string\",\"description\":\"URL สำหรับการเล่นเสียงที่ส่งกลับมาพร้อมกับเพลง\"}}}}}}},\"shareMeta\":{\"type\":\"object\",\"description\":\"ชื่อที่แสดงสำหรับการแชร์โพสต์\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"คำอธิบายที่แสดงสำหรับการแชร์โพสต์\"},\"desc\":{\"type\":\"string\",\"description\":\"ผลการค้นหาประวัติผู้ใช้ TikTok. คำตอบอาจมีเพียงข้อมูลสถานะเมื่อประวัติผู้ใช้ไม่พร้อมใช้งาน\"}}}}}}},\"allOf\":[{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}]}}}},\"400\":{\"description\":\"พารามิเตอร์หรือเนื้อหาของคำขอที่ไม่ถูกต้อง\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"401\":{\"description\":\"ท่อนำข้อมูลหรือ access token ที่ไม่ถูกต้องหรือไม่มีการใช้งาน\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"403\":{\"description\":\"การอนุญาตถูกปฏิเสธ\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"429\":{\"description\":\"อัตราการขอหรือจำนวนคำสั่งที่จำกัดในแต่ละวันถูกเกิน\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"500\":{\"description\":\"ความผิดพลาดของเซิร์ฟเวอร์ภายใน\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"503\":{\"description\":\"บริการไม่สามารถใช้งานได้ในขณะนี้\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}}}")'
  :servers='JSON.parse("[{\"url\":\"https://api.justoneapi.com\",\"description\":\"API สำหรับการผลิตทั่วโลก (ค่าเริ่มต้น)\"}]")'
  :security='JSON.parse("[]")'
  :securitySchemes='JSON.parse("{}")'
  :schemas='JSON.parse("{}")'
/>

<ApiHealthSection :api='JSON.parse("\"/api/tiktok/get-post-detail/v1\"")' />

<p>ค้นหาข้อมูลรายละเอียดของโพสต์ TikTok ที่ระบุด้วย ID โพสต์ ใช้เพื่อค้นหาวิดีโอ TikTok ที่รู้จักก่อนการตรวจสอบเนื้อหา การรายงาน หรือการวิเคราะห์การมีส่วนร่วมที่เกี่ยวข้อง</p>

## พารามิเตอร์

<div class="api-doc-table api-doc-table--params">

| ชื่อ | ตำแหน่ง | ชนิดข้อมูล | จำเป็น | ค่าเริ่มต้น | คำอธิบาย |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | ใช่ | - | โทเค็นความปลอดภัยสำหรับเข้าถึง API |
| <code>postId</code> | query | <code>string</code> | ใช่ | - | ID เอกลักษณ์ของโพสต์ TikTok. |

</div>

## ตัวอย่างโค้ด

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/tiktok/get-post-detail/v1?token=YOUR_API_KEY&postId=VALUE'
```

```text [🤖 คำแนะนำสำหรับ AI]
ฉันต้องการใช้ API "รายละเอียดโพสต์ (V1)" จาก JustOneAPI.
URL หลัก: https://api.justoneapi.com.
เส้นทาง API: /api/tiktok/get-post-detail/v1?token=YOUR_API_KEY&postId=VALUE
เอนด์พอยต์ API: BASE_URL + /api/tiktok/get-post-detail/v1?token=YOUR_API_KEY&postId=VALUE
เมธอด HTTP: GET
การยืนยันตัวตน: เพิ่มพารามิเตอร์ "token" เข้าไปใน URL.
คำนิยาม OpenAPI: https://docs.justoneapi.com/openapi/tiktok/post-details-v1-th.json

พารามิเตอร์:
- token (query): โทเค็นความปลอดภัยสำหรับเข้าถึง API (จำเป็น)
- postId (query): ID เอกลักษณ์ของโพสต์ TikTok. (จำเป็น)

รูปแบบที่ส่งกลับ: จัดการ JSON หรือข้อความอย่างปลอดภัยตามค่า Content-Type ที่ได้รับจริง

การจัดการผลตอบกลับและรหัสข้อผิดพลาด:
1. ตรวจสอบผลการทำงานจากฟิลด์ "code" ในผลตอบกลับ (รหัส 0 หมายถึงสำเร็จ)
2. แนะนำให้ตั้งระยะเวลารอ 120 วินาที หาก 120 วินาทีนานเกินไป ให้ตั้งอย่างน้อย 60 วินาที แต่คำขอบางรายการอาจหมดเวลาก่อนได้รับผลลัพธ์
3. รหัสผลลัพธ์:
   - 0: สำเร็จ
   - 100: โทเคนไม่ถูกต้องหรือถูกปิดใช้งาน
   - 301: ดึงข้อมูลไม่สำเร็จ โปรดลองอีกครั้ง
   - 302: เกินขีดจำกัดอัตราการเรียก
   - 303: ใช้โควตารายวันครบแล้ว
   - 400: พารามิเตอร์ไม่ถูกต้อง
   - 500: ข้อผิดพลาดภายในเซิร์ฟเวอร์
   - 600: ไม่มีสิทธิ์เข้าถึง
   - 601: ยอดเงินคงเหลือไม่เพียงพอ
   - 602: ถึงวงเงินของโทเคนแล้ว
4. รหัส 601 หมายถึงยอดเงินที่ใช้ร่วมกันของบัญชีไม่เพียงพอ รหัส 602 หมายถึงโทเคน API ถึงวงเงินสะสมของตนเองแล้ว การกำหนดวงเงินโทเคนจะไม่โอนเงินออกจากยอดเงินที่ใช้ร่วมกันของบัญชี

กรุณาช่วยเขียนสคริปต์ในภาษาโปรแกรมที่ฉันชื่นชอบเพื่อเรียกใช้ API และจัดการการตอบกลับ.
```

```python [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # ให้โดยเซิร์ฟเวอร์ OpenAPI

url = BASE_URL + "/api/tiktok/get-post-detail/v1?token=YOUR_API_KEY&postId=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
    content_type = response.headers.get("content-type", "").lower()
    if "json" in content_type:
        try:
            print(response.json())
        except ValueError:
            print(response.text)
    elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
        print(response.text)
    else:
        with open("response.bin", "wb") as output:
            output.write(response.content)
        print(f"Saved {len(response.content)} bytes to response.bin")
```

```js [🌐 JavaScript]
const BASE_URL = "https://api.justoneapi.com"; // ให้โดยเซิร์ฟเวอร์ OpenAPI
const url = BASE_URL + "/api/tiktok/get-post-detail/v1?token=YOUR_API_KEY&postId=VALUE";

const response = await fetch(url, {
  method: "GET",
  signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
  const contentType = (response.headers.get("content-type") || "").toLowerCase();
  const mediaType = contentType.split(";", 1)[0].trim();
  const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
  if (textual) {
    const responseText = new TextDecoder().decode(responseBytes);
    let data = responseText;
    if (contentType.includes("json")) {
      try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
    }
    console.log(data);
  } else {
    console.log(`Received ${responseBytes.byteLength} binary bytes`);
  }
}
```

```java [☕ Java]
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;

public class Main {
    public static void main(String[] args) throws Exception {
        final String BASE_URL = "https://api.justoneapi.com"; // ให้โดยเซิร์ฟเวอร์ OpenAPI
        final String url = BASE_URL + "/api/tiktok/get-post-detail/v1?token=YOUR_API_KEY&postId=VALUE";

        HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
        HttpRequest.Builder builder = HttpRequest.newBuilder()
            .uri(URI.create(url))
            .timeout(Duration.ofSeconds(120))
            .method("GET", HttpRequest.BodyPublishers.noBody());

        HttpRequest request = builder.build();

        HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
        System.out.println(response.statusCode());
        String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
        String mediaType = contentType.split(";", 2)[0].trim();
        if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
            System.out.println(new String(response.body(), StandardCharsets.UTF_8));
        } else {
            Files.write(Path.of("response.bin"), response.body());
            System.out.println("Saved " + response.body().length + " bytes to response.bin");
        }
    }
}
```

```go [🐹 Go]
package main

import (
	"fmt"
	"io"
	"os"
	"strings"
	"net/http"
	"time"
)

const BASE_URL = "https://api.justoneapi.com" // ให้โดยเซิร์ฟเวอร์ OpenAPI

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/tiktok/get-post-detail/v1?token=YOUR_API_KEY&postId=VALUE"
	req, _ := http.NewRequest("GET", url, nil)
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	fmt.Println(resp.StatusCode)
	bodyBytes, _ := io.ReadAll(resp.Body)
	contentType := strings.ToLower(resp.Header.Get("Content-Type"))
	mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
	if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
		fmt.Println(string(bodyBytes))
	} else {
		os.WriteFile("response.bin", bodyBytes, 0600)
		fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
	}
}
```

```php [🐘 PHP]
<?php
$BASE_URL = 'https://api.justoneapi.com'; // ให้โดยเซิร์ฟเวอร์ OpenAPI
$url = $BASE_URL . '/api/tiktok/get-post-detail/v1?token=YOUR_API_KEY&postId=VALUE';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
    echo $response;
} else {
    file_put_contents('response.bin', $response);
    echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
```

:::

<div style="text-align: right; margin-top: -20px; margin-bottom: 20px;">
<a href="/openapi/tiktok/post-details-v1-th.json" target="_blank" style="font-size: 12px; color: var(--vp-c-text-3); text-decoration: none; opacity: 0.8;">[คำนิยาม OpenAPI (JSON)]</a>
</div>

## ฟิลด์ที่ได้รับการตอบกลับ

ฟิลด์สำคัญในผลการตอบกลับที่สำเร็จ (`code = 0`).

<div class="api-doc-table api-doc-table--response">

| เส้นทางฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
| --- | --- | --- |
| <code>data</code> | - | รายละเอียดของโพสต์บน TikTok และสถานะที่รายงาน โพสต์ที่ประสบความสำเร็จอาจมีฟิลด์สถานะโดยไม่มีรายละเอียดของรายการ |
| <code>data.statusCode</code> | <code>integer</code> | รหัสสถานะการค้นหาโพสต์บน TikTok มีค่าเป็นหนึ่งสำหรับการตอบกลับที่มีสถานะเท่านั้น |
| <code>data.status_code</code> | <code>integer</code> | ฟิลด์สถานะเพิ่มเติมบน TikTok ค่าเป็น 0 ในการตอบกลับที่ได้รับการยืนยันโดยไม่มีรายละเอียดของรายการ |
| <code>data.status_msg</code> | <code>string</code> | ข้อความสถานะที่รายงานสำหรับการค้นหาโพสต์ อาจเป็นสตริงว่าง |
| <code>data.itemInfo</code> | <code>object</code> | ข้อมูลการโพสต์ หากมีอยู่ |
| <code>data.itemInfo.itemStruct</code> | <code>object</code> | รายละเอียด TikTok สำหรับโพสต์ที่ขอมา หากได้รับการส่งกลับมา |
| <code>data.itemInfo.itemStruct.id</code> | <code>string</code> | ตัวระบุโพสต์ TikTok |
| <code>data.itemInfo.itemStruct.desc</code> | <code>string</code> | คำอธิบายของโพสต์ TikTok |
| <code>data.itemInfo.itemStruct.createTime</code> | <code>integer</code> | เวลาการสร้างโพสต์ในรูปแบบวินาที Unix epoch |
| <code>data.itemInfo.itemStruct.textLanguage</code> | <code>string</code> | รหัสภาษาที่รายงานสำหรับข้อความโพสต์ |
| <code>data.itemInfo.itemStruct.textTranslatable</code> | <code>boolean</code> | ว่าทิค Tokb จะจัดให้ข้อความโพสต์เป็นภาษาที่สามารถแปลได้หรือไม่ |
| <code>data.itemInfo.itemStruct.playlistId</code> | <code>string</code> | ตัวระบุรายการเพลย์ลิสต์ TikTok ที่เกี่ยวข้องกับโพสต์ หากได้รับการส่งกลับมา |
| <code>data.itemInfo.itemStruct.textExtra</code> | <code>array</code> | คำอธิบายสำหรับคำอธิบายหลักของโพสต์ |
| <code>data.itemInfo.itemStruct.textExtra[]</code> | <code>object</code> | คำอธิบายหนึ่งที่เกี่ยวข้องกับส่วนหนึ่งของข้อความโพสต์ |
| <code>data.itemInfo.itemStruct.textExtra[].start</code> | <code>integer</code> | ค่าการเริ่มต้นในหน่วย UTF-16 ภายในข้อความที่เกี่ยวข้อง |
| <code>data.itemInfo.itemStruct.textExtra[].end</code> | <code>integer</code> | ค่าการสิ้นสุดเฉพาะที่เกี่ยวข้องในหน่วย UTF-16 ภายในข้อความที่เกี่ยวข้อง |
| <code>data.itemInfo.itemStruct.textExtra[].hashtagId</code> | <code>string</code> | ตัวระบุของ hashtag ที่มีคำอธิบาย |
| <code>data.itemInfo.itemStruct.textExtra[].hashtagName</code> | <code>string</code> | ชื่อที่ปรากฏของ hashtag ที่มีคำอธิบาย |
| <code>data.itemInfo.itemStruct.textExtra[].type</code> | <code>integer</code> | ประเภทตัวเลขที่รายงานสำหรับคำอธิบายนี้ |
| <code>data.itemInfo.itemStruct.textExtra[].subType</code> | <code>integer</code> | ประเภทตัวเลขย่อยที่รายงานสำหรับคำอธิบายนี้ |
| <code>data.itemInfo.itemStruct.textExtra[].awemeId</code> | <code>string</code> | ID โพสต์ TikTok ที่เกี่ยวข้องกับคำอธิบายนี้ หากมีการส่งมา |
| <code>data.itemInfo.itemStruct.textExtra[].isCommerce</code> | <code>boolean</code> | ว่าคำอธิบายข้อความนั้นเกี่ยวข้องกับการค้าขายหรือไม่ |
| <code>data.itemInfo.itemStruct.contents</code> | <code>array</code> | หัวข้อหรือความท้าทายที่เกี่ยวข้องกับโพสต์ที่ส่งกลับมา |
| <code>data.itemInfo.itemStruct.contents[]</code> | <code>object</code> | หัวข้อ TikTok หนึ่งที่เกี่ยวข้องกับโพสต์ |
| <code>data.itemInfo.itemStruct.contents[].desc</code> | <code>string</code> | ข้อความคำอธิบายที่ส่งมาสำหรับหัวข้อเนื้อหานี้ |
| <code>data.itemInfo.itemStruct.contents[].textExtra</code> | <code>array</code> | คำอธิบายสำหรับข้อความของหัวข้อเนื้อหานี้ |
| <code>data.itemInfo.itemStruct.contents[].textExtra[]</code> | <code>object</code> | คำอธิบายหนึ่งที่เกี่ยวข้องกับส่วนหนึ่งของข้อความโพสต์ |
| <code>data.itemInfo.itemStruct.contents[].textExtra[].start</code> | <code>integer</code> | ค่าการเริ่มต้นในหน่วย UTF-16 ภายในข้อความที่เกี่ยวข้อง |
| <code>data.itemInfo.itemStruct.contents[].textExtra[].end</code> | <code>integer</code> | ค่าการสิ้นสุดเฉพาะที่เกี่ยวข้องในหน่วย UTF-16 ภายในข้อความที่เกี่ยวข้อง |
| <code>data.itemInfo.itemStruct.contents[].textExtra[].hashtagId</code> | <code>string</code> | ตัวระบุของ hashtag ที่มีคำอธิบาย |
| <code>data.itemInfo.itemStruct.contents[].textExtra[].hashtagName</code> | <code>string</code> | ชื่อที่ปรากฏของ hashtag ที่มีคำอธิบาย |
| <code>data.itemInfo.itemStruct.contents[].textExtra[].type</code> | <code>integer</code> | ประเภทตัวเลขที่รายงานสำหรับคำอธิบายนี้ |
| <code>data.itemInfo.itemStruct.contents[].textExtra[].subType</code> | <code>integer</code> | ประเภทตัวเลขย่อยที่รายงานสำหรับคำอธิบายนี้ |
| <code>data.itemInfo.itemStruct.contents[].textExtra[].awemeId</code> | <code>string</code> | ID โพสต์ TikTok ที่เกี่ยวข้องกับคำอธิบายนี้ หากมีการส่งมา |
| <code>data.itemInfo.itemStruct.contents[].textExtra[].isCommerce</code> | <code>boolean</code> | ว่าคำอธิบายข้อความนั้นเกี่ยวข้องกับการค้าขายหรือไม่ |
| <code>data.itemInfo.itemStruct.challenges</code> | <code>array</code> | หัวข้อหรือความท้าทายที่เกี่ยวข้องกับโพสต์ |
| <code>data.itemInfo.itemStruct.challenges[]</code> | <code>object</code> | ตัวระบุ TikTok ของหัวข้อหรือความท้าทายที่เกี่ยวข้องกับโพสต์ |
| <code>data.itemInfo.itemStruct.challenges[].id</code> | <code>string</code> | ตัวระบุ TikTok ของหัวข้อ |
| <code>data.itemInfo.itemStruct.challenges[].title</code> | <code>string</code> | ชื่อเรื่องที่แสดงของหัวข้อ |
| <code>data.itemInfo.itemStruct.challenges[].desc</code> | <code>string</code> | แสดงคำอธิบายเกี่ยวกับหัวข้อนี้。 |
| <code>data.itemInfo.itemStruct.challenges[].coverThumb</code> | <code>string</code> | URL รูปภาพปกสำหรับหัวข้อนี้。 |
| <code>data.itemInfo.itemStruct.challenges[].coverMedium</code> | <code>string</code> | URL รูปภาพปกขนาดกลางสำหรับหัวข้อนี้。 |
| <code>data.itemInfo.itemStruct.challenges[].coverLarger</code> | <code>string</code> | URL รูปภาพปกขนาดใหญ่สำหรับหัวข้อนี้。 |
| <code>data.itemInfo.itemStruct.author</code> | <code>object</code> | ข้อมูลบัญชี TikTok ของผู้เขียนโพสต์。 |
| <code>data.itemInfo.itemStruct.author.id</code> | <code>string</code> | ID ของผู้เขียน TikTok。 |
| <code>data.itemInfo.itemStruct.author.secUid</code> | <code>string</code> | ตัวระบุผู้ใช้ TikTok รอง。 |
| <code>data.itemInfo.itemStruct.author.uniqueId</code> | <code>string</code> | ชื่อผู้ใช้ TikTok ที่เป็นสาธารณะ。 |
| <code>data.itemInfo.itemStruct.author.nickname</code> | <code>string</code> | ชื่อที่ปรากฏของผู้ใช้ TikTok。 |
| <code>data.itemInfo.itemStruct.author.verified</code> | <code>boolean</code> | ว่าผู้เขียนถูกจัดการเป็น verified หรือไม่. |
| <code>data.itemInfo.itemStruct.author.privateAccount</code> | <code>boolean</code> | TikTok กำหนดบัญชีผู้เขียนเป็นส่วนตัวหรือไม่。 |
| <code>data.itemInfo.itemStruct.author.avatarThumb</code> | <code>string</code> | URL รูปภาพอวตารของผู้เขียน。 |
| <code>data.itemInfo.itemStruct.author.avatarMedium</code> | <code>string</code> | URL รูปภาพอวตารขนาดกลางของผู้เขียน。 |
| <code>data.itemInfo.itemStruct.author.avatarLarger</code> | <code>string</code> | URL รูปภาพอวตารขนาดใหญ่ของผู้เขียน。 |
| <code>data.itemInfo.itemStruct.authorStats</code> | <code>object</code> | ตัวชี้วัดของผู้เขียนที่คำนวณเป็นตัวเลขจริง。 |
| <code>data.itemInfo.itemStruct.authorStats.followerCount</code> | <code>integer</code> | จำนวนผู้ติดตามของผู้เขียน。 |
| <code>data.itemInfo.itemStruct.authorStats.followingCount</code> | <code>integer</code> | จำนวนผู้ติดตามของผู้เขียนที่อื่น。 |
| <code>data.itemInfo.itemStruct.authorStats.videoCount</code> | <code>integer</code> | จำนวนวิดีโอของผู้เขียน。 |
| <code>data.itemInfo.itemStruct.authorStats.heartCount</code> | <code>integer</code> | จำนวนไลก์ทั้งหมดที่ผู้เขียนได้รับที่รายงาน。 |
| <code>data.itemInfo.itemStruct.authorStats.heart</code> | <code>integer</code> | จำนวนไลก์เพิ่มเติมที่รายงานในรูปแบบหัวใจของผู้เขียน。 |
| <code>data.itemInfo.itemStruct.authorStats.diggCount</code> | <code>integer</code> | จำนวน Digg ของผู้เขียนที่ TikTok รายงาน。 |
| <code>data.itemInfo.itemStruct.authorStatsV2</code> | <code>object</code> | ตัวชี้วัดของผู้เขียนที่คำนวณเป็นสตริงทศนิยม。 |
| <code>data.itemInfo.itemStruct.authorStatsV2.followerCount</code> | <code>string</code> | จำนวนผู้ติดตามของผู้เขียนเป็นข้อความทศนิยม。 |
| <code>data.itemInfo.itemStruct.authorStatsV2.followingCount</code> | <code>string</code> | จำนวนผู้ติดตามของผู้เขียนเป็นข้อความทศนิยม。 |
| <code>data.itemInfo.itemStruct.authorStatsV2.videoCount</code> | <code>string</code> | จำนวนวิดีโอของผู้เขียนเป็นข้อความทศนิยม。 |
| <code>data.itemInfo.itemStruct.authorStatsV2.heartCount</code> | <code>string</code> | จำนวนไลก์ทั้งหมดที่ผู้เขียนได้รับที่รายงานเป็นข้อความทศนิยม。 |
| <code>data.itemInfo.itemStruct.authorStatsV2.heart</code> | <code>string</code> | จำนวนคนที่ชื่นชอบเพิ่มเติมที่รายงานเป็นตัวเลขทศนิยมในรูปแบบข้อความ |
| <code>data.itemInfo.itemStruct.authorStatsV2.diggCount</code> | <code>string</code> | จำนวนคนที่ชื่นชอบที่รายงานโดย TikTok เป็นตัวเลขทศนิยมในรูปแบบข้อความ |
| <code>data.itemInfo.itemStruct.stats</code> | <code>object</code> | ตัวชี้วัดของโพสต์ที่ส่งคืนมาเป็นจำนวนเต็ม |
| <code>data.itemInfo.itemStruct.stats.playCount</code> | <code>integer</code> | จำนวนครั้งที่โพสต์ถูกเล่นที่รายงาน |
| <code>data.itemInfo.itemStruct.stats.diggCount</code> | <code>integer</code> | จำนวนไลก์ของโพสต์ตามที่รายงาน |
| <code>data.itemInfo.itemStruct.stats.commentCount</code> | <code>integer</code> | จำนวนความคิดเห็นของโพสต์ตามที่รายงาน |
| <code>data.itemInfo.itemStruct.stats.shareCount</code> | <code>integer</code> | จำนวนการแชร์ของโพสต์ตามที่รายงาน |
| <code>data.itemInfo.itemStruct.stats.collectCount</code> | <code>integer</code> | จำนวนครั้งที่โพสต์ถูกบันทึกที่รายงาน |
| <code>data.itemInfo.itemStruct.statsV2</code> | <code>object</code> | ตัวชี้วัดของโพสต์ที่ส่งคืนมาเป็นสตริงตัวเลขทศนิยม |
| <code>data.itemInfo.itemStruct.statsV2.playCount</code> | <code>string</code> | จำนวนครั้งที่โพสต์ถูกเล่นที่รายงานเป็นตัวเลขทศนิยม |
| <code>data.itemInfo.itemStruct.statsV2.diggCount</code> | <code>string</code> | จำนวนคนที่ชื่นชอบที่รายงานเป็นตัวเลขทศนิยม |
| <code>data.itemInfo.itemStruct.statsV2.commentCount</code> | <code>string</code> | จำนวนความคิดเห็นที่รายงานเป็นตัวเลขทศนิยม |
| <code>data.itemInfo.itemStruct.statsV2.shareCount</code> | <code>string</code> | จำนวนครั้งที่โพสต์ถูกแชร์ที่รายงานเป็นตัวเลขทศนิยม |
| <code>data.itemInfo.itemStruct.statsV2.collectCount</code> | <code>string</code> | จำนวนครั้งที่โพสต์ถูกบันทึกเป็นตัวเลขทศนิยม |
| <code>data.itemInfo.itemStruct.statsV2.repostCount</code> | <code>string</code> | จำนวนครั้งที่โพสต์ถูกนำไปโพสต์ซ้ำที่รายงานเป็นตัวเลขทศนิยม |
| <code>data.itemInfo.itemStruct.video</code> | <code>object</code> | วิดีโอสื่อ, ภาพปก, ไฟล์การเล่นวิดีโอ และคำบรรยายสำหรับโพสต์ |
| <code>data.itemInfo.itemStruct.video.id</code> | <code>string</code> | ตัวระบุวิดีโอที่รายงานในอ็อบเจกต์สื่อ |
| <code>data.itemInfo.itemStruct.video.videoID</code> | <code>string</code> | ตัวระบุวิดีโอเพิ่มเติมที่ถูกส่งมาพร้อมกับอ็อบเจกต์สื่อ |
| <code>data.itemInfo.itemStruct.video.duration</code> | <code>integer</code> | ความยาวของวิดีโอในวินาที |
| <code>data.itemInfo.itemStruct.video.width</code> | <code>integer</code> | ความกว้างของเฟรมวิดีโอในพิกเซล |
| <code>data.itemInfo.itemStruct.video.height</code> | <code>integer</code> | ความสูงของเฟรมวิดีโอในพิกเซล |
| <code>data.itemInfo.itemStruct.video.ratio</code> | <code>string</code> | ชื่อของอัตราส่วนหรือความละเอียดของวิดีโอที่ TikTok ส่งคืนมา |
| <code>data.itemInfo.itemStruct.video.definition</code> | <code>string</code> | ชื่อของการแสดงผลสำหรับวิดีโอ |
| <code>data.itemInfo.itemStruct.video.format</code> | <code>string</code> | รูปแบบไฟล์ของวิดีโอที่รายงาน |
| <code>data.itemInfo.itemStruct.video.codecType</code> | <code>string</code> | ชื่อของโปรแกรมไฟล์วิดีโอที่รายงานสำหรับสื่อ |
| <code>data.itemInfo.itemStruct.video.size</code> | <code>integer</code> | ขนาดของไฟล์วิดีโอที่รายงาน |
| <code>data.itemInfo.itemStruct.video.bitrate</code> | <code>integer</code> | อัตราการส่งข้อมูลของวิดีโอที่รายงาน |
| <code>data.itemInfo.itemStruct.video.cover</code> | <code>string</code> | URL ภาพปกวิดีโอ |
| <code>data.itemInfo.itemStruct.video.dynamicCover</code> | <code>string</code> | URL ของภาพปกแบบแอนิเมชัน หากมี |
| <code>data.itemInfo.itemStruct.video.originCover</code> | <code>string</code> | URL ของภาพปกต้นฉบับของวิดีโอที่รายงาน |
| <code>data.itemInfo.itemStruct.video.zoomCover</code> | <code>object</code> | ภาพปกที่ถูกปรับขนาดตามชื่อของขนาดที่รายงาน |
| <code>data.itemInfo.itemStruct.video.zoomCover.{key}</code> | <code>string</code> | URL ของภาพปกสำหรับป้ายขนาดที่เลือกไว้。 |
| <code>data.itemInfo.itemStruct.video.playAddr</code> | <code>string</code> | URL สำหรับการเล่นวิดีโอโดยตรงที่ได้รับกลับมา。 |
| <code>data.itemInfo.itemStruct.video.downloadAddr</code> | <code>string</code> | URL สำหรับการดาวน์โหลดวิดีโอ หากมีให้。 |
| <code>data.itemInfo.itemStruct.video.PlayAddrStruct</code> | <code>object</code> | ข้อมูลรายละเอียดไฟล์การเล่นและ URL แทนที่。 |
| <code>data.itemInfo.itemStruct.video.PlayAddrStruct.Uri</code> | <code>string</code> | ข้อมูลอ้างอิงของไฟล์การเล่น。 |
| <code>data.itemInfo.itemStruct.video.PlayAddrStruct.Width</code> | <code>integer</code> | ความกว้างของเฟรมในการเล่นในพิกเซล |
| <code>data.itemInfo.itemStruct.video.PlayAddrStruct.Height</code> | <code>integer</code> | ความสูงของเฟรมในการเล่นในพิกเซล |
| <code>data.itemInfo.itemStruct.video.PlayAddrStruct.DataSize</code> | <code>integer</code> | ขนาดที่รายงานของไฟล์การเล่น。 |
| <code>data.itemInfo.itemStruct.video.PlayAddrStruct.UrlList</code> | <code>array</code> | URL ที่มีอยู่สำหรับไฟล์การเล่น。 |
| <code>data.itemInfo.itemStruct.video.PlayAddrStruct.UrlList[]</code> | <code>string</code> | URL ที่มีอยู่หนึ่งตัวสำหรับไฟล์การเล่น。 |
| <code>data.itemInfo.itemStruct.video.bitrateInfo</code> | <code>array</code> | ตัวเลือกการเล่นที่มีอยู่พร้อมข้อมูลความเร็วรูปแบบและไฟล์。 |
| <code>data.itemInfo.itemStruct.video.bitrateInfo[]</code> | <code>object</code> | ตัวเลือกการเล่นหนึ่งตัวสำหรับวิดีโอนี้。 |
| <code>data.itemInfo.itemStruct.video.bitrateInfo[].Bitrate</code> | <code>integer</code> | ความเร็วรูปแบบที่รายงานสำหรับตัวเลือกการเล่นนี้。 |
| <code>data.itemInfo.itemStruct.video.bitrateInfo[].BitrateFPS</code> | <code>integer</code> | อัตราการสตรีมที่รายงานสำหรับตัวเลือกการเล่นนี้。 |
| <code>data.itemInfo.itemStruct.video.bitrateInfo[].CodecType</code> | <code>string</code> | ชื่อโค้ดสำหรับตัวเลือกการเล่นนี้。 |
| <code>data.itemInfo.itemStruct.video.bitrateInfo[].Format</code> | <code>string</code> | รูปแบบไฟล์สำหรับตัวเลือกการเล่นนี้。 |
| <code>data.itemInfo.itemStruct.video.bitrateInfo[].GearName</code> | <code>string</code> | ชื่อตัวเลือกการเล่นที่รายงานสำหรับตัวเลือกการเล่นนี้。 |
| <code>data.itemInfo.itemStruct.video.bitrateInfo[].QualityType</code> | <code>integer</code> | ระดับคุณภาพที่เป็นตัวเลขที่รายงานสำหรับตัวเลือกการเล่นนี้。 |
| <code>data.itemInfo.itemStruct.video.bitrateInfo[].PlayAddr</code> | <code>object</code> | ข้อมูลรายละเอียดไฟล์การเล่นและ URL แทนที่。 |
| <code>data.itemInfo.itemStruct.video.bitrateInfo[].PlayAddr.Uri</code> | <code>string</code> | ข้อมูลอ้างอิงของไฟล์การเล่น。 |
| <code>data.itemInfo.itemStruct.video.bitrateInfo[].PlayAddr.Width</code> | <code>integer</code> | ความกว้างของเฟรมในการเล่นในพิกเซล |
| <code>data.itemInfo.itemStruct.video.bitrateInfo[].PlayAddr.Height</code> | <code>integer</code> | ความสูงของเฟรมในการเล่นในพิกเซล |
| <code>data.itemInfo.itemStruct.video.bitrateInfo[].PlayAddr.DataSize</code> | <code>integer</code> | ขนาดที่รายงานของไฟล์การเล่น。 |
| <code>data.itemInfo.itemStruct.video.bitrateInfo[].PlayAddr.UrlList</code> | <code>array</code> | URL ที่มีอยู่สำหรับไฟล์การเล่น。 |
| <code>data.itemInfo.itemStruct.video.bitrateInfo[].PlayAddr.UrlList[]</code> | <code>string</code> | URL ที่มีอยู่หนึ่งตัวสำหรับไฟล์การเล่น。 |
| <code>data.itemInfo.itemStruct.video.claInfo</code> | <code>object</code> | ข้อมูลเมตาดาต้าโฆษณาอย่างละเอียดสำหรับวิดีโอ。 |
| <code>data.itemInfo.itemStruct.video.claInfo.enableAutoCaption</code> | <code>boolean</code> | ว่าการเขียนคำบรรยายอัตโนมัติถูกตั้งเป็นใช้งานหรือไม่。 |
| <code>data.itemInfo.itemStruct.video.claInfo.hasOriginalAudio</code> | <code>boolean</code> | ว่าวิดีโอมีเสียงต้นฉบับหรือไม่。 |
| <code>data.itemInfo.itemStruct.video.claInfo.noCaptionReason</code> | <code>integer</code> | เหตุผลที่ TikTok รายงานว่าคำบรรยายมีอยู่หรือไม่。 |
| <code>data.itemInfo.itemStruct.video.claInfo.originalLanguageInfo</code> | <code>object</code> | ข้อมูลภาษาต้นฉบับของวิดีโอ。 |
| <code>data.itemInfo.itemStruct.video.claInfo.originalLanguageInfo.language</code> | <code>string</code> | ชื่อที่แสดงของภาษาต้นฉบับ。 |
| <code>data.itemInfo.itemStruct.video.claInfo.originalLanguageInfo.languageCode</code> | <code>string</code> | รหัสภาษาที่รายงานสำหรับภาษาต้นฉบับ。 |
| <code>data.itemInfo.itemStruct.video.claInfo.originalLanguageInfo.languageID</code> | <code>string</code> | ตัวระบุที่รายงานสำหรับภาษาต้นฉบับ。 |
| <code>data.itemInfo.itemStruct.video.claInfo.captionInfos</code> | <code>array</code> | ท่อนบรรยายในข้อมูลเมตาดาต้าโฆษณาอย่างละเอียด。 |
| <code>data.itemInfo.itemStruct.video.claInfo.captionInfos[]</code> | <code>object</code> | รายการคำอธิบายหนึ่งในเมทาดาติการ์ดคำอธิบายที่ละเอียด. |
| <code>data.itemInfo.itemStruct.video.claInfo.captionInfos[].captionFormat</code> | <code>string</code> | รูปแบบไฟล์ที่รายงานสำหรับรายการคำอธิบาย. |
| <code>data.itemInfo.itemStruct.video.claInfo.captionInfos[].language</code> | <code>string</code> | ชื่อที่ปรากฏของภาษาของคำอธิบาย. |
| <code>data.itemInfo.itemStruct.video.claInfo.captionInfos[].languageCode</code> | <code>string</code> | รหัสภาษาที่รายงานสำหรับรายการคำอธิบายนี้. |
| <code>data.itemInfo.itemStruct.video.claInfo.captionInfos[].languageID</code> | <code>string</code> | ตัวระบุภาษาที่รายงานสำหรับรายการคำอธิบายนี้. |
| <code>data.itemInfo.itemStruct.video.claInfo.captionInfos[].isAutoGen</code> | <code>boolean</code> | ว่าการาร์การ์ดคำอธิบายนี้ถูกกำหนดให้เป็นการสร้างโดยอัตโนมัติหรือไม่. |
| <code>data.itemInfo.itemStruct.video.claInfo.captionInfos[].isOriginalCaption</code> | <code>boolean</code> | ว่าการาร์การ์ดคำอธิบายนี้ถูกกำหนดให้เป็นคำอธิบายต้นฉบับหรือไม่. |
| <code>data.itemInfo.itemStruct.video.claInfo.captionInfos[].expire</code> | <code>string</code> | วันหมดอายุของ URL ของคำอธิบายในรูปแบบวินาที Unix ที่เข้ารหัสเป็นสตริง. |
| <code>data.itemInfo.itemStruct.video.claInfo.captionInfos[].url</code> | <code>string</code> | URL ที่ส่งกลับสำหรับรายการคำอธิบายนี้. |
| <code>data.itemInfo.itemStruct.video.claInfo.captionInfos[].urlList</code> | <code>array</code> | ลิงก์ที่มีอยู่สำหรับรายการคำอธิบายนี้. |
| <code>data.itemInfo.itemStruct.video.claInfo.captionInfos[].urlList[]</code> | <code>string</code> | URL หนึ่งสำหรับรายการคำอธิบาย. |
| <code>data.itemInfo.itemStruct.video.subtitleInfos</code> | <code>array</code> | รายการคำบรรยายที่แยกออกมาในเมทาดาติวิดีโอ. |
| <code>data.itemInfo.itemStruct.video.subtitleInfos[]</code> | <code>object</code> | รายการคำบรรยายหนึ่งที่แสดงสำหรับวิดีโอ. |
| <code>data.itemInfo.itemStruct.video.subtitleInfos[].Format</code> | <code>string</code> | รูปแบบไฟล์ที่รายงานสำหรับรายการคำบรรยาย. |
| <code>data.itemInfo.itemStruct.video.subtitleInfos[].LanguageCodeName</code> | <code>string</code> | ป้ายรหัสภาษาของรายการคำบรรยาย. |
| <code>data.itemInfo.itemStruct.video.subtitleInfos[].LanguageID</code> | <code>string</code> | ตัวระบุภาษาที่รายงานสำหรับรายการคำบรรยาย. |
| <code>data.itemInfo.itemStruct.video.subtitleInfos[].Size</code> | <code>integer</code> | ขนาดที่รายงานของทรัพยากรคำบรรยาย. |
| <code>data.itemInfo.itemStruct.video.subtitleInfos[].Source</code> | <code>string</code> | ป้ายชื่อแหล่งที่มาที่รายงานสำหรับรายการคำบรรยาย. |
| <code>data.itemInfo.itemStruct.video.subtitleInfos[].Url</code> | <code>string</code> | URL ที่ส่งกลับสำหรับทรัพยากรคำบรรยาย. |
| <code>data.itemInfo.itemStruct.video.subtitleInfos[].UrlExpire</code> | <code>integer</code> | เวลาหมดอายุของ URL คำบรรยายในรูปแบบวินาที Unix. |
| <code>data.itemInfo.itemStruct.music</code> | <code>object</code> | ข้อมูลการ์ดเสียงสาธารณะที่แสดงพร้อมกับโพสต์. |
| <code>data.itemInfo.itemStruct.music.id</code> | <code>string</code> | ตัวระบุ TikTok ของการ์ดเสียง. |
| <code>data.itemInfo.itemStruct.music.title</code> | <code>string</code> | ชื่อที่ปรากฏของการ์ดเสียง. |
| <code>data.itemInfo.itemStruct.music.authorName</code> | <code>string</code> | ชื่อผู้สร้างที่ปรากฏของการ์ดเสียง. |
| <code>data.itemInfo.itemStruct.music.original</code> | <code>boolean</code> | ว่าการ์ดเสียงนี้ถูกกำหนดให้เป็นเสียงต้นฉบับหรือไม่. |
| <code>data.itemInfo.itemStruct.music.duration</code> | <code>integer</code> | ระยะเวลาที่รายงานของเทรนด์เสียง |
| <code>data.itemInfo.itemStruct.music.isCopyrighted</code> | <code>boolean</code> | เทรนด์นี้ถูกระบุว่าเป็นลิขสิทธิ์หรือไม่ |
| <code>data.itemInfo.itemStruct.music.is_commerce_music</code> | <code>boolean</code> | เทรนด์นี้ถูกระบุสำหรับการใช้เป็นเพลงเชิงพาณิชย์หรือไม่ |
| <code>data.itemInfo.itemStruct.music.coverThumb</code> | <code>string</code> | URL สำหรับภาพขนาดกลางของเทรนด์เสียง |
| <code>data.itemInfo.itemStruct.music.coverMedium</code> | <code>string</code> | URL สำหรับภาพขนาดใหญของเทรนด์เสียง |
| <code>data.itemInfo.itemStruct.music.coverLarge</code> | <code>string</code> | URL สำหรับ URL การเล่นเสียงที่ส่งมาพร้อมกับเทรนด์ |
| <code>data.itemInfo.itemStruct.music.playUrl</code> | <code>string</code> | URL สำหรับการเล่นเสียงที่ส่งกลับมาพร้อมกับเพลง |
| <code>data.shareMeta</code> | <code>object</code> | ชื่อที่แสดงสำหรับการแชร์โพสต์ |
| <code>data.shareMeta.title</code> | <code>string</code> | คำอธิบายที่แสดงสำหรับการแชร์โพสต์ |
| <code>data.shareMeta.desc</code> | <code>string</code> | ผลการค้นหาประวัติผู้ใช้ TikTok. คำตอบอาจมีเพียงข้อมูลสถานะเมื่อประวัติผู้ใช้ไม่พร้อมใช้งาน |

</div>

## ตัวอย่างผลการตอบกลับ

<ApiExampleSection :api='JSON.parse("\"/api/tiktok/get-post-detail/v1\"")' />

