---
title: "Instagram Hồ sơ người dùng API (V2)"
description: "Lấy thông tin về hồ sơ người dùng Instagram bằng tên người dùng. Sử dụng để xem xét tài khoản đã biết trước khi nghiên cứu tác giả, giám sát thương hiệu hoặc phân tích bài đăng liên quan."
lastUpdated: false
aiUsagePrompt: true
---

# Instagram Hồ sơ người dùng API \(V2\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/instagram/get-user-detail/v2\"")'
  :summary='JSON.parse("\"Hồ sơ người dùng (V2)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/instagram/user-profile-v2-vi.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"Token truy cập cho dịch vụ API.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"username\",\"in\":\"query\",\"description\":\"Tên tài khoản Instagram mà thông tin hồ sơ của người dùng cần được lấy lại.\",\"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\":\"Dữ liệu truy xuất thông tin về tài khoản Instagram. Kiểm tra trạng thái để xem liệu thông tin về tài khoản có sẵn hay không.\",\"properties\":{\"status\":{\"type\":\"boolean\",\"description\":\"Trạng thái truy xuất thông tin về tài khoản trong dữ liệu. Phản hồi API thành công có thể chứa thông tin sai lệch khi thông tin về tài khoản không sẵn có.\"},\"errorMessage\":{\"type\":\"string\",\"description\":\"Thông báo được trả về khi việc truy xuất thông tin về tài khoản không thành công.\"},\"id\":{\"type\":\"string\",\"description\":\"ID của tài khoản Instagram, được trả về dưới dạng văn bản.\"},\"username\":{\"type\":\"string\",\"description\":\"Tên người dùng của tài khoản Instagram.\"},\"full_name\":{\"type\":\"string\",\"description\":\"Tên hiển thị được hiển thị trên tài khoản Instagram.\"},\"biography\":{\"type\":\"string\",\"description\":\"Văn bản tiểu sử được hiển thị trên tài khoản.\"},\"biography_with_entities\":{\"type\":\"object\",\"description\":\"Văn bản tiểu sử và metadata liên quan.\",\"properties\":{\"raw_text\":{\"type\":\"string\",\"description\":\"Văn bản gốc trong bộ thông tin tiểu sử được báo cáo.\"},\"entities\":{\"type\":\"array\",\"description\":\"Các thực thể liên quan đến văn bản tiểu sử. Mảng này có thể rỗng.\"}}},\"bio_links\":{\"type\":\"array\",\"description\":\"Các liên kết được liệt kê trong tiểu sử của người dùng.\",\"items\":{\"type\":\"object\",\"description\":\"Một liên kết tiểu sử được liệt kê.\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"Tiêu đề hiển thị cho liên kết tiểu sử.\"},\"url\":{\"type\":\"string\",\"description\":\"Địa chỉ URL được liệt kê cho liên kết tiểu sử.\"},\"link_type\":{\"type\":\"string\",\"description\":\"Tiêu đề loại liên kết được Instagram báo cáo.\"}}}},\"external_url\":{\"type\":\"string\",\"description\":\"Liên kết trang web bên ngoài được liệt kê trên hồ sơ.\"},\"profile_pic_url\":{\"type\":\"string\",\"description\":\"Liên kết đến hình nền chính của hồ sơ.\"},\"profile_pic_url_hd\":{\"type\":\"string\",\"description\":\"Liên kết đến hình nền hồ sơ độ phân giải cao.\"},\"is_private\":{\"type\":\"boolean\",\"description\":\"Liệu tiểu sử có được đánh dấu là riêng tư hay không.\"},\"is_verified\":{\"type\":\"boolean\",\"description\":\"Liệu thông tin người dùng có được đánh dấu là đã xác thực hay không.\"},\"is_business_account\":{\"type\":\"boolean\",\"description\":\"Liệu hồ sơ có được đánh dấu là tài khoản doanh nghiệp hay không.\"},\"is_professional_account\":{\"type\":\"boolean\",\"description\":\"Liệu hồ sơ có được đánh dấu là tài khoản chuyên nghiệp hay không.\"},\"category_name\":{\"type\":[\"string\",\"null\"],\"description\":\"Tiêu đề loại hồ sơ được Instagram trả về, hoặc null nếu không có.\"},\"should_show_category\":{\"type\":\"boolean\",\"description\":\"Liệu loại hồ sơ có được hiển thị hay không.\"},\"business_contact_method\":{\"type\":[\"string\",\"null\"],\"description\":\"Tiêu đề phương thức liên lạc của doanh nghiệp, được trả về dưới dạng văn bản hoặc null.\"},\"business_address_json\":{\"type\":[\"string\",\"null\"],\"description\":\"Dữ liệu địa chỉ doanh nghiệp được mã hóa JSON, được trả về dưới dạng văn bản hoặc null. Đối tượng mã hóa có thể chứa các thành phần null.\"},\"is_embeds_disabled\":{\"type\":\"boolean\",\"description\":\"Liệu hồ sơ có đánh dấu các nội dung tải từ bên ngoài là không hoạt động hay không.\"},\"edge_followed_by\":{\"type\":\"object\",\"description\":\"Dữ liệu số người theo dõi của hồ sơ.\",\"properties\":{\"count\":{\"type\":\"integer\",\"description\":\"Số người theo dõi của hồ sơ theo dữ liệu được báo cáo.\"}}},\"edge_follow\":{\"type\":\"object\",\"description\":\"Dữ liệu số hồ sơ đang theo dõi.\",\"properties\":{\"count\":{\"type\":\"integer\",\"description\":\"Số hồ sơ mà hồ sơ này theo dõi.\"}}},\"highlight_reel_count\":{\"type\":\"integer\",\"description\":\"Số lượng điểm nổi bật của bài viết được báo cáo cho tiểu sử.\"},\"pinned_channels_list_count\":{\"type\":\"integer\",\"description\":\"Số kênh được gắn thẻ được báo cáo cho hồ sơ.\"},\"has_clips\":{\"type\":\"boolean\",\"description\":\"Liệu hồ sơ có báo cáo về nội dung Reels hay không.\"},\"has_guides\":{\"type\":\"boolean\",\"description\":\"Liệu hồ sơ có báo cáo về hướng dẫn hay không.\"},\"has_channel\":{\"type\":\"boolean\",\"description\":\"Liệu hồ sơ có báo cáo về kênh hay không.\"},\"has_ar_effects\":{\"type\":\"boolean\",\"description\":\"Liệu hồ sơ có báo cáo về hiệu ứng AR hay không.\"},\"hide_like_and_view_counts\":{\"type\":\"boolean\",\"description\":\"Liệu số lượt thích và xem được ẩn đi hay không.\"},\"edge_owner_to_timeline_media\":{\"type\":\"object\",\"description\":\"Dữ liệu thời gian thực tùy chọn. Đối với hồ sơ có bài đăng công khai, dữ liệu này có thể trống. Các bài viết truyền thông đã xuất hiện trong các phản hồi được xác thực trước đây.\",\"properties\":{\"count\":{\"type\":\"integer\",\"description\":\"Số lượng được báo cáo trong tập hợp thời gian thực này. Hồ sơ hoạt động có thể trả về số không ở đây.\"},\"page_info\":{\"type\":\"object\",\"description\":\"Metadată phân trang bên trong tập hợp thời gian thực này.\",\"properties\":{\"has_next_page\":{\"type\":\"boolean\",\"description\":\"Liệu tập hợp thời gian thực này có chỉ ra một trang khác hay không.\"}}},\"edges\":{\"type\":\"array\",\"description\":\"Các mục truyền thông được bao gồm trong dòng thời gian tích hợp, khi được trả về. Mảng này có thể rỗng.\",\"items\":{\"type\":\"object\",\"description\":\"Một mục trong tập hợp truyền thông dòng thời gian tích hợp.\",\"properties\":{\"node\":{\"type\":\"object\",\"description\":\"Một mục truyền thông dòng thời gian tích hợp. Các trường của nó chỉ xuất hiện khi phản hồi bao gồm mục đó.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"ID truyền thông Instagram, được trả về dưới dạng văn bản.\"},\"shortcode\":{\"type\":\"string\",\"description\":\"Mã ngắn cho truyền thông Instagram.\"},\"taken_at_timestamp\":{\"type\":\"integer\",\"description\":\"Thời gian xuất bản được báo cáo cho truyền thông theo giây thời kỳ Unix.\"},\"owner\":{\"type\":\"object\",\"description\":\"Tài khoản chủ sở hữu được báo cáo cho truyền thông.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Định danh tài khoản Instagram, được trả về dưới dạng văn bản.\"},\"username\":{\"type\":\"string\",\"description\":\"Tên người dùng tài khoản Instagram.\"}}},\"product_type\":{\"type\":\"string\",\"description\":\"Thẻ loại sản phẩm được báo cáo cho truyền thông.\"},\"is_video\":{\"type\":\"boolean\",\"description\":\"Liệu mục truyền thông có được đánh dấu là video hay không.\"},\"has_audio\":{\"type\":\"boolean\",\"description\":\"Liệu mục truyền thông có chứa âm thanh hay không.\"},\"video_url\":{\"type\":\"string\",\"description\":\"Liên kết video cho mục truyền thông, khi được trả về.\"},\"video_view_count\":{\"type\":\"integer\",\"description\":\"Số lượt xem video được báo cáo cho mục truyền thông.\"},\"display_url\":{\"type\":\"string\",\"description\":\"Liên kết đến hình ảnh hiển thị của truyền thông.\"},\"dimensions\":{\"type\":\"object\",\"description\":\"Kích thước được báo cáo cho truyền thông.\",\"properties\":{\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng được báo cáo của truyền thông.\"},\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao được báo cáo của truyền thông.\"}}},\"thumbnail_src\":{\"type\":\"string\",\"description\":\"Liên kết đến hình thu nhỏ của truyền thông.\"},\"thumbnail_tall_src\":{\"type\":\"string\",\"description\":\"Liên kết đến phiên bản hình thu nhỏ cao.\"},\"thumbnail_resources\":{\"type\":\"array\",\"description\":\"Các nguồn hình thu nhỏ có sẵn và kích thước được báo cáo của chúng.\",\"items\":{\"type\":\"object\",\"description\":\"Một nguồn hình thu nhỏ.\",\"properties\":{\"src\":{\"type\":\"string\",\"description\":\"URL của nguồn hình thu nhỏ này.\"},\"config_width\":{\"type\":\"integer\",\"description\":\"Chiều rộng được báo cáo của phiên bản hình thu nhỏ.\"},\"config_height\":{\"type\":\"integer\",\"description\":\"Chiều cao được báo cáo của phiên bản hình thu nhỏ.\"}}}},\"tall_profile_grid_crop\":{\"type\":[\"object\",\"null\"],\"description\":\"Tọa độ cắt dạng lưới khuôn mặt cao, được trả về dưới dạng đối tượng hoặc null.\",\"properties\":{\"crop_top\":{\"type\":\"number\",\"description\":\"Tọa độ cắt trên được báo cáo cho khuôn mặt dạng lưới.\"},\"crop_bottom\":{\"type\":\"number\",\"description\":\"Tọa độ cắt dưới được báo cáo cho khuôn mặt dạng lưới.\"},\"crop_left\":{\"type\":\"number\",\"description\":\"Tọa độ cắt bên trái được báo cáo cho khuôn mặt dạng lưới.\"},\"crop_right\":{\"type\":\"number\",\"description\":\"Tọa độ cắt bên phải được báo cáo cho khuôn mặt dạng lưới.\"}}},\"comments_disabled\":{\"type\":\"boolean\",\"description\":\"Liệu các bình luận có được đánh dấu là vô hiệu cho phương tiện truyền thông hay không.\"},\"like_and_view_counts_disabled\":{\"type\":\"boolean\",\"description\":\"Liệu số lượt thích và lượt xem có được đánh dấu là ẩn cho phương tiện truyền thông hay không.\"},\"edge_liked_by\":{\"type\":\"object\",\"description\":\"Dữ liệu số lượt thích được báo cáo cho phương tiện truyền thông.\",\"properties\":{\"count\":{\"type\":\"integer\",\"description\":\"Số lượt thích được báo cáo.\"}}},\"edge_media_preview_like\":{\"type\":\"object\",\"description\":\"Dữ liệu số lượt thích được báo cáo trong bản xem trước phương tiện truyền thông.\",\"properties\":{\"count\":{\"type\":\"integer\",\"description\":\"Số lượt thích được báo cáo trong bản xem trước.\"}}},\"edge_media_to_comment\":{\"type\":\"object\",\"description\":\"Dữ liệu số bình luận được báo cáo cho phương tiện truyền thông.\",\"properties\":{\"count\":{\"type\":\"integer\",\"description\":\"Số bình luận được báo cáo.\"}}},\"edge_media_to_caption\":{\"type\":\"object\",\"description\":\"Bộ chú thích được báo cáo cho phương tiện truyền thông.\",\"properties\":{\"edges\":{\"type\":\"array\",\"description\":\"Các mục chú thích được bao gồm trong phản hồi phương tiện truyền thông.\",\"items\":{\"type\":\"object\",\"description\":\"Một mục chú thích.\",\"properties\":{\"node\":{\"type\":\"object\",\"description\":\"Hồ sơ chú thích trong mục này.\",\"properties\":{\"text\":{\"type\":\"string\",\"description\":\"Văn bản chú thích của phương tiện truyền thông.\"}}}}}}}},\"edge_media_to_tagged_user\":{\"type\":\"object\",\"description\":\"Thẻ tài khoản được báo cáo cho phương tiện truyền thông.\",\"properties\":{\"edges\":{\"type\":\"array\",\"description\":\"Các mục thẻ tài khoản được bao gồm trong phương tiện truyền thông.\",\"items\":{\"type\":\"object\",\"description\":\"Một mục thẻ tài khoản.\",\"properties\":{\"node\":{\"type\":\"object\",\"description\":\"Một thẻ tài khoản phương tiện truyền thông và thông tin vị trí của nó.\",\"properties\":{\"user\":{\"type\":\"object\",\"description\":\"Tài khoản công khai được tham chiếu bởi thẻ phương tiện truyền thông.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Định danh tài khoản Instagram, được trả về dưới dạng văn bản.\"},\"username\":{\"type\":\"string\",\"description\":\"Tên người dùng tài khoản Instagram.\"},\"full_name\":{\"type\":\"string\",\"description\":\"Tên hiển thị được báo cáo cho tài khoản được đánh dấu.\"},\"is_verified\":{\"type\":\"boolean\",\"description\":\"Liệu tài khoản được đánh dấu có được đánh dấu là đã xác thực hay không.\"},\"profile_pic_url\":{\"type\":\"string\",\"description\":\"Liên kết hình ảnh khuôn mặt được báo cáo cho tài khoản được đánh dấu.\"}}},\"x\":{\"type\":\"number\",\"description\":\"Giá trị vị trí ngang được báo cáo cho thẻ.\"},\"y\":{\"type\":\"number\",\"description\":\"Giá trị vị trí dọc được báo cáo cho thẻ.\"}}}}}}}},\"coauthor_producers\":{\"type\":\"array\",\"description\":\"Các tài khoản được liệt kê là người đồng tác giả truyền thông.\",\"items\":{\"type\":\"object\",\"description\":\"Một tài khoản được liệt kê là người đồng tác giả truyền thông.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Định danh tài khoản Instagram, được trả về dưới dạng văn bản.\"},\"username\":{\"type\":\"string\",\"description\":\"Tên người dùng tài khoản Instagram.\"},\"is_verified\":{\"type\":\"boolean\",\"description\":\"Liệu tài khoản đồng tác giả có được đánh dấu là đã được xác thực hay không.\"},\"profile_pic_url\":{\"type\":\"string\",\"description\":\"Liên kết hình ảnh cá nhân được báo cáo cho tài khoản đồng tác giả.\"}}}},\"clips_music_attribution_info\":{\"type\":\"object\",\"description\":\"Thông tin nguồn gốc âm nhạc được hiển thị cùng video, nếu được trả về.\",\"properties\":{\"artist_name\":{\"type\":\"string\",\"description\":\"Tên nghệ sĩ được báo cáo trong thông tin nguồn gốc âm nhạc.\"},\"song_name\":{\"type\":\"string\",\"description\":\"Tên bài hát được báo cáo trong thông tin nguồn gốc âm nhạc.\"},\"audio_id\":{\"type\":\"string\",\"description\":\"Thông tin nhận diện âm thanh được báo cáo trong thông tin nguồn gốc âm nhạc.\"},\"uses_original_audio\":{\"type\":\"boolean\",\"description\":\"Liệu video có được đánh dấu là sử dụng âm thanh gốc hay không.\"}}}}}}}}}},\"edge_felix_video_timeline\":{\"type\":\"object\",\"description\":\"Thông tin metadata của lịch trình video nội tuyến, nếu được trả về.\",\"properties\":{\"count\":{\"type\":\"integer\",\"description\":\"Số lượng được báo cáo cho lịch trình video nội tuyến này.\"},\"page_info\":{\"type\":\"object\",\"description\":\"Thông tin pagination trong lịch trình video nội tuyến.\",\"properties\":{\"has_next_page\":{\"type\":\"boolean\",\"description\":\"Liệu tập hợp thời gian thực này có chỉ ra một trang khác hay không.\"}}},\"edges\":{\"type\":\"array\",\"description\":\"Các mục video trong tập hợp nội tuyến. Mảng này có thể trống.\"}}}}}}},\"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\":\"Các tham số hoặc nội dung yêu cầu không hợp lệ.\",\"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\":\"Tài khoản truy cập không hợp lệ hoặc không hoạt động.\",\"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\":\"Quyền truy cập bị từ chối.\",\"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\":\"Tốc độ yêu cầu hoặc giới hạn hàng ngày đã vượt quá.\",\"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\":\"Lỗi máy chủ nội bộ.\",\"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\":\"Dịch vụ tạm thời không khả dụng.\",\"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 sản xuất toàn cục (mặc định)\"}]")'
  :security='JSON.parse("[]")'
  :securitySchemes='JSON.parse("{}")'
  :schemas='JSON.parse("{}")'
/>

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

<p>Lấy thông tin về hồ sơ người dùng Instagram bằng tên người dùng. Sử dụng để xem xét tài khoản đã biết trước khi nghiên cứu tác giả, giám sát thương hiệu hoặc phân tích bài đăng liên quan.</p>

## Tham số

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

| Tên | Vị trí | Kiểu dữ liệu | Bắt buộc | Mặc định | Mô tả |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | Đúng | - | Token truy cập cho dịch vụ API. |
| <code>username</code> | query | <code>string</code> | Đúng | - | Tên tài khoản Instagram mà thông tin hồ sơ của người dùng cần được lấy lại. |

</div>

## Ví dụ mã hóa

::: 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 [🤖 Lời hướng dẫn AI]
Tôi muốn sử dụng API "Hồ sơ người dùng (V2)" từ JustOneAPI.
URL cơ sở: https://api.justoneapi.com.
Đường dẫn API: /api/instagram/get-user-detail/v2?token=YOUR_API_KEY&username=VALUE
Điểm cuối API: BASE_URL + /api/instagram/get-user-detail/v2?token=YOUR_API_KEY&username=VALUE
Phương thức HTTP: GET
Xác thực: Thêm tham số "token" vào URL.
Định nghĩa OpenAPI: https://docs.justoneapi.com/openapi/instagram/user-profile-v2-vi.json

Tham số:
- token (query): Token truy cập cho dịch vụ API. (Bắt buộc)
- username (query): Tên tài khoản Instagram mà thông tin hồ sơ của người dùng cần được lấy lại. (Bắt buộc)

Định dạng trả về: Xử lý an toàn phản hồi JSON hoặc văn bản dựa trên Content-Type thực tế.

Xử lý phản hồi và mã lỗi:
1. Đọc kết quả xử lý từ trường "code" trong nội dung phản hồi (mã 0 là thành công).
2. Thời gian chờ đề xuất: 120 giây. Nếu 120 giây quá dài, hãy dành ít nhất 60 giây. Một số yêu cầu có thể hết thời gian chờ trước khi có kết quả.
3. Mã kết quả:
   - 0: Thành công
   - 100: Token không hợp lệ hoặc đã bị vô hiệu hóa
   - 301: Không lấy được dữ liệu. Hãy thử lại.
   - 302: Vượt giới hạn tần suất gọi
   - 303: Vượt hạn mức trong ngày
   - 400: Tham số không hợp lệ
   - 500: Lỗi nội bộ máy chủ
   - 600: Không có quyền truy cập
   - 601: Không đủ số dư
   - 602: Đã chạm giới hạn ngân sách token
4. Mã 601 nghĩa là số dư dùng chung của tài khoản không đủ. Mã 602 nghĩa là token API đã chạm giới hạn ngân sách tích lũy riêng. Việc đặt ngân sách cho token không chuyển tiền khỏi số dư dùng chung.

Xin hãy giúp tôi viết một script bằng ngôn ngữ lập trình yêu thích để gọi API này và xử lý phản hồi.
```

```python [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # Được cung cấp bởi các server 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"; // Được cung cấp bởi các server 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"; // Được cung cấp bởi các server 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" // Được cung cấp bởi các server 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'; // Được cung cấp bởi các server 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-vi.json" target="_blank" style="font-size: 12px; color: var(--vp-c-text-3); text-decoration: none; opacity: 0.8;">[Định nghĩa OpenAPI (JSON)]</a>
</div>

## Các trường trong phản hồi

Các trường chính trong phản hồi thành công (`code = 0`).

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

| Đường dẫn trường | Kiểu dữ liệu | Mô tả |
| --- | --- | --- |
| <code>data</code> | <code>object</code> | Dữ liệu truy xuất thông tin về tài khoản Instagram. Kiểm tra trạng thái để xem liệu thông tin về tài khoản có sẵn hay không. |
| <code>data.status</code> | <code>boolean</code> | Trạng thái truy xuất thông tin về tài khoản trong dữ liệu. Phản hồi API thành công có thể chứa thông tin sai lệch khi thông tin về tài khoản không sẵn có. |
| <code>data.errorMessage</code> | <code>string</code> | Thông báo được trả về khi việc truy xuất thông tin về tài khoản không thành công. |
| <code>data.id</code> | <code>string</code> | ID của tài khoản Instagram, được trả về dưới dạng văn bản. |
| <code>data.username</code> | <code>string</code> | Tên người dùng của tài khoản Instagram. |
| <code>data.full_name</code> | <code>string</code> | Tên hiển thị được hiển thị trên tài khoản Instagram. |
| <code>data.biography</code> | <code>string</code> | Văn bản tiểu sử được hiển thị trên tài khoản. |
| <code>data.biography_with_entities</code> | <code>object</code> | Văn bản tiểu sử và metadata liên quan. |
| <code>data.biography_with_entities.raw_text</code> | <code>string</code> | Văn bản gốc trong bộ thông tin tiểu sử được báo cáo. |
| <code>data.biography_with_entities.entities</code> | <code>array</code> | Các thực thể liên quan đến văn bản tiểu sử. Mảng này có thể rỗng. |
| <code>data.bio_links</code> | <code>array</code> | Các liên kết được liệt kê trong tiểu sử của người dùng. |
| <code>data.bio_links[]</code> | <code>object</code> | Một liên kết tiểu sử được liệt kê. |
| <code>data.bio_links[].title</code> | <code>string</code> | Tiêu đề hiển thị cho liên kết tiểu sử. |
| <code>data.bio_links[].url</code> | <code>string</code> | Địa chỉ URL được liệt kê cho liên kết tiểu sử. |
| <code>data.bio_links[].link_type</code> | <code>string</code> | Tiêu đề loại liên kết được Instagram báo cáo. |
| <code>data.external_url</code> | <code>string</code> | Liên kết trang web bên ngoài được liệt kê trên hồ sơ. |
| <code>data.profile_pic_url</code> | <code>string</code> | Liên kết đến hình nền chính của hồ sơ. |
| <code>data.profile_pic_url_hd</code> | <code>string</code> | Liên kết đến hình nền hồ sơ độ phân giải cao. |
| <code>data.is_private</code> | <code>boolean</code> | Liệu tiểu sử có được đánh dấu là riêng tư hay không. |
| <code>data.is_verified</code> | <code>boolean</code> | Liệu thông tin người dùng có được đánh dấu là đã xác thực hay không. |
| <code>data.is_business_account</code> | <code>boolean</code> | Liệu hồ sơ có được đánh dấu là tài khoản doanh nghiệp hay không. |
| <code>data.is_professional_account</code> | <code>boolean</code> | Liệu hồ sơ có được đánh dấu là tài khoản chuyên nghiệp hay không. |
| <code>data.category_name</code> | <code>string &#124; null</code> | Tiêu đề loại hồ sơ được Instagram trả về, hoặc null nếu không có. |
| <code>data.should_show_category</code> | <code>boolean</code> | Liệu loại hồ sơ có được hiển thị hay không. |
| <code>data.business_contact_method</code> | <code>string &#124; null</code> | Tiêu đề phương thức liên lạc của doanh nghiệp, được trả về dưới dạng văn bản hoặc null. |
| <code>data.business_address_json</code> | <code>string &#124; null</code> | Dữ liệu địa chỉ doanh nghiệp được mã hóa JSON, được trả về dưới dạng văn bản hoặc null. Đối tượng mã hóa có thể chứa các thành phần null. |
| <code>data.is_embeds_disabled</code> | <code>boolean</code> | Liệu hồ sơ có đánh dấu các nội dung tải từ bên ngoài là không hoạt động hay không. |
| <code>data.edge_followed_by</code> | <code>object</code> | Dữ liệu số người theo dõi của hồ sơ. |
| <code>data.edge_followed_by.count</code> | <code>integer</code> | Số người theo dõi của hồ sơ theo dữ liệu được báo cáo. |
| <code>data.edge_follow</code> | <code>object</code> | Dữ liệu số hồ sơ đang theo dõi. |
| <code>data.edge_follow.count</code> | <code>integer</code> | Số hồ sơ mà hồ sơ này theo dõi. |
| <code>data.highlight_reel_count</code> | <code>integer</code> | Số lượng điểm nổi bật của bài viết được báo cáo cho tiểu sử. |
| <code>data.pinned_channels_list_count</code> | <code>integer</code> | Số kênh được gắn thẻ được báo cáo cho hồ sơ. |
| <code>data.has_clips</code> | <code>boolean</code> | Liệu hồ sơ có báo cáo về nội dung Reels hay không. |
| <code>data.has_guides</code> | <code>boolean</code> | Liệu hồ sơ có báo cáo về hướng dẫn hay không. |
| <code>data.has_channel</code> | <code>boolean</code> | Liệu hồ sơ có báo cáo về kênh hay không. |
| <code>data.has_ar_effects</code> | <code>boolean</code> | Liệu hồ sơ có báo cáo về hiệu ứng AR hay không. |
| <code>data.hide_like_and_view_counts</code> | <code>boolean</code> | Liệu số lượt thích và xem được ẩn đi hay không. |
| <code>data.edge_owner_to_timeline_media</code> | <code>object</code> | Dữ liệu thời gian thực tùy chọn. Đối với hồ sơ có bài đăng công khai, dữ liệu này có thể trống. Các bài viết truyền thông đã xuất hiện trong các phản hồi được xác thực trước đây. |
| <code>data.edge_owner_to_timeline_media.count</code> | <code>integer</code> | Số lượng được báo cáo trong tập hợp thời gian thực này. Hồ sơ hoạt động có thể trả về số không ở đây. |
| <code>data.edge_owner_to_timeline_media.page_info</code> | <code>object</code> | Metadată phân trang bên trong tập hợp thời gian thực này. |
| <code>data.edge_owner_to_timeline_media.page_info.has_next_page</code> | <code>boolean</code> | Liệu tập hợp thời gian thực này có chỉ ra một trang khác hay không. |
| <code>data.edge_owner_to_timeline_media.edges</code> | <code>array</code> | Các mục truyền thông được bao gồm trong dòng thời gian tích hợp, khi được trả về. Mảng này có thể rỗng. |
| <code>data.edge_owner_to_timeline_media.edges[]</code> | <code>object</code> | Một mục trong tập hợp truyền thông dòng thời gian tích hợp. |
| <code>data.edge_owner_to_timeline_media.edges[].node</code> | <code>object</code> | Một mục truyền thông dòng thời gian tích hợp. Các trường của nó chỉ xuất hiện khi phản hồi bao gồm mục đó. |
| <code>data.edge_owner_to_timeline_media.edges[].node.id</code> | <code>string</code> | ID truyền thông Instagram, được trả về dưới dạng văn bản. |
| <code>data.edge_owner_to_timeline_media.edges[].node.shortcode</code> | <code>string</code> | Mã ngắn cho truyền thông Instagram. |
| <code>data.edge_owner_to_timeline_media.edges[].node.taken_at_timestamp</code> | <code>integer</code> | Thời gian xuất bản được báo cáo cho truyền thông theo giây thời kỳ Unix. |
| <code>data.edge_owner_to_timeline_media.edges[].node.owner</code> | <code>object</code> | Tài khoản chủ sở hữu được báo cáo cho truyền thông. |
| <code>data.edge_owner_to_timeline_media.edges[].node.owner.id</code> | <code>string</code> | Định danh tài khoản Instagram, được trả về dưới dạng văn bản. |
| <code>data.edge_owner_to_timeline_media.edges[].node.owner.username</code> | <code>string</code> | Tên người dùng tài khoản Instagram. |
| <code>data.edge_owner_to_timeline_media.edges[].node.product_type</code> | <code>string</code> | Thẻ loại sản phẩm được báo cáo cho truyền thông. |
| <code>data.edge_owner_to_timeline_media.edges[].node.is_video</code> | <code>boolean</code> | Liệu mục truyền thông có được đánh dấu là video hay không. |
| <code>data.edge_owner_to_timeline_media.edges[].node.has_audio</code> | <code>boolean</code> | Liệu mục truyền thông có chứa âm thanh hay không. |
| <code>data.edge_owner_to_timeline_media.edges[].node.video_url</code> | <code>string</code> | Liên kết video cho mục truyền thông, khi được trả về. |
| <code>data.edge_owner_to_timeline_media.edges[].node.video_view_count</code> | <code>integer</code> | Số lượt xem video được báo cáo cho mục truyền thông. |
| <code>data.edge_owner_to_timeline_media.edges[].node.display_url</code> | <code>string</code> | Liên kết đến hình ảnh hiển thị của truyền thông. |
| <code>data.edge_owner_to_timeline_media.edges[].node.dimensions</code> | <code>object</code> | Kích thước được báo cáo cho truyền thông. |
| <code>data.edge_owner_to_timeline_media.edges[].node.dimensions.width</code> | <code>integer</code> | Chiều rộng được báo cáo của truyền thông. |
| <code>data.edge_owner_to_timeline_media.edges[].node.dimensions.height</code> | <code>integer</code> | Chiều cao được báo cáo của truyền thông. |
| <code>data.edge_owner_to_timeline_media.edges[].node.thumbnail_src</code> | <code>string</code> | Liên kết đến hình thu nhỏ của truyền thông. |
| <code>data.edge_owner_to_timeline_media.edges[].node.thumbnail_tall_src</code> | <code>string</code> | Liên kết đến phiên bản hình thu nhỏ cao. |
| <code>data.edge_owner_to_timeline_media.edges[].node.thumbnail_resources</code> | <code>array</code> | Các nguồn hình thu nhỏ có sẵn và kích thước được báo cáo của chúng. |
| <code>data.edge_owner_to_timeline_media.edges[].node.thumbnail_resources[]</code> | <code>object</code> | Một nguồn hình thu nhỏ. |
| <code>data.edge_owner_to_timeline_media.edges[].node.thumbnail_resources[].src</code> | <code>string</code> | URL của nguồn hình thu nhỏ này. |
| <code>data.edge_owner_to_timeline_media.edges[].node.thumbnail_resources[].config_width</code> | <code>integer</code> | Chiều rộng được báo cáo của phiên bản hình thu nhỏ. |
| <code>data.edge_owner_to_timeline_media.edges[].node.thumbnail_resources[].config_height</code> | <code>integer</code> | Chiều cao được báo cáo của phiên bản hình thu nhỏ. |
| <code>data.edge_owner_to_timeline_media.edges[].node.tall_profile_grid_crop</code> | <code>object &#124; null</code> | Tọa độ cắt dạng lưới khuôn mặt cao, được trả về dưới dạng đối tượng hoặc null. |
| <code>data.edge_owner_to_timeline_media.edges[].node.tall_profile_grid_crop.crop_top</code> | <code>number</code> | Tọa độ cắt trên được báo cáo cho khuôn mặt dạng lưới. |
| <code>data.edge_owner_to_timeline_media.edges[].node.tall_profile_grid_crop.crop_bottom</code> | <code>number</code> | Tọa độ cắt dưới được báo cáo cho khuôn mặt dạng lưới. |
| <code>data.edge_owner_to_timeline_media.edges[].node.tall_profile_grid_crop.crop_left</code> | <code>number</code> | Tọa độ cắt bên trái được báo cáo cho khuôn mặt dạng lưới. |
| <code>data.edge_owner_to_timeline_media.edges[].node.tall_profile_grid_crop.crop_right</code> | <code>number</code> | Tọa độ cắt bên phải được báo cáo cho khuôn mặt dạng lưới. |
| <code>data.edge_owner_to_timeline_media.edges[].node.comments_disabled</code> | <code>boolean</code> | Liệu các bình luận có được đánh dấu là vô hiệu cho phương tiện truyền thông hay không. |
| <code>data.edge_owner_to_timeline_media.edges[].node.like_and_view_counts_disabled</code> | <code>boolean</code> | Liệu số lượt thích và lượt xem có được đánh dấu là ẩn cho phương tiện truyền thông hay không. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_liked_by</code> | <code>object</code> | Dữ liệu số lượt thích được báo cáo cho phương tiện truyền thông. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_liked_by.count</code> | <code>integer</code> | Số lượt thích được báo cáo. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_preview_like</code> | <code>object</code> | Dữ liệu số lượt thích được báo cáo trong bản xem trước phương tiện truyền thông. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_preview_like.count</code> | <code>integer</code> | Số lượt thích được báo cáo trong bản xem trước. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_comment</code> | <code>object</code> | Dữ liệu số bình luận được báo cáo cho phương tiện truyền thông. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_comment.count</code> | <code>integer</code> | Số bình luận được báo cáo. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_caption</code> | <code>object</code> | Bộ chú thích được báo cáo cho phương tiện truyền thông. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_caption.edges</code> | <code>array</code> | Các mục chú thích được bao gồm trong phản hồi phương tiện truyền thông. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_caption.edges[]</code> | <code>object</code> | Một mục chú thích. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_caption.edges[].node</code> | <code>object</code> | Hồ sơ chú thích trong mục này. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_caption.edges[].node.text</code> | <code>string</code> | Văn bản chú thích của phương tiện truyền thông. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user</code> | <code>object</code> | Thẻ tài khoản được báo cáo cho phương tiện truyền thông. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges</code> | <code>array</code> | Các mục thẻ tài khoản được bao gồm trong phương tiện truyền thông. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges[]</code> | <code>object</code> | Một mục thẻ tài khoản. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges[].node</code> | <code>object</code> | Một thẻ tài khoản phương tiện truyền thông và thông tin vị trí của nó. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges[].node.user</code> | <code>object</code> | Tài khoản công khai được tham chiếu bởi thẻ phương tiện truyền thông. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges[].node.user.id</code> | <code>string</code> | Định danh tài khoản Instagram, được trả về dưới dạng văn bản. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges[].node.user.username</code> | <code>string</code> | Tên người dùng tài khoản Instagram. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges[].node.user.full_name</code> | <code>string</code> | Tên hiển thị được báo cáo cho tài khoản được đánh dấu. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges[].node.user.is_verified</code> | <code>boolean</code> | Liệu tài khoản được đánh dấu có được đánh dấu là đã xác thực hay không. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges[].node.user.profile_pic_url</code> | <code>string</code> | Liên kết hình ảnh khuôn mặt được báo cáo cho tài khoản được đánh dấu. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges[].node.x</code> | <code>number</code> | Giá trị vị trí ngang được báo cáo cho thẻ. |
| <code>data.edge_owner_to_timeline_media.edges[].node.edge_media_to_tagged_user.edges[].node.y</code> | <code>number</code> | Giá trị vị trí dọc được báo cáo cho thẻ. |
| <code>data.edge_owner_to_timeline_media.edges[].node.coauthor_producers</code> | <code>array</code> | Các tài khoản được liệt kê là người đồng tác giả truyền thông. |
| <code>data.edge_owner_to_timeline_media.edges[].node.coauthor_producers[]</code> | <code>object</code> | Một tài khoản được liệt kê là người đồng tác giả truyền thông. |
| <code>data.edge_owner_to_timeline_media.edges[].node.coauthor_producers[].id</code> | <code>string</code> | Định danh tài khoản Instagram, được trả về dưới dạng văn bản. |
| <code>data.edge_owner_to_timeline_media.edges[].node.coauthor_producers[].username</code> | <code>string</code> | Tên người dùng tài khoản Instagram. |
| <code>data.edge_owner_to_timeline_media.edges[].node.coauthor_producers[].is_verified</code> | <code>boolean</code> | Liệu tài khoản đồng tác giả có được đánh dấu là đã được xác thực hay không. |
| <code>data.edge_owner_to_timeline_media.edges[].node.coauthor_producers[].profile_pic_url</code> | <code>string</code> | Liên kết hình ảnh cá nhân được báo cáo cho tài khoản đồng tác giả. |
| <code>data.edge_owner_to_timeline_media.edges[].node.clips_music_attribution_info</code> | <code>object</code> | Thông tin nguồn gốc âm nhạc được hiển thị cùng video, nếu được trả về. |
| <code>data.edge_owner_to_timeline_media.edges[].node.clips_music_attribution_info.artist_name</code> | <code>string</code> | Tên nghệ sĩ được báo cáo trong thông tin nguồn gốc âm nhạc. |
| <code>data.edge_owner_to_timeline_media.edges[].node.clips_music_attribution_info.song_name</code> | <code>string</code> | Tên bài hát được báo cáo trong thông tin nguồn gốc âm nhạc. |
| <code>data.edge_owner_to_timeline_media.edges[].node.clips_music_attribution_info.audio_id</code> | <code>string</code> | Thông tin nhận diện âm thanh được báo cáo trong thông tin nguồn gốc âm nhạc. |
| <code>data.edge_owner_to_timeline_media.edges[].node.clips_music_attribution_info.uses_original_audio</code> | <code>boolean</code> | Liệu video có được đánh dấu là sử dụng âm thanh gốc hay không. |
| <code>data.edge_felix_video_timeline</code> | <code>object</code> | Thông tin metadata của lịch trình video nội tuyến, nếu được trả về. |
| <code>data.edge_felix_video_timeline.count</code> | <code>integer</code> | Số lượng được báo cáo cho lịch trình video nội tuyến này. |
| <code>data.edge_felix_video_timeline.page_info</code> | <code>object</code> | Thông tin pagination trong lịch trình video nội tuyến. |
| <code>data.edge_felix_video_timeline.page_info.has_next_page</code> | <code>boolean</code> | Liệu tập hợp thời gian thực này có chỉ ra một trang khác hay không. |
| <code>data.edge_felix_video_timeline.edges</code> | <code>array</code> | Các mục video trong tập hợp nội tuyến. Mảng này có thể trống. |

</div>

## Ví dụ phản hồi

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

