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

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

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/instagram/get-user-detail/v2\"")'
  :summary='JSON.parse("\"ข้อมูลประชาชน (V2)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/instagram/user-profile-v2-th.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"โทเค็นสำหรับเข้าถึงบริการ API\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"username\",\"in\":\"query\",\"description\":\"ชื่อผู้ใช้ Instagram ที่ต้องการดึงข้อมูลโปรไฟล์ออกมา\",\"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\":\"ข้อมูลการค้นหาประวัติบน Instagram. ตรวจสอบสถานะเพื่อดูว่าข้อมูลประวัติมีอยู่หรือไม่\",\"properties\":{\"status\":{\"type\":\"boolean\",\"description\":\"สถานะการค้นหาประวัติภายในข้อมูล. การตอบกลับ API ที่สำเร็จอาจมีข้อมูลผิดพลาดเมื่อข้อมูลประวัติไม่มีอยู่\"},\"errorMessage\":{\"type\":\"string\",\"description\":\"ข้อความที่ส่งกลับมาเมื่อการค้นหาประวัติไม่สามารถให้ข้อมูลได้\"},\"id\":{\"type\":\"string\",\"description\":\"ตัวระบุประวัติบน Instagram, ส่งกลับเป็นข้อความ\"},\"username\":{\"type\":\"string\",\"description\":\"ชื่อผู้ใช้ของประวัติบน Instagram\"},\"full_name\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏบนประวัติบน Instagram\"},\"biography\":{\"type\":\"string\",\"description\":\"ข้อความประวัติที่ปรากฏบนประวัติ\"},\"biography_with_entities\":{\"type\":\"object\",\"description\":\"ข้อความประวัติและข้อมูลเมตาดาต้าขององค์กรที่เกี่ยวข้อง\",\"properties\":{\"raw_text\":{\"type\":\"string\",\"description\":\"ข้อความดิบในชุดข้อมูลประวัติที่รายงาน\"},\"entities\":{\"type\":\"array\",\"description\":\"องค์กรที่เกี่ยวข้องกับข้อความประวัติ. อาร์เรย์อาจว่างเปล่า\"}}},\"bio_links\":{\"type\":\"array\",\"description\":\"ลิงก์ที่ปรากฏในประวัติบนบัญชี\",\"items\":{\"type\":\"object\",\"description\":\"ลิงก์ประวัติหนึ่งรายการ\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏสำหรับลิงก์ประวัติ\"},\"url\":{\"type\":\"string\",\"description\":\"URL ของที่อยู่ที่แสดงในลิงก์ประวัติบุคคล.\"},\"link_type\":{\"type\":\"string\",\"description\":\"ป้ายกำกับประเภทลิงก์ที่ Instagram รายงาน.\"}}}},\"external_url\":{\"type\":\"string\",\"description\":\"ลิงก์ไปยังเว็บไซต์ภายนอกที่แสดงในโปรไฟล์.\"},\"profile_pic_url\":{\"type\":\"string\",\"description\":\"ลิงก์ไปยังรูปโปรไฟล์หลัก.\"},\"profile_pic_url_hd\":{\"type\":\"string\",\"description\":\"ลิงก์ไปยังรูปโปรไฟล์ที่มีความละเอียดสูง.\"},\"is_private\":{\"type\":\"boolean\",\"description\":\"ว่าการโปรไฟล์ถูกระบุว่าเป็นส่วนตัวหรือไม่\"},\"is_verified\":{\"type\":\"boolean\",\"description\":\"ว่าการ์ไฟล์ของโปรไฟล์ถูกระบุว่าได้รับการยืนยันหรือไม่\"},\"is_business_account\":{\"type\":\"boolean\",\"description\":\"ว่าการโปรไฟล์นี้ถูกกำหนดให้เป็นบัญชีธุรกิจหรือไม่.\"},\"is_professional_account\":{\"type\":\"boolean\",\"description\":\"ว่าการโปรไฟล์นี้ถูกกำหนดให้เป็นบัญชีมืออาชีพหรือไม่.\"},\"category_name\":{\"type\":[\"string\",\"null\"],\"description\":\"ป้ายชื่อหมวดหมู่โปรไฟล์ที่ Instagram ส่งกลับมา หรือ null หากไม่มีอยู่。\"},\"should_show_category\":{\"type\":\"boolean\",\"description\":\"ว่าประเภทของโปรไฟล์นี้ถูกกำหนดให้แสดงหรือไม่.\"},\"business_contact_method\":{\"type\":[\"string\",\"null\"],\"description\":\"ป้ายชื่อวิธีการติดต่อธุรกิจ，ส่งกลับเป็นข้อความหรือ null。\"},\"business_address_json\":{\"type\":[\"string\",\"null\"],\"description\":\"ข้อมูลที่อยู่ธุรกิจที่ถูกเข้ารหัสเป็น JSON，ส่งกลับเป็นข้อความหรือ null。อ็อบเจกต์ที่ถูกเข้ารหัสอาจมีองค์ประกอบที่เป็น null。\"},\"is_embeds_disabled\":{\"type\":\"boolean\",\"description\":\"ว่าการโปรไฟล์นี้ปิดการใช้งานการแสดงผลของเนื้อหาภายนอกหรือไม่.\"},\"edge_followed_by\":{\"type\":\"object\",\"description\":\"ข้อมูลจำนวนผู้ติดตามของโปรไฟล์.\",\"properties\":{\"count\":{\"type\":\"integer\",\"description\":\"จำนวนผู้ติดตามของโปรไฟล์ตามที่รายงาน\"}}},\"edge_follow\":{\"type\":\"object\",\"description\":\"ข้อมูลจำนวนผู้ติดตามที่โปรไฟล์กำลังติดตาม.\",\"properties\":{\"count\":{\"type\":\"integer\",\"description\":\"จำนวนบัญชีที่โปรไฟล์กำลังติดตาม.\"}}},\"highlight_reel_count\":{\"type\":\"integer\",\"description\":\"จำนวนเรื่องที่ได้รับความนิยมสำหรับโปรไฟล์ที่รายงาน\"},\"pinned_channels_list_count\":{\"type\":\"integer\",\"description\":\"จำนวนช่องที่ถูกติดตามโดยโปรไฟล์ที่รายงาน.\"},\"has_clips\":{\"type\":\"boolean\",\"description\":\"ว่าการโปรไฟล์รายงานว่ามีเนื้อหา Reels หรือไม่.\"},\"has_guides\":{\"type\":\"boolean\",\"description\":\"ว่าการโปรไฟล์รายงานว่ามีคู่มือหรือไม่.\"},\"has_channel\":{\"type\":\"boolean\",\"description\":\"ว่าการโปรไฟล์รายงานว่ามีช่องหรือไม่.\"},\"has_ar_effects\":{\"type\":\"boolean\",\"description\":\"ว่าการโปรไฟล์รายงานว่ามีเอฟเฟกต์ AR หรือไม่.\"},\"hide_like_and_view_counts\":{\"type\":\"boolean\",\"description\":\"ว่าการโปรไฟล์รายงานว่าจำนวนการกดไลค์และการดูถูกซ่อนอยู่หรือไม่.\"},\"edge_owner_to_timeline_media\":{\"type\":\"object\",\"description\":\"ข้อมูลเวลาประวัติที่เลือกใช้ได้ อาจว่างเปล่าสำหรับโปรไฟล์ที่มีโพสต์สาธารณะ. ข้อมูลสื่อเคยมีอยู่ในคำตอบที่ได้รับการยืนยันในอดีต.\",\"properties\":{\"count\":{\"type\":\"integer\",\"description\":\"จำนวนรายการที่รายงานในชุดข้อมูลไทม์ไลน์ที่แนบมา โปรไฟล์ที่ยังใช้งานอยู่อาจคืนค่าศูนย์ในฟิลด์นี้\"},\"page_info\":{\"type\":\"object\",\"description\":\"ข้อมูลการแสดงผลการแสดงผลในชุดเวลาประวัติที่เลือกใช้ได้.\",\"properties\":{\"has_next_page\":{\"type\":\"boolean\",\"description\":\"ว่าชุดเวลาประวัติที่เลือกใช้ได้บ่งชี้ถึงหน้าเพจอื่นหรือไม่.\"}}},\"edges\":{\"type\":\"array\",\"description\":\"ข้อมูลสื่อที่รวมอยู่ในลิทเทลอินลิงน์ เมื่อได้รับการส่งกลับมา องค์ประกอบนี้อาจว่างเปล่าได้\",\"items\":{\"type\":\"object\",\"description\":\"ข้อมูลสื่อหนึ่งในชุดสื่อของลิทเทลอินลิงน์\",\"properties\":{\"node\":{\"type\":\"object\",\"description\":\"ไอเทมสื่อในลิทเทลอินลิงน์ ฟิลด์ต่างๆ จะมีอยู่ก็ต่อเมื่อการตอบกลับมีไอเทมนี้อยู่เท่านั้น\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ID สื่อ Instagram ซึ่งส่งกลับมาในรูปแบบข้อความ\"},\"shortcode\":{\"type\":\"string\",\"description\":\"ชื่อสคริปต์สำหรับสื่อ Instagram\"},\"taken_at_timestamp\":{\"type\":\"integer\",\"description\":\"เวลาการเผยแพร่ของสื่อในรูปแบบวินาทีตามยุค Unix\"},\"owner\":{\"type\":\"object\",\"description\":\"บัญชีเจ้าของที่รายงานสำหรับสื่อ\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ตัวระบุบัญชี Instagram ซึ่งส่งกลับมาในรูปแบบข้อความ\"},\"username\":{\"type\":\"string\",\"description\":\"ชื่อผู้ใช้บัญชี Instagram\"}}},\"product_type\":{\"type\":\"string\",\"description\":\"ป้ายกำกับประเภทสินค้าที่รายงานสำหรับสื่อ\"},\"is_video\":{\"type\":\"boolean\",\"description\":\"ว่าสื่อไอเทมนี้ถูกจัดประเภทเป็นวิดีโอหรือไม่\"},\"has_audio\":{\"type\":\"boolean\",\"description\":\"ว่าสื่อไอเทมนี้มีเสียงหรือไม่\"},\"video_url\":{\"type\":\"string\",\"description\":\"ลิงก์ไปยังวิดีโอของสื่อไอเทม เมื่อได้รับการส่งกลับมา\"},\"video_view_count\":{\"type\":\"integer\",\"description\":\"จำนวนครั้งที่ผู้ใช้ดูวิดีโอของสื่อไอเทม\"},\"display_url\":{\"type\":\"string\",\"description\":\"ลิงก์ไปยังรูปภาพที่แสดงของสื่อ\"},\"dimensions\":{\"type\":\"object\",\"description\":\"ขนาดของสื่อที่รายงาน\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"ความกว้างของสื่อที่รายงาน\"},\"height\":{\"type\":\"integer\",\"description\":\"ความสูงของสื่อที่รายงาน\"}}},\"thumbnail_src\":{\"type\":\"string\",\"description\":\"ลิงก์ไปยังไอโหมนของสื่อที่รายงาน\"},\"thumbnail_tall_src\":{\"type\":\"string\",\"description\":\"ลิงก์ไปยังเวอร์ชันไอโหมนที่มีความสูงมาก\"},\"thumbnail_resources\":{\"type\":\"array\",\"description\":\"ทรัพยากรไอโหมนที่มีอยู่และขนาดที่รายงาน\",\"items\":{\"type\":\"object\",\"description\":\"ไอโหมนหนึ่งรายการ\",\"properties\":{\"src\":{\"type\":\"string\",\"description\":\"URL ของไอโหมนรายการนี้\"},\"config_width\":{\"type\":\"integer\",\"description\":\"ความกว้างของเวอร์ชันไอโหมน\"},\"config_height\":{\"type\":\"integer\",\"description\":\"ความสูงของเวอร์ชันไอโหมน\"}}}},\"tall_profile_grid_crop\":{\"type\":[\"object\",\"null\"],\"description\":\"พิกัดการตัดภาพแบบกริดสูง ถูกส่งกลับเป็นอ็อบเจกต์หรือ null.\",\"properties\":{\"crop_top\":{\"type\":\"number\",\"description\":\"พิกัดตัดภาพด้านบนที่รายงานสำหรับกริดโปรไฟล์.\"},\"crop_bottom\":{\"type\":\"number\",\"description\":\"พิกัดตัดภาพด้านล่างที่รายงานสำหรับกริดโปรไฟล์.\"},\"crop_left\":{\"type\":\"number\",\"description\":\"พิกัดตัดภาพด้านซ้ายที่รายงานสำหรับกริดโปรไฟล์.\"},\"crop_right\":{\"type\":\"number\",\"description\":\"พิกัดตัดภาพด้านขวาที่รายงานสำหรับกริดโปรไฟล์.\"}}},\"comments_disabled\":{\"type\":\"boolean\",\"description\":\"ว่าคำแสดงความคิดเห็นถูกตั้งเป็นไม่สามารถใช้งานได้สำหรับสื่อ.\"},\"like_and_view_counts_disabled\":{\"type\":\"boolean\",\"description\":\"ว่าจำนวนคนที่กดไลค์และดูถูกถูกตั้งเป็นซ่อนสำหรับสื่อ.\"},\"edge_liked_by\":{\"type\":\"object\",\"description\":\"ข้อมูลจำนวนคนที่กดไลค์ที่รายงานสำหรับสื่อ.\",\"properties\":{\"count\":{\"type\":\"integer\",\"description\":\"จำนวนไลก์ตามที่รายงาน\"}}},\"edge_media_preview_like\":{\"type\":\"object\",\"description\":\"ข้อมูลจำนวนคนที่กดไลค์ที่รายงานในตัวอย่างสื่อ.\",\"properties\":{\"count\":{\"type\":\"integer\",\"description\":\"จำนวนคนที่กดไลค์ที่รายงานในตัวอย่าง.\"}}},\"edge_media_to_comment\":{\"type\":\"object\",\"description\":\"ข้อมูลจำนวนคำแสดงความคิดเห็นที่รายงานสำหรับสื่อ.\",\"properties\":{\"count\":{\"type\":\"integer\",\"description\":\"จำนวนความคิดเห็นตามที่รายงาน\"}}},\"edge_media_to_caption\":{\"type\":\"object\",\"description\":\"ชุดคำบรรยายที่รายงานสำหรับสื่อ.\",\"properties\":{\"edges\":{\"type\":\"array\",\"description\":\"ข้อมูลคำบรรยายที่รวมอยู่ในการตอบกลับของสื่อ.\",\"items\":{\"type\":\"object\",\"description\":\"คำบรรยายหนึ่งคำ.\",\"properties\":{\"node\":{\"type\":\"object\",\"description\":\"รายการคำบรรยายในข้อมูลนี้.\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"ข้อความคำบรรยายของสื่อ.\"}}}}}}}},\"edge_media_to_tagged_user\":{\"type\":\"object\",\"description\":\"หมายเลขบัญชีที่รายงานสำหรับสื่อ.\",\"properties\":{\"edges\":{\"type\":\"array\",\"description\":\"ข้อมูลหมายเลขบัญชีที่รวมอยู่กับสื่อ.\",\"items\":{\"type\":\"object\",\"description\":\"ข้อมูลหมายเลขบัญชีหนึ่งรายการ.\",\"properties\":{\"node\":{\"type\":\"object\",\"description\":\"หมายเลขบัญชีสื่อหนึ่งรายการและข้อมูลการวางตำแหน่งของมัน.\",\"properties\":{\"user\":{\"type\":\"object\",\"description\":\"บัญชีสาธารณะที่ถูกอ้างอิงโดยหมายเลขบัญชี.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ตัวระบุบัญชี Instagram ซึ่งส่งกลับมาในรูปแบบข้อความ\"},\"username\":{\"type\":\"string\",\"description\":\"ชื่อผู้ใช้บัญชี Instagram\"},\"full_name\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงสำหรับบัญชีที่ถูกแท็ก.\"},\"is_verified\":{\"type\":\"boolean\",\"description\":\"ว่าบัญชีที่ถูกแท็กถูกตั้งเป็นได้รับการยืนยันหรือไม่.\"},\"profile_pic_url\":{\"type\":\"string\",\"description\":\"ลิงก์รูปโปรไฟล์ที่รายงานสำหรับบัญชีที่ถูกแท็ก.\"}}},\"x\":{\"type\":\"number\",\"description\":\"ค่าการวางตำแหน่งแนวนอนที่รายงานสำหรับแท็ก.\"},\"y\":{\"type\":\"number\",\"description\":\"ค่าการวางตำแหน่งแนวตั้งที่รายงานสำหรับแท็ก.\"}}}}}}}},\"coauthor_producers\":{\"type\":\"array\",\"description\":\"บัญชีที่ระบุว่าเป็นผู้ร่วมงานด้านสื่อ\",\"items\":{\"type\":\"object\",\"description\":\"บัญชีหนึ่งที่ระบุว่าเป็นผู้ร่วมงานด้านสื่อ\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ตัวระบุบัญชี Instagram ซึ่งส่งกลับมาในรูปแบบข้อความ\"},\"username\":{\"type\":\"string\",\"description\":\"ชื่อผู้ใช้บัญชี Instagram\"},\"is_verified\":{\"type\":\"boolean\",\"description\":\"ว่าบัญชีที่ร่วมงานนั้นได้รับการยืนยันหรือไม่\"},\"profile_pic_url\":{\"type\":\"string\",\"description\":\"ลิงก์รูปโปรไฟล์ที่รายงานสำหรับบัญชีที่ร่วมงาน\"}}}},\"clips_music_attribution_info\":{\"type\":\"object\",\"description\":\"ชื่อศิลปินที่รายงานในข้อมูลการอ้างอิงเพลง\",\"properties\":{\"artist_name\":{\"type\":\"string\",\"description\":\"ชื่อเพลงที่รายงานในข้อมูลการอ้างอิงเพลง\"},\"song_name\":{\"type\":\"string\",\"description\":\"ชื่อมิวสิกวิดีโอที่รายงานในข้อมูลการอ้างอิงเพลง\"},\"audio_id\":{\"type\":\"string\",\"description\":\"ตัวระบุเสียงที่รายงานในข้อมูลการอ้างอิงเพลง\"},\"uses_original_audio\":{\"type\":\"boolean\",\"description\":\"ว่าวิดีโอนั้นมีการอ้างอิงเสียงต้นฉบับหรือไม่\"}}}}}}}}}},\"edge_felix_video_timeline\":{\"type\":\"object\",\"description\":\"ข้อมูลเมตาดาต้าแทร็กวิดีโอแบบอินลิงน์ เมื่อได้รับการรายงาน\",\"properties\":{\"count\":{\"type\":\"integer\",\"description\":\"จำนวนที่รายงานสำหรับแทร็กวิดีโอแบบอินลิงน์\"},\"page_info\":{\"type\":\"object\",\"description\":\"ข้อมูลเมตาดาต้าในการแสดงผลแทร็กวิดีโอแบบอินลิงน์\",\"properties\":{\"has_next_page\":{\"type\":\"boolean\",\"description\":\"ว่าชุดเวลาประวัติที่เลือกใช้ได้บ่งชี้ถึงหน้าเพจอื่นหรือไม่.\"}}},\"edges\":{\"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/instagram/get-user-detail/v2\"")' />

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

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

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

| ชื่อ | ตำแหน่ง | ชนิดข้อมูล | จำเป็น | ค่าเริ่มต้น | คำอธิบาย |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | ใช่ | - | โทเค็นสำหรับเข้าถึงบริการ API |
| <code>username</code> | query | <code>string</code> | ใช่ | - | ชื่อผู้ใช้ Instagram ที่ต้องการดึงข้อมูลโปรไฟล์ออกมา |

</div>

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

::: code-group

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

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

พารามิเตอร์:
- token (query): โทเค็นสำหรับเข้าถึงบริการ API (จำเป็น)
- username (query): ชื่อผู้ใช้ Instagram ที่ต้องการดึงข้อมูลโปรไฟล์ออกมา (จำเป็น)

รูปแบบที่ส่งกลับ: จัดการ 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/instagram/get-user-detail/v2?token=YOUR_API_KEY&username=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/instagram/get-user-detail/v2?token=YOUR_API_KEY&username=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/instagram/get-user-detail/v2?token=YOUR_API_KEY&username=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/instagram/get-user-detail/v2?token=YOUR_API_KEY&username=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/instagram/get-user-detail/v2?token=YOUR_API_KEY&username=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/instagram/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</code> | ข้อมูลการค้นหาประวัติบน Instagram. ตรวจสอบสถานะเพื่อดูว่าข้อมูลประวัติมีอยู่หรือไม่ |
| <code>data.status</code> | <code>boolean</code> | สถานะการค้นหาประวัติภายในข้อมูล. การตอบกลับ API ที่สำเร็จอาจมีข้อมูลผิดพลาดเมื่อข้อมูลประวัติไม่มีอยู่ |
| <code>data.errorMessage</code> | <code>string</code> | ข้อความที่ส่งกลับมาเมื่อการค้นหาประวัติไม่สามารถให้ข้อมูลได้ |
| <code>data.id</code> | <code>string</code> | ตัวระบุประวัติบน Instagram, ส่งกลับเป็นข้อความ |
| <code>data.username</code> | <code>string</code> | ชื่อผู้ใช้ของประวัติบน Instagram |
| <code>data.full_name</code> | <code>string</code> | ชื่อที่ปรากฏบนประวัติบน Instagram |
| <code>data.biography</code> | <code>string</code> | ข้อความประวัติที่ปรากฏบนประวัติ |
| <code>data.biography_with_entities</code> | <code>object</code> | ข้อความประวัติและข้อมูลเมตาดาต้าขององค์กรที่เกี่ยวข้อง |
| <code>data.biography_with_entities.raw_text</code> | <code>string</code> | ข้อความดิบในชุดข้อมูลประวัติที่รายงาน |
| <code>data.biography_with_entities.entities</code> | <code>array</code> | องค์กรที่เกี่ยวข้องกับข้อความประวัติ. อาร์เรย์อาจว่างเปล่า |
| <code>data.bio_links</code> | <code>array</code> | ลิงก์ที่ปรากฏในประวัติบนบัญชี |
| <code>data.bio_links[]</code> | <code>object</code> | ลิงก์ประวัติหนึ่งรายการ |
| <code>data.bio_links[].title</code> | <code>string</code> | ชื่อที่ปรากฏสำหรับลิงก์ประวัติ |
| <code>data.bio_links[].url</code> | <code>string</code> | URL ของที่อยู่ที่แสดงในลิงก์ประวัติบุคคล. |
| <code>data.bio_links[].link_type</code> | <code>string</code> | ป้ายกำกับประเภทลิงก์ที่ Instagram รายงาน. |
| <code>data.external_url</code> | <code>string</code> | ลิงก์ไปยังเว็บไซต์ภายนอกที่แสดงในโปรไฟล์. |
| <code>data.profile_pic_url</code> | <code>string</code> | ลิงก์ไปยังรูปโปรไฟล์หลัก. |
| <code>data.profile_pic_url_hd</code> | <code>string</code> | ลิงก์ไปยังรูปโปรไฟล์ที่มีความละเอียดสูง. |
| <code>data.is_private</code> | <code>boolean</code> | ว่าการโปรไฟล์ถูกระบุว่าเป็นส่วนตัวหรือไม่ |
| <code>data.is_verified</code> | <code>boolean</code> | ว่าการ์ไฟล์ของโปรไฟล์ถูกระบุว่าได้รับการยืนยันหรือไม่ |
| <code>data.is_business_account</code> | <code>boolean</code> | ว่าการโปรไฟล์นี้ถูกกำหนดให้เป็นบัญชีธุรกิจหรือไม่. |
| <code>data.is_professional_account</code> | <code>boolean</code> | ว่าการโปรไฟล์นี้ถูกกำหนดให้เป็นบัญชีมืออาชีพหรือไม่. |
| <code>data.category_name</code> | <code>string &#124; null</code> | ป้ายชื่อหมวดหมู่โปรไฟล์ที่ Instagram ส่งกลับมา หรือ null หากไม่มีอยู่。 |
| <code>data.should_show_category</code> | <code>boolean</code> | ว่าประเภทของโปรไฟล์นี้ถูกกำหนดให้แสดงหรือไม่. |
| <code>data.business_contact_method</code> | <code>string &#124; null</code> | ป้ายชื่อวิธีการติดต่อธุรกิจ，ส่งกลับเป็นข้อความหรือ null。 |
| <code>data.business_address_json</code> | <code>string &#124; null</code> | ข้อมูลที่อยู่ธุรกิจที่ถูกเข้ารหัสเป็น JSON，ส่งกลับเป็นข้อความหรือ null。อ็อบเจกต์ที่ถูกเข้ารหัสอาจมีองค์ประกอบที่เป็น null。 |
| <code>data.is_embeds_disabled</code> | <code>boolean</code> | ว่าการโปรไฟล์นี้ปิดการใช้งานการแสดงผลของเนื้อหาภายนอกหรือไม่. |
| <code>data.edge_followed_by</code> | <code>object</code> | ข้อมูลจำนวนผู้ติดตามของโปรไฟล์. |
| <code>data.edge_followed_by.count</code> | <code>integer</code> | จำนวนผู้ติดตามของโปรไฟล์ตามที่รายงาน |
| <code>data.edge_follow</code> | <code>object</code> | ข้อมูลจำนวนผู้ติดตามที่โปรไฟล์กำลังติดตาม. |
| <code>data.edge_follow.count</code> | <code>integer</code> | จำนวนบัญชีที่โปรไฟล์กำลังติดตาม. |
| <code>data.highlight_reel_count</code> | <code>integer</code> | จำนวนเรื่องที่ได้รับความนิยมสำหรับโปรไฟล์ที่รายงาน |
| <code>data.pinned_channels_list_count</code> | <code>integer</code> | จำนวนช่องที่ถูกติดตามโดยโปรไฟล์ที่รายงาน. |
| <code>data.has_clips</code> | <code>boolean</code> | ว่าการโปรไฟล์รายงานว่ามีเนื้อหา Reels หรือไม่. |
| <code>data.has_guides</code> | <code>boolean</code> | ว่าการโปรไฟล์รายงานว่ามีคู่มือหรือไม่. |
| <code>data.has_channel</code> | <code>boolean</code> | ว่าการโปรไฟล์รายงานว่ามีช่องหรือไม่. |
| <code>data.has_ar_effects</code> | <code>boolean</code> | ว่าการโปรไฟล์รายงานว่ามีเอฟเฟกต์ AR หรือไม่. |
| <code>data.hide_like_and_view_counts</code> | <code>boolean</code> | ว่าการโปรไฟล์รายงานว่าจำนวนการกดไลค์และการดูถูกซ่อนอยู่หรือไม่. |
| <code>data.edge_owner_to_timeline_media</code> | <code>object</code> | ข้อมูลเวลาประวัติที่เลือกใช้ได้ อาจว่างเปล่าสำหรับโปรไฟล์ที่มีโพสต์สาธารณะ. ข้อมูลสื่อเคยมีอยู่ในคำตอบที่ได้รับการยืนยันในอดีต. |
| <code>data.edge_owner_to_timeline_media.count</code> | <code>integer</code> | จำนวนรายการที่รายงานในชุดข้อมูลไทม์ไลน์ที่แนบมา โปรไฟล์ที่ยังใช้งานอยู่อาจคืนค่าศูนย์ในฟิลด์นี้ |
| <code>data.edge_owner_to_timeline_media.page_info</code> | <code>object</code> | ข้อมูลการแสดงผลการแสดงผลในชุดเวลาประวัติที่เลือกใช้ได้. |
| <code>data.edge_owner_to_timeline_media.page_info.has_next_page</code> | <code>boolean</code> | ว่าชุดเวลาประวัติที่เลือกใช้ได้บ่งชี้ถึงหน้าเพจอื่นหรือไม่. |
| <code>data.edge_owner_to_timeline_media.edges</code> | <code>array</code> | ข้อมูลสื่อที่รวมอยู่ในลิทเทลอินลิงน์ เมื่อได้รับการส่งกลับมา องค์ประกอบนี้อาจว่างเปล่าได้ |
| <code>data.edge_owner_to_timeline_media.edges[]</code> | <code>object</code> | ข้อมูลสื่อหนึ่งในชุดสื่อของลิทเทลอินลิงน์ |
| <code>data.edge_owner_to_timeline_media.edges[].node</code> | <code>object</code> | ไอเทมสื่อในลิทเทลอินลิงน์ ฟิลด์ต่างๆ จะมีอยู่ก็ต่อเมื่อการตอบกลับมีไอเทมนี้อยู่เท่านั้น |
| <code>data.edge_owner_to_timeline_media.edges[].node.id</code> | <code>string</code> | ID สื่อ Instagram ซึ่งส่งกลับมาในรูปแบบข้อความ |
| <code>data.edge_owner_to_timeline_media.edges[].node.shortcode</code> | <code>string</code> | ชื่อสคริปต์สำหรับสื่อ Instagram |
| <code>data.edge_owner_to_timeline_media.edges[].node.taken_at_timestamp</code> | <code>integer</code> | เวลาการเผยแพร่ของสื่อในรูปแบบวินาทีตามยุค Unix |
| <code>data.edge_owner_to_timeline_media.edges[].node.owner</code> | <code>object</code> | บัญชีเจ้าของที่รายงานสำหรับสื่อ |
| <code>data.edge_owner_to_timeline_media.edges[].node.owner.id</code> | <code>string</code> | ตัวระบุบัญชี Instagram ซึ่งส่งกลับมาในรูปแบบข้อความ |
| <code>data.edge_owner_to_timeline_media.edges[].node.owner.username</code> | <code>string</code> | ชื่อผู้ใช้บัญชี Instagram |
| <code>data.edge_owner_to_timeline_media.edges[].node.product_type</code> | <code>string</code> | ป้ายกำกับประเภทสินค้าที่รายงานสำหรับสื่อ |
| <code>data.edge_owner_to_timeline_media.edges[].node.is_video</code> | <code>boolean</code> | ว่าสื่อไอเทมนี้ถูกจัดประเภทเป็นวิดีโอหรือไม่ |
| <code>data.edge_owner_to_timeline_media.edges[].node.has_audio</code> | <code>boolean</code> | ว่าสื่อไอเทมนี้มีเสียงหรือไม่ |
| <code>data.edge_owner_to_timeline_media.edges[].node.video_url</code> | <code>string</code> | ลิงก์ไปยังวิดีโอของสื่อไอเทม เมื่อได้รับการส่งกลับมา |
| <code>data.edge_owner_to_timeline_media.edges[].node.video_view_count</code> | <code>integer</code> | จำนวนครั้งที่ผู้ใช้ดูวิดีโอของสื่อไอเทม |
| <code>data.edge_owner_to_timeline_media.edges[].node.display_url</code> | <code>string</code> | ลิงก์ไปยังรูปภาพที่แสดงของสื่อ |
| <code>data.edge_owner_to_timeline_media.edges[].node.dimensions</code> | <code>object</code> | ขนาดของสื่อที่รายงาน |
| <code>data.edge_owner_to_timeline_media.edges[].node.dimensions.width</code> | <code>integer</code> | ความกว้างของสื่อที่รายงาน |
| <code>data.edge_owner_to_timeline_media.edges[].node.dimensions.height</code> | <code>integer</code> | ความสูงของสื่อที่รายงาน |
| <code>data.edge_owner_to_timeline_media.edges[].node.thumbnail_src</code> | <code>string</code> | ลิงก์ไปยังไอโหมนของสื่อที่รายงาน |
| <code>data.edge_owner_to_timeline_media.edges[].node.thumbnail_tall_src</code> | <code>string</code> | ลิงก์ไปยังเวอร์ชันไอโหมนที่มีความสูงมาก |
| <code>data.edge_owner_to_timeline_media.edges[].node.thumbnail_resources</code> | <code>array</code> | ทรัพยากรไอโหมนที่มีอยู่และขนาดที่รายงาน |
| <code>data.edge_owner_to_timeline_media.edges[].node.thumbnail_resources[]</code> | <code>object</code> | ไอโหมนหนึ่งรายการ |
| <code>data.edge_owner_to_timeline_media.edges[].node.thumbnail_resources[].src</code> | <code>string</code> | URL ของไอโหมนรายการนี้ |
| <code>data.edge_owner_to_timeline_media.edges[].node.thumbnail_resources[].config_width</code> | <code>integer</code> | ความกว้างของเวอร์ชันไอโหมน |
| <code>data.edge_owner_to_timeline_media.edges[].node.thumbnail_resources[].config_height</code> | <code>integer</code> | ความสูงของเวอร์ชันไอโหมน |
| <code>data.edge_owner_to_timeline_media.edges[].node.tall_profile_grid_crop</code> | <code>object &#124; null</code> | พิกัดการตัดภาพแบบกริดสูง ถูกส่งกลับเป็นอ็อบเจกต์หรือ null. |
| <code>data.edge_owner_to_timeline_media.edges[].node.tall_profile_grid_crop.crop_top</code> | <code>number</code> | พิกัดตัดภาพด้านบนที่รายงานสำหรับกริดโปรไฟล์. |
| <code>data.edge_owner_to_timeline_media.edges[].node.tall_profile_grid_crop.crop_bottom</code> | <code>number</code> | พิกัดตัดภาพด้านล่างที่รายงานสำหรับกริดโปรไฟล์. |
| <code>data.edge_owner_to_timeline_media.edges[].node.tall_profile_grid_crop.crop_left</code> | <code>number</code> | พิกัดตัดภาพด้านซ้ายที่รายงานสำหรับกริดโปรไฟล์. |
| <code>data.edge_owner_to_timeline_media.edges[].node.tall_profile_grid_crop.crop_right</code> | <code>number</code> | พิกัดตัดภาพด้านขวาที่รายงานสำหรับกริดโปรไฟล์. |
| <code>data.edge_owner_to_timeline_media.edges[].node.comments_disabled</code> | <code>boolean</code> | ว่าคำแสดงความคิดเห็นถูกตั้งเป็นไม่สามารถใช้งานได้สำหรับสื่อ. |
| <code>data.edge_owner_to_timeline_media.edges[].node.like_and_view_counts_disabled</code> | <code>boolean</code> | ว่าจำนวนคนที่กดไลค์และดูถูกถูกตั้งเป็นซ่อนสำหรับสื่อ. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_liked_by</code> | <code>object</code> | ข้อมูลจำนวนคนที่กดไลค์ที่รายงานสำหรับสื่อ. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_liked_by.count</code> | <code>integer</code> | จำนวนไลก์ตามที่รายงาน |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_preview_like</code> | <code>object</code> | ข้อมูลจำนวนคนที่กดไลค์ที่รายงานในตัวอย่างสื่อ. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_preview_like.count</code> | <code>integer</code> | จำนวนคนที่กดไลค์ที่รายงานในตัวอย่าง. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_comment</code> | <code>object</code> | ข้อมูลจำนวนคำแสดงความคิดเห็นที่รายงานสำหรับสื่อ. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_comment.count</code> | <code>integer</code> | จำนวนความคิดเห็นตามที่รายงาน |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_caption</code> | <code>object</code> | ชุดคำบรรยายที่รายงานสำหรับสื่อ. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_caption.edges</code> | <code>array</code> | ข้อมูลคำบรรยายที่รวมอยู่ในการตอบกลับของสื่อ. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_caption.edges[]</code> | <code>object</code> | คำบรรยายหนึ่งคำ. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_caption.edges[].node</code> | <code>object</code> | รายการคำบรรยายในข้อมูลนี้. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_caption.edges[].node.text</code> | <code>string</code> | ข้อความคำบรรยายของสื่อ. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user</code> | <code>object</code> | หมายเลขบัญชีที่รายงานสำหรับสื่อ. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges</code> | <code>array</code> | ข้อมูลหมายเลขบัญชีที่รวมอยู่กับสื่อ. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges[]</code> | <code>object</code> | ข้อมูลหมายเลขบัญชีหนึ่งรายการ. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges[].node</code> | <code>object</code> | หมายเลขบัญชีสื่อหนึ่งรายการและข้อมูลการวางตำแหน่งของมัน. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges[].node.user</code> | <code>object</code> | บัญชีสาธารณะที่ถูกอ้างอิงโดยหมายเลขบัญชี. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges[].node.user.id</code> | <code>string</code> | ตัวระบุบัญชี Instagram ซึ่งส่งกลับมาในรูปแบบข้อความ |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges[].node.user.username</code> | <code>string</code> | ชื่อผู้ใช้บัญชี Instagram |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges[].node.user.full_name</code> | <code>string</code> | ชื่อที่แสดงสำหรับบัญชีที่ถูกแท็ก. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges[].node.user.is_verified</code> | <code>boolean</code> | ว่าบัญชีที่ถูกแท็กถูกตั้งเป็นได้รับการยืนยันหรือไม่. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges[].node.user.profile_pic_url</code> | <code>string</code> | ลิงก์รูปโปรไฟล์ที่รายงานสำหรับบัญชีที่ถูกแท็ก. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges[].node.x</code> | <code>number</code> | ค่าการวางตำแหน่งแนวนอนที่รายงานสำหรับแท็ก. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges[].node.y</code> | <code>number</code> | ค่าการวางตำแหน่งแนวตั้งที่รายงานสำหรับแท็ก. |
| <code>data.edge_owner_to_timeline_media.edges[].node.coauthor_producers</code> | <code>array</code> | บัญชีที่ระบุว่าเป็นผู้ร่วมงานด้านสื่อ |
| <code>data.edge_owner_to_timeline_media.edges[].node.coauthor_producers[]</code> | <code>object</code> | บัญชีหนึ่งที่ระบุว่าเป็นผู้ร่วมงานด้านสื่อ |
| <code>data.edge_owner_to_timeline_media.edges[].node.coauthor_producers[].id</code> | <code>string</code> | ตัวระบุบัญชี Instagram ซึ่งส่งกลับมาในรูปแบบข้อความ |
| <code>data.edge_owner_to_timeline_media.edges[].node.coauthor_producers[].username</code> | <code>string</code> | ชื่อผู้ใช้บัญชี Instagram |
| <code>data.edge_owner_to_timeline_media.edges[].node.coauthor_producers[].is_verified</code> | <code>boolean</code> | ว่าบัญชีที่ร่วมงานนั้นได้รับการยืนยันหรือไม่ |
| <code>data.edge_owner_to_timeline_media.edges[].node.coauthor_producers[].profile_pic_url</code> | <code>string</code> | ลิงก์รูปโปรไฟล์ที่รายงานสำหรับบัญชีที่ร่วมงาน |
| <code>data.edge_owner_to_timeline_media.edges[].node.clips_music_attribution_info</code> | <code>object</code> | ชื่อศิลปินที่รายงานในข้อมูลการอ้างอิงเพลง |
| <code>data.edge_owner_to_timeline_media.edges[].node.clips_music_attribution_info.artist_name</code> | <code>string</code> | ชื่อเพลงที่รายงานในข้อมูลการอ้างอิงเพลง |
| <code>data.edge_owner_to_timeline_media.edges[].node.clips_music_attribution_info.song_name</code> | <code>string</code> | ชื่อมิวสิกวิดีโอที่รายงานในข้อมูลการอ้างอิงเพลง |
| <code>data.edge_owner_to_timeline_media.edges[].node.clips_music_attribution_info.audio_id</code> | <code>string</code> | ตัวระบุเสียงที่รายงานในข้อมูลการอ้างอิงเพลง |
| <code>data.edge_owner_to_timeline_media.edges[].node.clips_music_attribution_info.uses_original_audio</code> | <code>boolean</code> | ว่าวิดีโอนั้นมีการอ้างอิงเสียงต้นฉบับหรือไม่ |
| <code>data.edge_felix_video_timeline</code> | <code>object</code> | ข้อมูลเมตาดาต้าแทร็กวิดีโอแบบอินลิงน์ เมื่อได้รับการรายงาน |
| <code>data.edge_felix_video_timeline.count</code> | <code>integer</code> | จำนวนที่รายงานสำหรับแทร็กวิดีโอแบบอินลิงน์ |
| <code>data.edge_felix_video_timeline.page_info</code> | <code>object</code> | ข้อมูลเมตาดาต้าในการแสดงผลแทร็กวิดีโอแบบอินลิงน์ |
| <code>data.edge_felix_video_timeline.page_info.has_next_page</code> | <code>boolean</code> | ว่าชุดเวลาประวัติที่เลือกใช้ได้บ่งชี้ถึงหน้าเพจอื่นหรือไม่. |
| <code>data.edge_felix_video_timeline.edges</code> | <code>array</code> | เนื้อหาวิดีโอในแทร็กอินลิงน์ ตัวแปรอาจว่างเปล่าได้ |

</div>

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

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

