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

# Toutiao รายละเอียดบทความ API \(V1\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/toutiao/get-article-detail/v1\"")'
  :summary='JSON.parse("\"รายละเอียดบทความ (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/toutiao/article-details-v1-th.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"ต้องใช้โทเค็นยืนยันตัวตนเพื่อเข้าถึง API\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"id\",\"in\":\"query\",\"description\":\"ตัวระบุเฉพาะของบทความ Toutiao.\",\"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\":{\"type\":\"object\",\"description\":\"รายละเอียดบทความของ Toutiao และสถานะของแพลตฟอร์มที่รายงาน。\",\"properties\":{\"message\":{\"type\":\"string\",\"description\":\"ข้อความสถานะที่ส่งกลับมาพร้อมกับผลลัพธ์บทความของ Toutiao。\"},\"data\":{\"type\":\"object\",\"description\":\"เนื้อหาของบทความ รวมถึงข้อมูลเมตาดาต้าและรูปแบบสื่อ。\",\"properties\":{\"content\":{\"type\":\"string\",\"contentMediaType\":\"text/html\",\"description\":\"เนื้อหาบทความที่ส่งกลับมาในรูปแบบ HTML ทั่วไป\"},\"group_id\":{\"type\":\"integer\",\"description\":\"ID กลุ่มบทความที่เป็นตัวเลขตามธรรมชาติ。ใช้ h5_extra.str_group_id เพื่อรักษาตัวเลขที่แม่นยำใน JavaScript。\"},\"item_id\":{\"type\":\"integer\",\"description\":\"ID บทความที่เป็นตัวเลขตามธรรมชาติ。ใช้ h5_extra.str_item_id เพื่อรักษาตัวเลขที่แม่นยำใน JavaScript。\"},\"media_user_id\":{\"type\":\"integer\",\"description\":\"ตัวระบุผู้จัดทำที่ส่งกลับมาในรูปแบบจำนวนเต็ม。\"},\"video_count\":{\"type\":\"integer\",\"description\":\"จำนวนวิดีโอของบทความตามที่รายงาน\"},\"audio_id\":{\"type\":\"string\",\"description\":\"ตัวระบุเสียงที่ส่งกลับมาพร้อมกับบทความในรูปแบบ text。\"},\"h5_extra\":{\"type\":\"object\",\"description\":\"ข้อมูลบทความสาธารณะ ผู้จัดทำ และข้อมูลการมีส่วนร่วม。\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"ชื่อเรื่องของบทความที่ส่งกลับ\"},\"name\":{\"type\":\"string\",\"description\":\"ชื่อผู้จัดทำที่แสดงพร้อมกับบทความ。\"},\"source\":{\"type\":\"string\",\"description\":\"การระบุแหล่งที่มาของผู้จัดทำที่แสดงพร้อมกับบทความ。\"},\"src_link\":{\"type\":\"string\",\"description\":\"ลิงก์แหล่งที่มาที่ส่งกลับกับบทความ หากมี\"},\"avatar\":{\"type\":\"string\",\"description\":\"URL ภาพลักษณ์ของผู้จัดทำที่แสดงพร้อมกับบทความ。\"},\"publish_stamp\":{\"type\":\"string\",\"description\":\"เวลาการเผยแพร่ในรูปแบบเวลา Unix ด้วยวินาที ส่งกลับมาในรูปแบบ text。\"},\"publish_time\":{\"type\":\"string\",\"description\":\"เวลาการเผยแพร่แสดงเป็น text บางครั้งอาจไม่มีปี。ค่าที่ตรวจสอบจะตรงกับ UTC+8。\"},\"str_group_id\":{\"type\":\"string\",\"description\":\"หมายเลขกลุ่มบทความที่ถูกส่งกลับมาในรูปแบบข้อความ ใช้ฟิลด์นี้เพื่อเก็บตัวเลขทุกตัวขณะประมวลผล ID。\"},\"str_item_id\":{\"type\":\"string\",\"description\":\"หมายเลขบทความที่ถูกส่งกลับมาในรูปแบบข้อความ ใช้ฟิลด์นี้เพื่อเก็บตัวเลขทุกตัวขณะประมวลผล ID。\"},\"media_user_id\":{\"type\":\"string\",\"description\":\"หมายเลขผู้ใช้ของผู้จัดทำที่ถูกส่งกลับมาในรูปแบบข้อความ。\"},\"is_original\":{\"type\":\"boolean\",\"description\":\"ว่าบทความนั้นถูกจัดทำเป็นบทความต้นฉบับหรือไม่。\"},\"video_count\":{\"type\":\"integer\",\"description\":\"จำนวนวิดีโอที่รายงานในเมทาดักติกาการแสดงผลของบทความ。\"},\"diversity\":{\"type\":\"object\",\"description\":\"ข้อมูลการเชื่อมโยงที่ปรากฏพร้อมกับบทความ。\",\"properties\":{\"publish_loc_info\":{\"type\":\"string\",\"description\":\"ป้ายกำกับสถานที่เผยแพร่ที่ถูกส่งกลับมาเพื่อการแสดงผล。\"}}},\"media\":{\"type\":\"object\",\"description\":\"ข้อมูลโปรไฟล์สื่อเผยแพร่สาธารณะที่ปรากฏพร้อมกับบทความ。\",\"properties\":{\"id\":{\"type\":\"integer\",\"description\":\"หมายเลขตัวเลขที่รายงานสำหรับข้อมูลโปรไฟล์สื่อเผยแพร่。\"},\"creator_id\":{\"type\":\"integer\",\"description\":\"หมายเลขตัวเลขของผู้สร้างที่ถูกส่งกลับมาสำหรับข้อมูลโปรไฟล์สื่อเผยแพร่。\"},\"name\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏสำหรับข้อมูลโปรไฟล์สื่อเผยแพร่。\"},\"description\":{\"type\":\"string\",\"description\":\"คำอธิบายโปรไฟล์สาธารณะที่ถูกส่งกลับมาสำหรับผู้จัดทำ。\"},\"avatar_url\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพอวตารที่ถูกส่งกลับมาสำหรับข้อมูลโปรไฟล์สื่อเผยแพร่。\"},\"auth_info\":{\"type\":\"string\",\"description\":\"ข้อความยืนยันสาธารณะที่แสดงสำหรับข้อมูลโปรไฟล์สื่อเผยแพร่。\"},\"user_verified\":{\"type\":\"boolean\",\"description\":\"ว่าข้อมูลโปรไฟล์สื่อเผยแพร่ถูกจัดทำเป็นข้อมูลที่ได้รับการยืนยันหรือไม่。\"},\"v\":{\"type\":\"boolean\",\"description\":\"ป้ายสัญลักษณ์การยืนยันที่รายงานสำหรับข้อมูลโปรไฟล์สื่อเผยแพร่。\"},\"can_be_praised\":{\"type\":\"boolean\",\"description\":\"ว่าสื่อดังรายงานว่าผู้จัดทำสามารถได้รับคำชื่นชมหรือไม่。\"}}},\"itemCell\":{\"type\":\"object\",\"description\":\"ข้อมูลบัตรบทความและการมีส่วนร่วมที่รายงาน。\",\"properties\":{\"articleBase\":{\"type\":\"object\",\"description\":\"หมายเลขสาธารณะและเมทาดักติกาภูมิภาคสำหรับบทความ。\",\"properties\":{\"gidStr\":{\"type\":\"string\",\"description\":\"หมายเลขกลุ่มบทความที่ถูกส่งกลับมาในรูปแบบข้อความ。\"},\"articleVersion\":{\"type\":\"integer\",\"description\":\"หมายเลขเวอร์ชันที่รายงานสำหรับบทความ。\"},\"itemStatus\":{\"type\":\"integer\",\"description\":\"รหัสสถานะบทความที่รายงานโดย Toutiao。\"}}},\"articleClassification\":{\"type\":\"object\",\"description\":\"ฟิลด์ประเภทบทความที่สาธารณะถูกส่งกลับมาโดย Toutiao。\",\"properties\":{\"articleType\":{\"type\":\"integer\",\"description\":\"รหัสประเภทเนื้อหาของสื่อดังสำหรับบทความ。\"},\"articleSubType\":{\"type\":\"integer\",\"description\":\"รหัสประเภทย่อของเนื้อหาของสื่อดังสำหรับบทความ。\"},\"isOriginal\":{\"type\":\"boolean\",\"description\":\"ว่าบทความนั้นมีการระบุว่าเป็นผลงานต้นฉบับในข้อมูลการจำแนกประเภทหรือไม่\"}}},\"itemCounter\":{\"type\":\"object\",\"description\":\"จำนวนการแสดงผลและการมีส่วนร่วมที่แพลตฟอร์มรายงาน\",\"properties\":{\"readCount\":{\"type\":\"integer\",\"description\":\"จำนวนการอ่านที่รายงานเกี่ยวกับเนื้อหา\"},\"showCount\":{\"type\":\"integer\",\"description\":\"จำนวนการแสดงผลที่รายงานสำหรับบทความ\"},\"commentCount\":{\"type\":\"integer\",\"description\":\"จำนวนความคิดเห็นที่รายงานเกี่ยวกับเนื้อหา\"},\"diggCount\":{\"type\":\"integer\",\"description\":\"จำนวนคนที่แสดงความชื่นชมสำหรับบทความ\"},\"repinCount\":{\"type\":\"integer\",\"description\":\"จำนวนคนที่กดติดตามบทความสำหรับบทความ\"},\"forwardCount\":{\"type\":\"integer\",\"description\":\"จำนวนการโพสต์ซ้ำที่รายงานสำหรับบทความ\"},\"shareCount\":{\"type\":\"integer\",\"description\":\"จำนวนคนที่แชร์บทความสำหรับบทความ\"},\"videoWatchCount\":{\"type\":\"integer\",\"description\":\"จำนวนการดูวิดีโอที่รายงานในเมทาดาต้าของบทความ\"}}},\"shareInfo\":{\"type\":\"object\",\"description\":\"ข้อมูลการแชร์สาธารณะสำหรับบทความ\",\"properties\":{\"shareURL\":{\"type\":\"string\",\"description\":\"ลิงก์แบ่งปันบทความที่ส่งกลับมาจาก Toutiao.\"}}},\"userInfo\":{\"type\":\"object\",\"description\":\"ข้อมูลโปรไฟล์ผู้จัดทำสาธารณะที่มีในบัตรบทความเมื่อมี\",\"properties\":{\"userID\":{\"type\":\"integer\",\"description\":\"ตัวระบุผู้ใช้ตัวเลขที่ return สำหรับโปรไฟล์สาธารณะนี้\"},\"mediaID\":{\"type\":\"integer\",\"description\":\"ตัวระบุสื่อตัวเลขที่ return สำหรับโปรไฟล์สาธารณะนี้\"},\"mediaType\":{\"type\":\"integer\",\"description\":\"รหัสประเภทสื่อของแพลตฟอร์มสำหรับโปรไฟล์สื่อสาธารณะนี้\"},\"name\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงสำหรับโปรไฟล์ผู้ใช้สาธารณะนี้\"},\"description\":{\"type\":\"string\",\"description\":\"ข้อความคำอธิบายที่ return สำหรับโปรไฟล์ผู้ใช้สาธารณะนี้\"},\"avatarURL\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพ Avatar ที่ return สำหรับโปรไฟล์ผู้ใช้สาธารณะนี้\"},\"userVerified\":{\"type\":\"integer\",\"description\":\"ตัวชี้วัดการยืนยันที่ return สำหรับโปรไฟล์ผู้ใช้นี้\"},\"verifiedContent\":{\"type\":\"string\",\"description\":\"คำอธิบายการยืนยันที่แสดงสำหรับโปรไฟล์ผู้ใช้นี้\"}}}}},\"audio_info\":{\"type\":\"object\",\"description\":\"ข้อมูลเสียงที่แนบมาด้วยกับบทความเมื่อมี\",\"properties\":{\"audioID\":{\"type\":\"integer\",\"description\":\"ตัวระบุเสียงตัวเลขที่รายงานพร้อมกับเมทาดาต้าเสียง\"},\"audioGroupID\":{\"type\":\"string\",\"description\":\"ตัวระบุกลุ่มที่ return สำหรับเสียงในรูปแบบข้อความ\"},\"audioDuration\":{\"type\":\"integer\",\"description\":\"ค่าความยาวของเสียงที่รายงาน หน่วยเวลาไม่ได้รับการยืนยัน\"},\"audioWatchCount\":{\"type\":\"integer\",\"description\":\"จำนวนการฟังเสียงที่รายงาน\"},\"audioWatchCountShowText\":{\"type\":\"string\",\"description\":\"ข้อความที่แสดงสำหรับจำนวนการฟังเสียง\"}}}}},\"image_detail\":{\"type\":\"array\",\"description\":\"ข้อมูลรูปภาพที่ return สำหรับบทความ\",\"items\":{\"type\":\"object\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"ตัวระบุทรัพยากรรูปภาพที่ Toutiao return\"},\"url\":{\"type\":\"string\",\"description\":\"URL รูปภาพหลักที่ return สำหรับเวอร์ชันนี้\"},\"width\":{\"type\":\"integer\",\"description\":\"ความกว้างของรูปแบบภาพนี้ตามที่รายงานมา。\"},\"height\":{\"type\":\"integer\",\"description\":\"ความสูงของรูปแบบภาพนี้ตามที่รายงานมา。\"},\"image_type\":{\"type\":\"integer\",\"description\":\"รหัสประเภทของรูปภาพสำหรับรูปแบบนี้。\"},\"url_list\":{\"type\":\"array\",\"description\":\"URL ที่รายงานสำหรับรูปแบบภาพนี้。สามารถมี URL หลักได้เช่นกัน。\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพหนึ่งสำหรับรูปแบบนี้。\"}}}}}}},\"main_image_list\":{\"type\":\"array\",\"description\":\"รูปแบบภาพหลักที่ให้ไว้สำหรับบทความนี้。\",\"items\":{\"type\":\"object\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"ตัวระบุทรัพยากรรูปภาพที่ Toutiao return\"},\"url\":{\"type\":\"string\",\"description\":\"URL รูปภาพหลักที่ return สำหรับเวอร์ชันนี้\"},\"width\":{\"type\":\"integer\",\"description\":\"ความกว้างของรูปแบบภาพนี้ตามที่รายงานมา。\"},\"height\":{\"type\":\"integer\",\"description\":\"ความสูงของรูปแบบภาพนี้ตามที่รายงานมา。\"},\"image_type\":{\"type\":\"integer\",\"description\":\"รหัสประเภทของรูปภาพสำหรับรูปแบบนี้。\"},\"url_list\":{\"type\":\"array\",\"description\":\"URL ที่รายงานสำหรับรูปแบบภาพนี้。สามารถมี URL หลักได้เช่นกัน。\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพหนึ่งสำหรับรูปแบบนี้。\"}}}}}}},\"origin_image_list\":{\"type\":\"array\",\"description\":\"รูปแบบภาพต้นฉบับที่รายงานสำหรับบทความนี้。\",\"items\":{\"type\":\"object\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"ตัวระบุทรัพยากรรูปภาพที่ Toutiao return\"},\"url\":{\"type\":\"string\",\"description\":\"URL รูปภาพหลักที่ return สำหรับเวอร์ชันนี้\"},\"width\":{\"type\":\"integer\",\"description\":\"ความกว้างของรูปแบบภาพนี้ตามที่รายงานมา。\"},\"height\":{\"type\":\"integer\",\"description\":\"ความสูงของรูปแบบภาพนี้ตามที่รายงานมา。\"},\"image_type\":{\"type\":\"integer\",\"description\":\"รหัสประเภทของรูปภาพสำหรับรูปแบบนี้。\"},\"url_list\":{\"type\":\"array\",\"description\":\"URL ที่รายงานสำหรับรูปแบบภาพนี้。สามารถมี URL หลักได้เช่นกัน。\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพหนึ่งสำหรับรูปแบบนี้。\"}}}}}}},\"thumb_image\":{\"type\":\"array\",\"description\":\"รูปภาพขนาดเล็กที่ส่งกลับมาสำหรับบทความนี้。\",\"items\":{\"type\":\"object\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"ตัวระบุทรัพยากรรูปภาพที่ Toutiao return\"},\"url\":{\"type\":\"string\",\"description\":\"URL รูปภาพหลักที่ return สำหรับเวอร์ชันนี้\"},\"width\":{\"type\":\"integer\",\"description\":\"ความกว้างของรูปแบบภาพนี้ตามที่รายงานมา。\"},\"height\":{\"type\":\"integer\",\"description\":\"ความสูงของรูปแบบภาพนี้ตามที่รายงานมา。\"},\"image_type\":{\"type\":\"integer\",\"description\":\"รหัสประเภทของรูปภาพสำหรับรูปแบบนี้。\"},\"url_list\":{\"type\":\"array\",\"description\":\"URL ที่รายงานสำหรับรูปแบบภาพนี้。สามารถมี URL หลักได้เช่นกัน。\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพหนึ่งสำหรับรูปแบบนี้。\"}}}}}}},\"webp_image_detail\":{\"type\":\"array\",\"description\":\"รายละเอียดรูปภาพของบทความที่ส่งกลับมาในรายการรูปแบบ WebP。\",\"items\":{\"type\":\"object\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"ตัวระบุทรัพยากรรูปภาพที่ Toutiao return\"},\"url\":{\"type\":\"string\",\"description\":\"URL รูปภาพหลักที่ return สำหรับเวอร์ชันนี้\"},\"width\":{\"type\":\"integer\",\"description\":\"ความกว้างของรูปแบบภาพนี้ตามที่รายงานมา。\"},\"height\":{\"type\":\"integer\",\"description\":\"ความสูงของรูปแบบภาพนี้ตามที่รายงานมา。\"},\"image_type\":{\"type\":\"integer\",\"description\":\"รหัสประเภทของรูปภาพสำหรับรูปแบบนี้。\"},\"url_list\":{\"type\":\"array\",\"description\":\"URL ที่รายงานสำหรับรูปแบบภาพนี้。สามารถมี URL หลักได้เช่นกัน。\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพหนึ่งสำหรับรูปแบบนี้。\"}}}}}}},\"webp_thumb_image\":{\"type\":\"array\",\"description\":\"รูปภาพขนาดเล็กที่ส่งกลับมาในรายการรูปแบบ WebP。\",\"items\":{\"type\":\"object\",\"properties\":{\"uri\":{\"type\":\"string\",\"description\":\"ตัวระบุทรัพยากรรูปภาพที่ Toutiao return\"},\"url\":{\"type\":\"string\",\"description\":\"URL รูปภาพหลักที่ return สำหรับเวอร์ชันนี้\"},\"width\":{\"type\":\"integer\",\"description\":\"ความกว้างของรูปแบบภาพนี้ตามที่รายงานมา。\"},\"height\":{\"type\":\"integer\",\"description\":\"ความสูงของรูปแบบภาพนี้ตามที่รายงานมา。\"},\"image_type\":{\"type\":\"integer\",\"description\":\"รหัสประเภทของรูปภาพสำหรับรูปแบบนี้。\"},\"url_list\":{\"type\":\"array\",\"description\":\"URL ที่รายงานสำหรับรูปแบบภาพนี้。สามารถมี URL หลักได้เช่นกัน。\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพหนึ่งสำหรับรูปแบบนี้。\"}}}}}}},\"title_image\":{\"type\":\"object\",\"description\":\"รูปภาพสำหรับหัวข้อบทความที่มีอยู่เมื่อมี。\",\"properties\":{\"title_image_url\":{\"type\":\"string\",\"description\":\"URL รูปภาพสำหรับหัวข้อบทความในการแสดงผลตามค่าเริ่มต้น。\"},\"title_image_night_url\":{\"type\":\"string\",\"description\":\"URL รูปภาพสำหรับหัวข้อบทความในโหมดการแสดงผลแบบมืด。\"}}}}}}}}},\"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/toutiao/get-article-detail/v1\"")' />

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

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

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

| ชื่อ | ตำแหน่ง | ชนิดข้อมูล | จำเป็น | ค่าเริ่มต้น | คำอธิบาย |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | ใช่ | - | ต้องใช้โทเค็นยืนยันตัวตนเพื่อเข้าถึง API |
| <code>id</code> | query | <code>string</code> | ใช่ | - | ตัวระบุเฉพาะของบทความ Toutiao. |

</div>

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

::: code-group

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

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

พารามิเตอร์:
- token (query): ต้องใช้โทเค็นยืนยันตัวตนเพื่อเข้าถึง API (จำเป็น)
- id (query): ตัวระบุเฉพาะของบทความ Toutiao. (จำเป็น)

รูปแบบที่ส่งกลับ: จัดการ 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/toutiao/get-article-detail/v1?token=YOUR_API_KEY&id=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/toutiao/get-article-detail/v1?token=YOUR_API_KEY&id=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/toutiao/get-article-detail/v1?token=YOUR_API_KEY&id=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/toutiao/get-article-detail/v1?token=YOUR_API_KEY&id=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/toutiao/get-article-detail/v1?token=YOUR_API_KEY&id=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/toutiao/article-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> | <code>object</code> | รายละเอียดบทความของ Toutiao และสถานะของแพลตฟอร์มที่รายงาน。 |
| <code>data.message</code> | <code>string</code> | ข้อความสถานะที่ส่งกลับมาพร้อมกับผลลัพธ์บทความของ Toutiao。 |
| <code>data.data</code> | <code>object</code> | เนื้อหาของบทความ รวมถึงข้อมูลเมตาดาต้าและรูปแบบสื่อ。 |
| <code>data.data.content</code> | <code>string</code> | เนื้อหาบทความที่ส่งกลับมาในรูปแบบ HTML ทั่วไป |
| <code>data.data.group_id</code> | <code>integer</code> | ID กลุ่มบทความที่เป็นตัวเลขตามธรรมชาติ。ใช้ h5_extra.str_group_id เพื่อรักษาตัวเลขที่แม่นยำใน JavaScript。 |
| <code>data.data.item_id</code> | <code>integer</code> | ID บทความที่เป็นตัวเลขตามธรรมชาติ。ใช้ h5_extra.str_item_id เพื่อรักษาตัวเลขที่แม่นยำใน JavaScript。 |
| <code>data.data.media_user_id</code> | <code>integer</code> | ตัวระบุผู้จัดทำที่ส่งกลับมาในรูปแบบจำนวนเต็ม。 |
| <code>data.data.video_count</code> | <code>integer</code> | จำนวนวิดีโอของบทความตามที่รายงาน |
| <code>data.data.audio_id</code> | <code>string</code> | ตัวระบุเสียงที่ส่งกลับมาพร้อมกับบทความในรูปแบบ text。 |
| <code>data.data.h5_extra</code> | <code>object</code> | ข้อมูลบทความสาธารณะ ผู้จัดทำ และข้อมูลการมีส่วนร่วม。 |
| <code>data.data.h5_extra.title</code> | <code>string</code> | ชื่อเรื่องของบทความที่ส่งกลับ |
| <code>data.data.h5_extra.name</code> | <code>string</code> | ชื่อผู้จัดทำที่แสดงพร้อมกับบทความ。 |
| <code>data.data.h5_extra.source</code> | <code>string</code> | การระบุแหล่งที่มาของผู้จัดทำที่แสดงพร้อมกับบทความ。 |
| <code>data.data.h5_extra.src_link</code> | <code>string</code> | ลิงก์แหล่งที่มาที่ส่งกลับกับบทความ หากมี |
| <code>data.data.h5_extra.avatar</code> | <code>string</code> | URL ภาพลักษณ์ของผู้จัดทำที่แสดงพร้อมกับบทความ。 |
| <code>data.data.h5_extra.publish_stamp</code> | <code>string</code> | เวลาการเผยแพร่ในรูปแบบเวลา Unix ด้วยวินาที ส่งกลับมาในรูปแบบ text。 |
| <code>data.data.h5_extra.publish_time</code> | <code>string</code> | เวลาการเผยแพร่แสดงเป็น text บางครั้งอาจไม่มีปี。ค่าที่ตรวจสอบจะตรงกับ UTC+8。 |
| <code>data.data.h5_extra.str_group_id</code> | <code>string</code> | หมายเลขกลุ่มบทความที่ถูกส่งกลับมาในรูปแบบข้อความ ใช้ฟิลด์นี้เพื่อเก็บตัวเลขทุกตัวขณะประมวลผล ID。 |
| <code>data.data.h5_extra.str_item_id</code> | <code>string</code> | หมายเลขบทความที่ถูกส่งกลับมาในรูปแบบข้อความ ใช้ฟิลด์นี้เพื่อเก็บตัวเลขทุกตัวขณะประมวลผล ID。 |
| <code>data.data.h5_extra.media_user_id</code> | <code>string</code> | หมายเลขผู้ใช้ของผู้จัดทำที่ถูกส่งกลับมาในรูปแบบข้อความ。 |
| <code>data.data.h5_extra.is_original</code> | <code>boolean</code> | ว่าบทความนั้นถูกจัดทำเป็นบทความต้นฉบับหรือไม่。 |
| <code>data.data.h5_extra.video_count</code> | <code>integer</code> | จำนวนวิดีโอที่รายงานในเมทาดักติกาการแสดงผลของบทความ。 |
| <code>data.data.h5_extra.diversity</code> | <code>object</code> | ข้อมูลการเชื่อมโยงที่ปรากฏพร้อมกับบทความ。 |
| <code>data.data.h5_extra.diversity.publish_loc_info</code> | <code>string</code> | ป้ายกำกับสถานที่เผยแพร่ที่ถูกส่งกลับมาเพื่อการแสดงผล。 |
| <code>data.data.h5_extra.media</code> | <code>object</code> | ข้อมูลโปรไฟล์สื่อเผยแพร่สาธารณะที่ปรากฏพร้อมกับบทความ。 |
| <code>data.data.h5_extra.media.id</code> | <code>integer</code> | หมายเลขตัวเลขที่รายงานสำหรับข้อมูลโปรไฟล์สื่อเผยแพร่。 |
| <code>data.data.h5_extra.media.creator_id</code> | <code>integer</code> | หมายเลขตัวเลขของผู้สร้างที่ถูกส่งกลับมาสำหรับข้อมูลโปรไฟล์สื่อเผยแพร่。 |
| <code>data.data.h5_extra.media.name</code> | <code>string</code> | ชื่อที่ปรากฏสำหรับข้อมูลโปรไฟล์สื่อเผยแพร่。 |
| <code>data.data.h5_extra.media.description</code> | <code>string</code> | คำอธิบายโปรไฟล์สาธารณะที่ถูกส่งกลับมาสำหรับผู้จัดทำ。 |
| <code>data.data.h5_extra.media.avatar_url</code> | <code>string</code> | URL ของรูปภาพอวตารที่ถูกส่งกลับมาสำหรับข้อมูลโปรไฟล์สื่อเผยแพร่。 |
| <code>data.data.h5_extra.media.auth_info</code> | <code>string</code> | ข้อความยืนยันสาธารณะที่แสดงสำหรับข้อมูลโปรไฟล์สื่อเผยแพร่。 |
| <code>data.data.h5_extra.media.user_verified</code> | <code>boolean</code> | ว่าข้อมูลโปรไฟล์สื่อเผยแพร่ถูกจัดทำเป็นข้อมูลที่ได้รับการยืนยันหรือไม่。 |
| <code>data.data.h5_extra.media.v</code> | <code>boolean</code> | ป้ายสัญลักษณ์การยืนยันที่รายงานสำหรับข้อมูลโปรไฟล์สื่อเผยแพร่。 |
| <code>data.data.h5_extra.media.can_be_praised</code> | <code>boolean</code> | ว่าสื่อดังรายงานว่าผู้จัดทำสามารถได้รับคำชื่นชมหรือไม่。 |
| <code>data.data.h5_extra.itemCell</code> | <code>object</code> | ข้อมูลบัตรบทความและการมีส่วนร่วมที่รายงาน。 |
| <code>data.data.h5_extra.itemCell.articleBase</code> | <code>object</code> | หมายเลขสาธารณะและเมทาดักติกาภูมิภาคสำหรับบทความ。 |
| <code>data.data.h5_extra.itemCell.articleBase.gidStr</code> | <code>string</code> | หมายเลขกลุ่มบทความที่ถูกส่งกลับมาในรูปแบบข้อความ。 |
| <code>data.data.h5_extra.itemCell.articleBase.articleVersion</code> | <code>integer</code> | หมายเลขเวอร์ชันที่รายงานสำหรับบทความ。 |
| <code>data.data.h5_extra.itemCell.articleBase.itemStatus</code> | <code>integer</code> | รหัสสถานะบทความที่รายงานโดย Toutiao。 |
| <code>data.data.h5_extra.itemCell.articleClassification</code> | <code>object</code> | ฟิลด์ประเภทบทความที่สาธารณะถูกส่งกลับมาโดย Toutiao。 |
| <code>data.data.h5_extra.itemCell.articleClassification.articleType</code> | <code>integer</code> | รหัสประเภทเนื้อหาของสื่อดังสำหรับบทความ。 |
| <code>data.data.h5_extra.itemCell.articleClassification.articleSubType</code> | <code>integer</code> | รหัสประเภทย่อของเนื้อหาของสื่อดังสำหรับบทความ。 |
| <code>data.data.h5_extra.itemCell.articleClassification.isOriginal</code> | <code>boolean</code> | ว่าบทความนั้นมีการระบุว่าเป็นผลงานต้นฉบับในข้อมูลการจำแนกประเภทหรือไม่ |
| <code>data.data.h5_extra.itemCell.itemCounter</code> | <code>object</code> | จำนวนการแสดงผลและการมีส่วนร่วมที่แพลตฟอร์มรายงาน |
| <code>data.data.h5_extra.itemCell.itemCounter.readCount</code> | <code>integer</code> | จำนวนการอ่านที่รายงานเกี่ยวกับเนื้อหา |
| <code>data.data.h5_extra.itemCell.itemCounter.showCount</code> | <code>integer</code> | จำนวนการแสดงผลที่รายงานสำหรับบทความ |
| <code>data.data.h5_extra.itemCell.itemCounter.commentCount</code> | <code>integer</code> | จำนวนความคิดเห็นที่รายงานเกี่ยวกับเนื้อหา |
| <code>data.data.h5_extra.itemCell.itemCounter.diggCount</code> | <code>integer</code> | จำนวนคนที่แสดงความชื่นชมสำหรับบทความ |
| <code>data.data.h5_extra.itemCell.itemCounter.repinCount</code> | <code>integer</code> | จำนวนคนที่กดติดตามบทความสำหรับบทความ |
| <code>data.data.h5_extra.itemCell.itemCounter.forwardCount</code> | <code>integer</code> | จำนวนการโพสต์ซ้ำที่รายงานสำหรับบทความ |
| <code>data.data.h5_extra.itemCell.itemCounter.shareCount</code> | <code>integer</code> | จำนวนคนที่แชร์บทความสำหรับบทความ |
| <code>data.data.h5_extra.itemCell.itemCounter.videoWatchCount</code> | <code>integer</code> | จำนวนการดูวิดีโอที่รายงานในเมทาดาต้าของบทความ |
| <code>data.data.h5_extra.itemCell.shareInfo</code> | <code>object</code> | ข้อมูลการแชร์สาธารณะสำหรับบทความ |
| <code>data.data.h5_extra.itemCell.shareInfo.shareURL</code> | <code>string</code> | ลิงก์แบ่งปันบทความที่ส่งกลับมาจาก Toutiao. |
| <code>data.data.h5_extra.itemCell.userInfo</code> | <code>object</code> | ข้อมูลโปรไฟล์ผู้จัดทำสาธารณะที่มีในบัตรบทความเมื่อมี |
| <code>data.data.h5_extra.itemCell.userInfo.userID</code> | <code>integer</code> | ตัวระบุผู้ใช้ตัวเลขที่ return สำหรับโปรไฟล์สาธารณะนี้ |
| <code>data.data.h5_extra.itemCell.userInfo.mediaID</code> | <code>integer</code> | ตัวระบุสื่อตัวเลขที่ return สำหรับโปรไฟล์สาธารณะนี้ |
| <code>data.data.h5_extra.itemCell.userInfo.mediaType</code> | <code>integer</code> | รหัสประเภทสื่อของแพลตฟอร์มสำหรับโปรไฟล์สื่อสาธารณะนี้ |
| <code>data.data.h5_extra.itemCell.userInfo.name</code> | <code>string</code> | ชื่อที่แสดงสำหรับโปรไฟล์ผู้ใช้สาธารณะนี้ |
| <code>data.data.h5_extra.itemCell.userInfo.description</code> | <code>string</code> | ข้อความคำอธิบายที่ return สำหรับโปรไฟล์ผู้ใช้สาธารณะนี้ |
| <code>data.data.h5_extra.itemCell.userInfo.avatarURL</code> | <code>string</code> | URL ของรูปภาพ Avatar ที่ return สำหรับโปรไฟล์ผู้ใช้สาธารณะนี้ |
| <code>data.data.h5_extra.itemCell.userInfo.userVerified</code> | <code>integer</code> | ตัวชี้วัดการยืนยันที่ return สำหรับโปรไฟล์ผู้ใช้นี้ |
| <code>data.data.h5_extra.itemCell.userInfo.verifiedContent</code> | <code>string</code> | คำอธิบายการยืนยันที่แสดงสำหรับโปรไฟล์ผู้ใช้นี้ |
| <code>data.data.h5_extra.audio_info</code> | <code>object</code> | ข้อมูลเสียงที่แนบมาด้วยกับบทความเมื่อมี |
| <code>data.data.h5_extra.audio_info.audioID</code> | <code>integer</code> | ตัวระบุเสียงตัวเลขที่รายงานพร้อมกับเมทาดาต้าเสียง |
| <code>data.data.h5_extra.audio_info.audioGroupID</code> | <code>string</code> | ตัวระบุกลุ่มที่ return สำหรับเสียงในรูปแบบข้อความ |
| <code>data.data.h5_extra.audio_info.audioDuration</code> | <code>integer</code> | ค่าความยาวของเสียงที่รายงาน หน่วยเวลาไม่ได้รับการยืนยัน |
| <code>data.data.h5_extra.audio_info.audioWatchCount</code> | <code>integer</code> | จำนวนการฟังเสียงที่รายงาน |
| <code>data.data.h5_extra.audio_info.audioWatchCountShowText</code> | <code>string</code> | ข้อความที่แสดงสำหรับจำนวนการฟังเสียง |
| <code>data.data.image_detail</code> | <code>array</code> | ข้อมูลรูปภาพที่ return สำหรับบทความ |
| <code>data.data.image_detail[]</code> | <code>object</code> | - |
| <code>data.data.image_detail[].uri</code> | <code>string</code> | ตัวระบุทรัพยากรรูปภาพที่ Toutiao return |
| <code>data.data.image_detail[].url</code> | <code>string</code> | URL รูปภาพหลักที่ return สำหรับเวอร์ชันนี้ |
| <code>data.data.image_detail[].width</code> | <code>integer</code> | ความกว้างของรูปแบบภาพนี้ตามที่รายงานมา。 |
| <code>data.data.image_detail[].height</code> | <code>integer</code> | ความสูงของรูปแบบภาพนี้ตามที่รายงานมา。 |
| <code>data.data.image_detail[].image_type</code> | <code>integer</code> | รหัสประเภทของรูปภาพสำหรับรูปแบบนี้。 |
| <code>data.data.image_detail[].url_list</code> | <code>array</code> | URL ที่รายงานสำหรับรูปแบบภาพนี้。สามารถมี URL หลักได้เช่นกัน。 |
| <code>data.data.image_detail[].url_list[]</code> | <code>object</code> | - |
| <code>data.data.image_detail[].url_list[].url</code> | <code>string</code> | URL ของรูปภาพหนึ่งสำหรับรูปแบบนี้。 |
| <code>data.data.main_image_list</code> | <code>array</code> | รูปแบบภาพหลักที่ให้ไว้สำหรับบทความนี้。 |
| <code>data.data.main_image_list[]</code> | <code>object</code> | - |
| <code>data.data.main_image_list[].uri</code> | <code>string</code> | ตัวระบุทรัพยากรรูปภาพที่ Toutiao return |
| <code>data.data.main_image_list[].url</code> | <code>string</code> | URL รูปภาพหลักที่ return สำหรับเวอร์ชันนี้ |
| <code>data.data.main_image_list[].width</code> | <code>integer</code> | ความกว้างของรูปแบบภาพนี้ตามที่รายงานมา。 |
| <code>data.data.main_image_list[].height</code> | <code>integer</code> | ความสูงของรูปแบบภาพนี้ตามที่รายงานมา。 |
| <code>data.data.main_image_list[].image_type</code> | <code>integer</code> | รหัสประเภทของรูปภาพสำหรับรูปแบบนี้。 |
| <code>data.data.main_image_list[].url_list</code> | <code>array</code> | URL ที่รายงานสำหรับรูปแบบภาพนี้。สามารถมี URL หลักได้เช่นกัน。 |
| <code>data.data.main_image_list[].url_list[]</code> | <code>object</code> | - |
| <code>data.data.main_image_list[].url_list[].url</code> | <code>string</code> | URL ของรูปภาพหนึ่งสำหรับรูปแบบนี้。 |
| <code>data.data.origin_image_list</code> | <code>array</code> | รูปแบบภาพต้นฉบับที่รายงานสำหรับบทความนี้。 |
| <code>data.data.origin_image_list[]</code> | <code>object</code> | - |
| <code>data.data.origin_image_list[].uri</code> | <code>string</code> | ตัวระบุทรัพยากรรูปภาพที่ Toutiao return |
| <code>data.data.origin_image_list[].url</code> | <code>string</code> | URL รูปภาพหลักที่ return สำหรับเวอร์ชันนี้ |
| <code>data.data.origin_image_list[].width</code> | <code>integer</code> | ความกว้างของรูปแบบภาพนี้ตามที่รายงานมา。 |
| <code>data.data.origin_image_list[].height</code> | <code>integer</code> | ความสูงของรูปแบบภาพนี้ตามที่รายงานมา。 |
| <code>data.data.origin_image_list[].image_type</code> | <code>integer</code> | รหัสประเภทของรูปภาพสำหรับรูปแบบนี้。 |
| <code>data.data.origin_image_list[].url_list</code> | <code>array</code> | URL ที่รายงานสำหรับรูปแบบภาพนี้。สามารถมี URL หลักได้เช่นกัน。 |
| <code>data.data.origin_image_list[].url_list[]</code> | <code>object</code> | - |
| <code>data.data.origin_image_list[].url_list[].url</code> | <code>string</code> | URL ของรูปภาพหนึ่งสำหรับรูปแบบนี้。 |
| <code>data.data.thumb_image</code> | <code>array</code> | รูปภาพขนาดเล็กที่ส่งกลับมาสำหรับบทความนี้。 |
| <code>data.data.thumb_image[]</code> | <code>object</code> | - |
| <code>data.data.thumb_image[].uri</code> | <code>string</code> | ตัวระบุทรัพยากรรูปภาพที่ Toutiao return |
| <code>data.data.thumb_image[].url</code> | <code>string</code> | URL รูปภาพหลักที่ return สำหรับเวอร์ชันนี้ |
| <code>data.data.thumb_image[].width</code> | <code>integer</code> | ความกว้างของรูปแบบภาพนี้ตามที่รายงานมา。 |
| <code>data.data.thumb_image[].height</code> | <code>integer</code> | ความสูงของรูปแบบภาพนี้ตามที่รายงานมา。 |
| <code>data.data.thumb_image[].image_type</code> | <code>integer</code> | รหัสประเภทของรูปภาพสำหรับรูปแบบนี้。 |
| <code>data.data.thumb_image[].url_list</code> | <code>array</code> | URL ที่รายงานสำหรับรูปแบบภาพนี้。สามารถมี URL หลักได้เช่นกัน。 |
| <code>data.data.thumb_image[].url_list[]</code> | <code>object</code> | - |
| <code>data.data.thumb_image[].url_list[].url</code> | <code>string</code> | URL ของรูปภาพหนึ่งสำหรับรูปแบบนี้。 |
| <code>data.data.webp_image_detail</code> | <code>array</code> | รายละเอียดรูปภาพของบทความที่ส่งกลับมาในรายการรูปแบบ WebP。 |
| <code>data.data.webp_image_detail[]</code> | <code>object</code> | - |
| <code>data.data.webp_image_detail[].uri</code> | <code>string</code> | ตัวระบุทรัพยากรรูปภาพที่ Toutiao return |
| <code>data.data.webp_image_detail[].url</code> | <code>string</code> | URL รูปภาพหลักที่ return สำหรับเวอร์ชันนี้ |
| <code>data.data.webp_image_detail[].width</code> | <code>integer</code> | ความกว้างของรูปแบบภาพนี้ตามที่รายงานมา。 |
| <code>data.data.webp_image_detail[].height</code> | <code>integer</code> | ความสูงของรูปแบบภาพนี้ตามที่รายงานมา。 |
| <code>data.data.webp_image_detail[].image_type</code> | <code>integer</code> | รหัสประเภทของรูปภาพสำหรับรูปแบบนี้。 |
| <code>data.data.webp_image_detail[].url_list</code> | <code>array</code> | URL ที่รายงานสำหรับรูปแบบภาพนี้。สามารถมี URL หลักได้เช่นกัน。 |
| <code>data.data.webp_image_detail[].url_list[]</code> | <code>object</code> | - |
| <code>data.data.webp_image_detail[].url_list[].url</code> | <code>string</code> | URL ของรูปภาพหนึ่งสำหรับรูปแบบนี้。 |
| <code>data.data.webp_thumb_image</code> | <code>array</code> | รูปภาพขนาดเล็กที่ส่งกลับมาในรายการรูปแบบ WebP。 |
| <code>data.data.webp_thumb_image[]</code> | <code>object</code> | - |
| <code>data.data.webp_thumb_image[].uri</code> | <code>string</code> | ตัวระบุทรัพยากรรูปภาพที่ Toutiao return |
| <code>data.data.webp_thumb_image[].url</code> | <code>string</code> | URL รูปภาพหลักที่ return สำหรับเวอร์ชันนี้ |
| <code>data.data.webp_thumb_image[].width</code> | <code>integer</code> | ความกว้างของรูปแบบภาพนี้ตามที่รายงานมา。 |
| <code>data.data.webp_thumb_image[].height</code> | <code>integer</code> | ความสูงของรูปแบบภาพนี้ตามที่รายงานมา。 |
| <code>data.data.webp_thumb_image[].image_type</code> | <code>integer</code> | รหัสประเภทของรูปภาพสำหรับรูปแบบนี้。 |
| <code>data.data.webp_thumb_image[].url_list</code> | <code>array</code> | URL ที่รายงานสำหรับรูปแบบภาพนี้。สามารถมี URL หลักได้เช่นกัน。 |
| <code>data.data.webp_thumb_image[].url_list[]</code> | <code>object</code> | - |
| <code>data.data.webp_thumb_image[].url_list[].url</code> | <code>string</code> | URL ของรูปภาพหนึ่งสำหรับรูปแบบนี้。 |
| <code>data.data.title_image</code> | <code>object</code> | รูปภาพสำหรับหัวข้อบทความที่มีอยู่เมื่อมี。 |
| <code>data.data.title_image.title_image_url</code> | <code>string</code> | URL รูปภาพสำหรับหัวข้อบทความในการแสดงผลตามค่าเริ่มต้น。 |
| <code>data.data.title_image.title_image_night_url</code> | <code>string</code> | URL รูปภาพสำหรับหัวข้อบทความในโหมดการแสดงผลแบบมืด。 |

</div>

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

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

