---
title: "Bilibili ข้อมูลประชาชน API (V2)"
description: "ดึงข้อมูลโปรไฟล์ของผู้ใช้ Bilibili ที่ระบุด้วย UID ใช้เพื่อค้นหาบัญชีที่รู้จักเพื่อการวิจัยผู้สร้าง การตรวจสอบโปรไฟล์ หรือการดึงวิดีโอของผู้ใช้คนนั้นต่อไป"
lastUpdated: false
aiUsagePrompt: true
---

# Bilibili ข้อมูลประชาชน API \(V2\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/bilibili/get-user-detail/v2\"")'
  :summary='JSON.parse("\"ข้อมูลประชาชน (V2)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/bilibili/user-profile-v2-th.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"โทเค็นสำหรับเข้าถึง API\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"uid\",\"in\":\"query\",\"description\":\"ID ของผู้ใช้บิลิบิวลี (UID).\",\"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\",\"null\"],\"description\":\"ผลการค้นหาในพื้นที่ผู้ใช้ บางคำตอบที่สำเร็จมีเพียงข้อความเท่านั้น\",\"properties\":{\"message\":{\"type\":\"string\",\"description\":\"ข้อความที่ส่งกลับมาจากการค้นหาเมื่อไม่พบข้อมูลในพื้นที่ผู้ใช้\"},\"space\":{\"type\":\"object\",\"description\":\"ข้อมูลในพื้นที่ผู้ใช้เมื่อมีการค้นหาประวัติบุคคล\",\"properties\":{\"mid\":{\"type\":\"integer\",\"description\":\"UID ของผู้ใช้ที่ส่งกลับมาจากบิลิบิวลี\"},\"info\":{\"type\":\"object\",\"description\":\"ข้อมูลประวัติที่แสดงในพื้นที่ผู้ใช้\",\"properties\":{\"mid\":{\"type\":\"integer\",\"description\":\"UID ของบิลิบิวลีที่ปรากฏในประวัติ\"},\"name\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงในพื้นที่ผู้ใช้\"},\"face\":{\"type\":\"string\",\"description\":\"URL ของภาพโปรไฟล์ของประวัติ\"},\"sign\":{\"type\":\"string\",\"description\":\"ข้อความบรรยายเกี่ยวกับประวัติ ซึ่งอาจว่างเปล่า\"},\"sex\":{\"type\":\"string\",\"description\":\"ป้ายกำกับที่แสดงในประวัติ\"},\"birthday\":{\"type\":\"string\",\"description\":\"ข้อความวันเกิดที่แสดงในประวัติหากมี\"},\"level\":{\"type\":\"integer\",\"description\":\"ระดับบัญชีของบิลิบิวลีที่ปรากฏในประวัติ\"},\"top_photo\":{\"type\":\"string\",\"description\":\"URL ของภาพปกพื้นที่ประวัติ\"},\"top_photo_v2\":{\"type\":\"object\",\"description\":\"ตัวเลือกภาพปกพื้นที่ประวัติ\",\"properties\":{\"sid\":{\"type\":\"integer\",\"description\":\"ตัวระบุของภาพปกพื้นที่ที่เลือก\"},\"l_img\":{\"type\":\"string\",\"description\":\"URL ของภาพปกพื้นที่ขนาดใหญ่\"},\"l_200h_img\":{\"type\":\"string\",\"description\":\"URL ของภาพปกพื้นที่สำหรับตัวเลือกที่มี 200 ตัว\"}}},\"tags\":{\"type\":[\"array\",\"null\"],\"description\":\"คำที่แสดงในประวัติหากมี\",\"items\":{\"type\":\"string\",\"description\":\"หนึ่งแท็กโปรไฟล์ที่ปรากฏในผลลัพธ์\"}},\"certificate_show\":{\"type\":\"boolean\",\"description\":\"ว่าการโปรไฟล์ที่ส่งกลับมาชี้ให้เห็นว่ามีการแสดงใบรับรองหรือไม่\"},\"official\":{\"type\":\"object\",\"description\":\"ข้อมูลการตรวจสอบอย่างเป็นทางการที่รายงานสำหรับโปรไฟล์\",\"properties\":{\"role\":{\"type\":\"integer\",\"description\":\"รหัสบทบาทการตรวจสอบอย่างเป็นทางการที่รายงาน\"},\"type\":{\"type\":\"integer\",\"description\":\"รหัสประเภทการตรวจสอบอย่างเป็นทางการที่รายงาน\"},\"title\":{\"type\":\"string\",\"description\":\"ชื่อการตรวจสอบอย่างเป็นทางการที่แสดงในโปรไฟล์\"},\"desc\":{\"type\":\"string\",\"description\":\"ข้อความคำอธิบายการตรวจสอบอย่างเป็นทางการเมื่อมีให้\"}}},\"attestation\":{\"type\":\"object\",\"description\":\"ป้ายกำกับและไอคอนการตรวจสอบที่แสดงในโปรไฟล์\",\"properties\":{\"type\":{\"type\":\"integer\",\"description\":\"รหัสประเภทการรับรองที่รายงานสำหรับโปรไฟล์\"},\"icon\":{\"type\":\"string\",\"description\":\"URL ของไอคอนการตรวจสอบเมื่อมีให้\"},\"desc\":{\"type\":\"string\",\"description\":\"ข้อความคำอธิบายที่เกี่ยวข้องกับการตรวจสอบ\"},\"common_info\":{\"type\":\"object\",\"description\":\"ข้อมูลชื่อและคำนำหน้าในการตรวจสอบ\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงในป้ายกำกับการตรวจสอบ\"},\"prefix\":{\"type\":\"string\",\"description\":\"คำนำหน้าที่ส่งกลับมาสำหรับป้ายกำกับการตรวจสอบ\"},\"prefix_title\":{\"type\":\"string\",\"description\":\"ชื่อที่เชื่อมโยงกับคำนำหน้าการตรวจสอบ\"}}},\"splice_info\":{\"type\":\"object\",\"description\":\"ข้อมูลการแสดงการตรวจสอบรวม\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"ชื่อที่รวมกันแสดงในการแสดงการตรวจสอบ\"}}}}},\"vip\":{\"type\":\"object\",\"description\":\"ข้อมูลสมาชิก VIP ที่รายงานในโปรไฟล์\",\"properties\":{\"type\":{\"type\":\"integer\",\"description\":\"รหัสประเภทสมาชิก VIP ที่รายงานสำหรับผู้ใช้\"},\"status\":{\"type\":\"integer\",\"description\":\"รหัสสถานะสมาชิก VIP ที่รายงานสำหรับผู้ใช้\"},\"due_date\":{\"type\":\"integer\",\"description\":\"ค่าสัมประสิทธิ์เวลาแปรอยู่นของสมาชิก VIP ซึ่งอาจเป็นศูนย์ได้\"},\"nickname_color\":{\"type\":\"string\",\"description\":\"สีของนามสกุลที่เกี่ยวข้องกับการแสดง VIP\"},\"label\":{\"type\":\"object\",\"description\":\"ข้อมูลเครื่องหมาย VIP ที่ส่งกลับมาพร้อมโปรไฟล์\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"ข้อความที่แสดงบนป้ายกำกับ VIP\"},\"label_id\":{\"type\":\"integer\",\"description\":\"ตัวระบุป้ายกำกับ VIP ที่รายงานพร้อมโปรไฟล์\"},\"label_goto\":{\"type\":[\"object\",\"null\"],\"description\":\"หมายเหตุถึงจุดหมายที่เชื่อมโยงจากป้าย VIP เมื่อมีอยู่\",\"properties\":{\"mobile\":{\"type\":\"string\",\"description\":\"ลิงก์ที่เปิดโดยป้าย VIP บนโทรศัพท์มือถือ\"},\"pc_web\":{\"type\":\"string\",\"description\":\"ลิงก์ที่เปิดโดยป้าย VIP บนเว็บไซต์เดสก์ท็อป\"}}},\"img_label_uri_hans\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพป้าย VIP สำหรับภาษาจีนแบบง่าย\"},\"img_label_uri_hans_static\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพป้าย VIP สำหรับภาษาจีนแบบดั้งเดิม\"},\"img_label_uri_hant_static\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพป้าย VIP สำหรับภาษาจีนแบบดั้งเดิม\"}}}}},\"nameplate\":{\"type\":\"object\",\"description\":\"ป้ายชื่อที่แสดงสำหรับบัญชี\",\"properties\":{\"nid\":{\"type\":\"integer\",\"description\":\"ตัวระบุของป้ายชื่อที่แสดง\"},\"name\":{\"type\":\"string\",\"description\":\"ชื่อของป้ายชื่อที่แสดง\"},\"image\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพป้ายชื่อ\"},\"image_small\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพป้ายชื่อขนาดเล็ก\"},\"level\":{\"type\":\"string\",\"description\":\"ป้ายแท็กระดับที่เชื่อมโยงกับป้ายชื่อ\"},\"condition\":{\"type\":\"string\",\"description\":\"ข้อความที่อธิบายเงื่อนไขของป้ายชื่อ\"}}},\"pendant\":{\"type\":\"object\",\"description\":\"ข้อมูลเกี่ยวกับอวาตาร์ที่แสดงในโปรไฟล์\",\"properties\":{\"pid\":{\"type\":\"integer\",\"description\":\"ตัวระบุของอวาตาร์ที่รายงานในโปรไฟล์\"},\"name\":{\"type\":\"string\",\"description\":\"ชื่อของป้ายตกแต่งรูปโปรไฟล์\"},\"image\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพอวาตาร์\"},\"image_enhance\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพอวาตาร์ที่ได้รับการปรับปรุงเมื่อมี\"}}},\"fans_badge\":{\"type\":\"boolean\",\"description\":\"ป้ายสัญลักษณ์แฟนที่รายงานสำหรับผู้ใช้\"},\"fans_medal\":{\"type\":\"object\",\"description\":\"ข้อมูลเกี่ยวกับเหรียญแฟนที่แสดงในโปรไฟล์\",\"properties\":{\"show\":{\"type\":\"boolean\",\"description\":\"ว่าหรือไม่ที่เหรียญแฟนจะแสดงในโปรไฟล์\"},\"wear\":{\"type\":\"boolean\",\"description\":\"ว่าการโปรไฟล์บ่งชี้ว่าหรียญแฟนถูกสวมใส่หรือไม่\"},\"detail\":{\"type\":[\"object\",\"null\"],\"description\":\"ข้อมูลรายละเอียดเกี่ยวกับเหรียญแฟนเมื่อมี\",\"properties\":{\"medal_id\":{\"type\":\"integer\",\"description\":\"ตัวระบุของเหรียญแฟนที่แสดง\"},\"medal_name\":{\"type\":\"string\",\"description\":\"ชื่อของเหรียญแฟนที่แสดงในข้อมูลรายละเอียด\"},\"level\":{\"type\":\"integer\",\"description\":\"ระดับของเหรียญแฟนที่รายงานในข้อมูลรายละเอียด\"}}},\"medal\":{\"type\":[\"object\",\"null\"],\"description\":\"แสดงข้อมูลเหรียญแฟนเมื่อมีให้ใช้งาน\",\"properties\":{\"medal_name\":{\"type\":\"string\",\"description\":\"แสดงชื่อเหรียญแฟน\"},\"level\":{\"type\":\"integer\",\"description\":\"แสดงระดับเหรียญแฟน\"}}}}},\"live_room\":{\"type\":[\"object\",\"null\"],\"description\":\"ข้อมูลห้องแสดงสดที่รายงานในโปรไฟล์เมื่อมีให้ใช้งาน\",\"properties\":{\"roomid\":{\"type\":\"integer\",\"description\":\"ID ห้องแสดงสดของ Bilibili\"},\"roomStatus\":{\"type\":\"integer\",\"description\":\"รหัสสถานะการมีอยู่ของห้องแสดงสดที่รายงาน\"},\"liveStatus\":{\"type\":\"integer\",\"description\":\"รหัสสถานะการออกอากาศสำหรับห้องแสดงสดที่รายงาน\"},\"title\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงสำหรับห้องแสดงสด\"},\"cover\":{\"type\":\"string\",\"description\":\"URL รูปหน้าปกของห้องถ่ายทอดสด\"},\"url\":{\"type\":\"string\",\"description\":\"URL ของห้องถ่ายทอดสด\"},\"watched_show\":{\"type\":\"object\",\"description\":\"จำนวนผู้ชมที่แสดงอยู่กับห้องแสดงสด\",\"properties\":{\"num\":{\"type\":\"integer\",\"description\":\"จำนวนผู้ชมที่แสดงในรูปแบบตัวเลขสำหรับห้องแสดงสด\"},\"text_small\":{\"type\":\"string\",\"description\":\"ข้อความสั้นสำหรับจำนวนผู้ชมที่แสดงในห้องแสดงสด\"},\"text_large\":{\"type\":\"string\",\"description\":\"ข้อความยาวสำหรับจำนวนผู้ชมที่แสดงในห้องแสดงสด\"}}}}},\"elec\":{\"type\":\"object\",\"description\":\"ข้อมูลสำหรับส่วนสนับสนุนผู้สร้างในโปรไฟล์\",\"properties\":{\"show_info\":{\"type\":\"object\",\"description\":\"ข้อมูลการแสดงสำหรับส่วนสนับสนุนผู้สร้าง\",\"properties\":{\"show\":{\"type\":\"boolean\",\"description\":\"ว่าส่วนสนับสนุนผู้สร้างจะถูกแสดงหรือไม่\"},\"title\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงในส่วนสนับสนุนผู้สร้าง\"},\"total\":{\"type\":\"integer\",\"description\":\"จำนวนรวมที่รายงานในส่วนสนับสนุนผู้สร้าง\"}}}}}}},\"feedList\":{\"type\":\"object\",\"description\":\"ข้อมูลการส่งข้อมูลพื้นที่ที่ส่งกลับมาพร้อมโปรไฟล์\",\"properties\":{\"result\":{\"type\":\"array\",\"description\":\"ข้อมูลที่รวมอยู่ในการตอบกลับการส่งข้อมูลพื้นที่ ชุดข้อมูลอาจว่างหากมีข้อมูลโปรไฟล์อยู่\"}}}}}}}}},\"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/bilibili/get-user-detail/v2\"")' />

<p>ดึงข้อมูลโปรไฟล์ของผู้ใช้ Bilibili ที่ระบุด้วย UID ใช้เพื่อค้นหาบัญชีที่รู้จักเพื่อการวิจัยผู้สร้าง การตรวจสอบโปรไฟล์ หรือการดึงวิดีโอของผู้ใช้คนนั้นต่อไป</p>

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

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

| ชื่อ | ตำแหน่ง | ชนิดข้อมูล | จำเป็น | ค่าเริ่มต้น | คำอธิบาย |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | ใช่ | - | โทเค็นสำหรับเข้าถึง API |
| <code>uid</code> | query | <code>string</code> | ใช่ | - | ID ของผู้ใช้บิลิบิวลี (UID). |

</div>

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

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/bilibili/get-user-detail/v2?token=YOUR_API_KEY&uid=VALUE'
```

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

พารามิเตอร์:
- token (query): โทเค็นสำหรับเข้าถึง API (จำเป็น)
- uid (query): ID ของผู้ใช้บิลิบิวลี (UID). (จำเป็น)

รูปแบบที่ส่งกลับ: จัดการ 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/bilibili/get-user-detail/v2?token=YOUR_API_KEY&uid=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/bilibili/get-user-detail/v2?token=YOUR_API_KEY&uid=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/bilibili/get-user-detail/v2?token=YOUR_API_KEY&uid=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/bilibili/get-user-detail/v2?token=YOUR_API_KEY&uid=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/bilibili/get-user-detail/v2?token=YOUR_API_KEY&uid=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/bilibili/user-profile-v2-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 &#124; null</code> | ผลการค้นหาในพื้นที่ผู้ใช้ บางคำตอบที่สำเร็จมีเพียงข้อความเท่านั้น |
| <code>data.message</code> | <code>string</code> | ข้อความที่ส่งกลับมาจากการค้นหาเมื่อไม่พบข้อมูลในพื้นที่ผู้ใช้ |
| <code>data.space</code> | <code>object</code> | ข้อมูลในพื้นที่ผู้ใช้เมื่อมีการค้นหาประวัติบุคคล |
| <code>data.space.mid</code> | <code>integer</code> | UID ของผู้ใช้ที่ส่งกลับมาจากบิลิบิวลี |
| <code>data.space.info</code> | <code>object</code> | ข้อมูลประวัติที่แสดงในพื้นที่ผู้ใช้ |
| <code>data.space.info.mid</code> | <code>integer</code> | UID ของบิลิบิวลีที่ปรากฏในประวัติ |
| <code>data.space.info.name</code> | <code>string</code> | ชื่อที่แสดงในพื้นที่ผู้ใช้ |
| <code>data.space.info.face</code> | <code>string</code> | URL ของภาพโปรไฟล์ของประวัติ |
| <code>data.space.info.sign</code> | <code>string</code> | ข้อความบรรยายเกี่ยวกับประวัติ ซึ่งอาจว่างเปล่า |
| <code>data.space.info.sex</code> | <code>string</code> | ป้ายกำกับที่แสดงในประวัติ |
| <code>data.space.info.birthday</code> | <code>string</code> | ข้อความวันเกิดที่แสดงในประวัติหากมี |
| <code>data.space.info.level</code> | <code>integer</code> | ระดับบัญชีของบิลิบิวลีที่ปรากฏในประวัติ |
| <code>data.space.info.top_photo</code> | <code>string</code> | URL ของภาพปกพื้นที่ประวัติ |
| <code>data.space.info.top_photo_v2</code> | <code>object</code> | ตัวเลือกภาพปกพื้นที่ประวัติ |
| <code>data.space.info.top_photo_v2.sid</code> | <code>integer</code> | ตัวระบุของภาพปกพื้นที่ที่เลือก |
| <code>data.space.info.top_photo_v2.l_img</code> | <code>string</code> | URL ของภาพปกพื้นที่ขนาดใหญ่ |
| <code>data.space.info.top_photo_v2.l_200h_img</code> | <code>string</code> | URL ของภาพปกพื้นที่สำหรับตัวเลือกที่มี 200 ตัว |
| <code>data.space.info.tags</code> | <code>array &#124; null</code> | คำที่แสดงในประวัติหากมี |
| <code>data.space.info.tags[]</code> | <code>string</code> | หนึ่งแท็กโปรไฟล์ที่ปรากฏในผลลัพธ์ |
| <code>data.space.info.certificate_show</code> | <code>boolean</code> | ว่าการโปรไฟล์ที่ส่งกลับมาชี้ให้เห็นว่ามีการแสดงใบรับรองหรือไม่ |
| <code>data.space.info.official</code> | <code>object</code> | ข้อมูลการตรวจสอบอย่างเป็นทางการที่รายงานสำหรับโปรไฟล์ |
| <code>data.space.info.official.role</code> | <code>integer</code> | รหัสบทบาทการตรวจสอบอย่างเป็นทางการที่รายงาน |
| <code>data.space.info.official.type</code> | <code>integer</code> | รหัสประเภทการตรวจสอบอย่างเป็นทางการที่รายงาน |
| <code>data.space.info.official.title</code> | <code>string</code> | ชื่อการตรวจสอบอย่างเป็นทางการที่แสดงในโปรไฟล์ |
| <code>data.space.info.official.desc</code> | <code>string</code> | ข้อความคำอธิบายการตรวจสอบอย่างเป็นทางการเมื่อมีให้ |
| <code>data.space.info.attestation</code> | <code>object</code> | ป้ายกำกับและไอคอนการตรวจสอบที่แสดงในโปรไฟล์ |
| <code>data.space.info.attestation.type</code> | <code>integer</code> | รหัสประเภทการรับรองที่รายงานสำหรับโปรไฟล์ |
| <code>data.space.info.attestation.icon</code> | <code>string</code> | URL ของไอคอนการตรวจสอบเมื่อมีให้ |
| <code>data.space.info.attestation.desc</code> | <code>string</code> | ข้อความคำอธิบายที่เกี่ยวข้องกับการตรวจสอบ |
| <code>data.space.info.attestation.common_info</code> | <code>object</code> | ข้อมูลชื่อและคำนำหน้าในการตรวจสอบ |
| <code>data.space.info.attestation.common_info.title</code> | <code>string</code> | ชื่อที่แสดงในป้ายกำกับการตรวจสอบ |
| <code>data.space.info.attestation.common_info.prefix</code> | <code>string</code> | คำนำหน้าที่ส่งกลับมาสำหรับป้ายกำกับการตรวจสอบ |
| <code>data.space.info.attestation.common_info.prefix_title</code> | <code>string</code> | ชื่อที่เชื่อมโยงกับคำนำหน้าการตรวจสอบ |
| <code>data.space.info.attestation.splice_info</code> | <code>object</code> | ข้อมูลการแสดงการตรวจสอบรวม |
| <code>data.space.info.attestation.splice_info.title</code> | <code>string</code> | ชื่อที่รวมกันแสดงในการแสดงการตรวจสอบ |
| <code>data.space.info.vip</code> | <code>object</code> | ข้อมูลสมาชิก VIP ที่รายงานในโปรไฟล์ |
| <code>data.space.info.vip.type</code> | <code>integer</code> | รหัสประเภทสมาชิก VIP ที่รายงานสำหรับผู้ใช้ |
| <code>data.space.info.vip.status</code> | <code>integer</code> | รหัสสถานะสมาชิก VIP ที่รายงานสำหรับผู้ใช้ |
| <code>data.space.info.vip.due_date</code> | <code>integer</code> | ค่าสัมประสิทธิ์เวลาแปรอยู่นของสมาชิก VIP ซึ่งอาจเป็นศูนย์ได้ |
| <code>data.space.info.vip.nickname_color</code> | <code>string</code> | สีของนามสกุลที่เกี่ยวข้องกับการแสดง VIP |
| <code>data.space.info.vip.label</code> | <code>object</code> | ข้อมูลเครื่องหมาย VIP ที่ส่งกลับมาพร้อมโปรไฟล์ |
| <code>data.space.info.vip.label.text</code> | <code>string</code> | ข้อความที่แสดงบนป้ายกำกับ VIP |
| <code>data.space.info.vip.label.label_id</code> | <code>integer</code> | ตัวระบุป้ายกำกับ VIP ที่รายงานพร้อมโปรไฟล์ |
| <code>data.space.info.vip.label.label_goto</code> | <code>object &#124; null</code> | หมายเหตุถึงจุดหมายที่เชื่อมโยงจากป้าย VIP เมื่อมีอยู่ |
| <code>data.space.info.vip.label.label_goto.mobile</code> | <code>string</code> | ลิงก์ที่เปิดโดยป้าย VIP บนโทรศัพท์มือถือ |
| <code>data.space.info.vip.label.label_goto.pc_web</code> | <code>string</code> | ลิงก์ที่เปิดโดยป้าย VIP บนเว็บไซต์เดสก์ท็อป |
| <code>data.space.info.vip.label.img_label_uri_hans</code> | <code>string</code> | URL ของรูปภาพป้าย VIP สำหรับภาษาจีนแบบง่าย |
| <code>data.space.info.vip.label.img_label_uri_hans_static</code> | <code>string</code> | URL ของรูปภาพป้าย VIP สำหรับภาษาจีนแบบดั้งเดิม |
| <code>data.space.info.vip.label.img_label_uri_hant_static</code> | <code>string</code> | URL ของรูปภาพป้าย VIP สำหรับภาษาจีนแบบดั้งเดิม |
| <code>data.space.info.nameplate</code> | <code>object</code> | ป้ายชื่อที่แสดงสำหรับบัญชี |
| <code>data.space.info.nameplate.nid</code> | <code>integer</code> | ตัวระบุของป้ายชื่อที่แสดง |
| <code>data.space.info.nameplate.name</code> | <code>string</code> | ชื่อของป้ายชื่อที่แสดง |
| <code>data.space.info.nameplate.image</code> | <code>string</code> | URL ของรูปภาพป้ายชื่อ |
| <code>data.space.info.nameplate.image_small</code> | <code>string</code> | URL ของรูปภาพป้ายชื่อขนาดเล็ก |
| <code>data.space.info.nameplate.level</code> | <code>string</code> | ป้ายแท็กระดับที่เชื่อมโยงกับป้ายชื่อ |
| <code>data.space.info.nameplate.condition</code> | <code>string</code> | ข้อความที่อธิบายเงื่อนไขของป้ายชื่อ |
| <code>data.space.info.pendant</code> | <code>object</code> | ข้อมูลเกี่ยวกับอวาตาร์ที่แสดงในโปรไฟล์ |
| <code>data.space.info.pendant.pid</code> | <code>integer</code> | ตัวระบุของอวาตาร์ที่รายงานในโปรไฟล์ |
| <code>data.space.info.pendant.name</code> | <code>string</code> | ชื่อของป้ายตกแต่งรูปโปรไฟล์ |
| <code>data.space.info.pendant.image</code> | <code>string</code> | URL ของรูปภาพอวาตาร์ |
| <code>data.space.info.pendant.image_enhance</code> | <code>string</code> | URL ของรูปภาพอวาตาร์ที่ได้รับการปรับปรุงเมื่อมี |
| <code>data.space.info.fans_badge</code> | <code>boolean</code> | ป้ายสัญลักษณ์แฟนที่รายงานสำหรับผู้ใช้ |
| <code>data.space.info.fans_medal</code> | <code>object</code> | ข้อมูลเกี่ยวกับเหรียญแฟนที่แสดงในโปรไฟล์ |
| <code>data.space.info.fans_medal.show</code> | <code>boolean</code> | ว่าหรือไม่ที่เหรียญแฟนจะแสดงในโปรไฟล์ |
| <code>data.space.info.fans_medal.wear</code> | <code>boolean</code> | ว่าการโปรไฟล์บ่งชี้ว่าหรียญแฟนถูกสวมใส่หรือไม่ |
| <code>data.space.info.fans_medal.detail</code> | <code>object &#124; null</code> | ข้อมูลรายละเอียดเกี่ยวกับเหรียญแฟนเมื่อมี |
| <code>data.space.info.fans_medal.detail.medal_id</code> | <code>integer</code> | ตัวระบุของเหรียญแฟนที่แสดง |
| <code>data.space.info.fans_medal.detail.medal_name</code> | <code>string</code> | ชื่อของเหรียญแฟนที่แสดงในข้อมูลรายละเอียด |
| <code>data.space.info.fans_medal.detail.level</code> | <code>integer</code> | ระดับของเหรียญแฟนที่รายงานในข้อมูลรายละเอียด |
| <code>data.space.info.fans_medal.medal</code> | <code>object &#124; null</code> | แสดงข้อมูลเหรียญแฟนเมื่อมีให้ใช้งาน |
| <code>data.space.info.fans_medal.medal.medal_name</code> | <code>string</code> | แสดงชื่อเหรียญแฟน |
| <code>data.space.info.fans_medal.medal.level</code> | <code>integer</code> | แสดงระดับเหรียญแฟน |
| <code>data.space.info.live_room</code> | <code>object &#124; null</code> | ข้อมูลห้องแสดงสดที่รายงานในโปรไฟล์เมื่อมีให้ใช้งาน |
| <code>data.space.info.live_room.roomid</code> | <code>integer</code> | ID ห้องแสดงสดของ Bilibili |
| <code>data.space.info.live_room.roomStatus</code> | <code>integer</code> | รหัสสถานะการมีอยู่ของห้องแสดงสดที่รายงาน |
| <code>data.space.info.live_room.liveStatus</code> | <code>integer</code> | รหัสสถานะการออกอากาศสำหรับห้องแสดงสดที่รายงาน |
| <code>data.space.info.live_room.title</code> | <code>string</code> | ชื่อที่แสดงสำหรับห้องแสดงสด |
| <code>data.space.info.live_room.cover</code> | <code>string</code> | URL รูปหน้าปกของห้องถ่ายทอดสด |
| <code>data.space.info.live_room.url</code> | <code>string</code> | URL ของห้องถ่ายทอดสด |
| <code>data.space.info.live_room.watched_show</code> | <code>object</code> | จำนวนผู้ชมที่แสดงอยู่กับห้องแสดงสด |
| <code>data.space.info.live_room.watched_show.num</code> | <code>integer</code> | จำนวนผู้ชมที่แสดงในรูปแบบตัวเลขสำหรับห้องแสดงสด |
| <code>data.space.info.live_room.watched_show.text_small</code> | <code>string</code> | ข้อความสั้นสำหรับจำนวนผู้ชมที่แสดงในห้องแสดงสด |
| <code>data.space.info.live_room.watched_show.text_large</code> | <code>string</code> | ข้อความยาวสำหรับจำนวนผู้ชมที่แสดงในห้องแสดงสด |
| <code>data.space.info.elec</code> | <code>object</code> | ข้อมูลสำหรับส่วนสนับสนุนผู้สร้างในโปรไฟล์ |
| <code>data.space.info.elec.show_info</code> | <code>object</code> | ข้อมูลการแสดงสำหรับส่วนสนับสนุนผู้สร้าง |
| <code>data.space.info.elec.show_info.show</code> | <code>boolean</code> | ว่าส่วนสนับสนุนผู้สร้างจะถูกแสดงหรือไม่ |
| <code>data.space.info.elec.show_info.title</code> | <code>string</code> | ชื่อที่แสดงในส่วนสนับสนุนผู้สร้าง |
| <code>data.space.info.elec.show_info.total</code> | <code>integer</code> | จำนวนรวมที่รายงานในส่วนสนับสนุนผู้สร้าง |
| <code>data.space.feedList</code> | <code>object</code> | ข้อมูลการส่งข้อมูลพื้นที่ที่ส่งกลับมาพร้อมโปรไฟล์ |
| <code>data.space.feedList.result</code> | <code>array</code> | ข้อมูลที่รวมอยู่ในการตอบกลับการส่งข้อมูลพื้นที่ ชุดข้อมูลอาจว่างหากมีข้อมูลโปรไฟล์อยู่ |

</div>

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

<ApiExampleSection :api='JSON.parse("\"/api/bilibili/get-user-detail/v2\"")' />

