---
title: "Reddit Tìm kiếm từ khóa API (V1)"
description: "Tìm kiếm các bài viết trên Reddit bằng từ khóa, với tùy chọn token tiếp tục. Sử dụng để khám phá các cuộc thảo luận liên quan đến chủ đề hoặc tiếp tục qua các trang kết quả tìm kiếm thêm."
lastUpdated: false
aiUsagePrompt: true
---

# Reddit Tìm kiếm từ khóa API \(V1\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/reddit/search/v1\"")'
  :summary='JSON.parse("\"Tìm kiếm từ khóa (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/reddit/keyword-search-v1-vi.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"Token truy cập cho dịch vụ API này.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"keyword\",\"in\":\"query\",\"description\":\"Từ khóa tìm kiếm.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"after\",\"in\":\"query\",\"description\":\"Token phân trang để lấy nhóm kết quả tiếp theo.\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"\"}}]")'
  :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\":\"Kết quả tìm kiếm trên Reddit và thông tin paginasi.\",\"properties\":{\"search\":{\"type\":\"object\",\"description\":\"Dữ liệu kết quả tìm kiếm.\",\"properties\":{\"dynamic\":{\"type\":\"object\",\"description\":\"Dữ liệu kết quả động được trả về cho lần tìm kiếm.\",\"properties\":{\"components\":{\"type\":\"object\",\"description\":\"Các thành phần được trả về cho kết quả tìm kiếm.\",\"properties\":{\"__typename\":{\"type\":\"string\",\"description\":\"Tên loại dữ liệu GraphQL của đối tượng thành phần tìm kiếm.\"},\"appliedState\":{\"type\":\"object\",\"description\":\"Các bộ lọc tìm kiếm và bảng kết quả được báo cáo cho phản hồi này.\",\"properties\":{\"filters\":{\"type\":\"array\",\"description\":\"Các bộ lọc được báo cáo đã được áp dụng lên kết quả tìm kiếm.\",\"items\":{\"type\":\"object\",\"description\":\"Một bộ lọc tìm kiếm được báo cáo.\",\"properties\":{\"key\":{\"type\":\"string\",\"description\":\"Tên của bộ lọc được báo cáo.\"},\"value\":{\"type\":\"string\",\"description\":\"Giá trị của bộ lọc được báo cáo.\"}}}},\"pane\":{\"type\":\"string\",\"description\":\"Bảng kết quả tìm kiếm được báo cáo.\"}}},\"main\":{\"type\":\"object\",\"description\":\"Kết nối kết quả chính, bao gồm các cạnh kết quả và thông tin trang.\",\"properties\":{\"edges\":{\"type\":\"array\",\"description\":\"Các cạnh kết quả trên trang. Một cạnh có thể chứa danh sách, dòng hoặc thành phần tìm kiếm khác.\",\"items\":{\"type\":\"object\",\"description\":\"Một cạnh kết quả.\",\"properties\":{\"cursor\":{\"type\":\"string\",\"description\":\"Con trỏ được báo cáo cho cạnh kết quả này.\"},\"node\":{\"type\":\"object\",\"description\":\"Thành phần tìm kiếm trên cạnh này. Một số loại thành phần chứa kết quả bài đăng.\",\"properties\":{\"__typename\":{\"type\":\"string\",\"description\":\"Loại dữ liệu GraphQL xác định thành phần tìm kiếm.\"},\"children\":{\"type\":\"array\",\"description\":\"Kết quả con của thành phần, nếu có.\",\"items\":{\"type\":\"object\",\"description\":\"Một kết quả con. Kết quả bài đăng bao gồm một đối tượng bài đăng.\",\"properties\":{\"__typename\":{\"type\":\"string\",\"description\":\"Loại dữ liệu GraphQL xác định kết quả con.\"},\"post\":{\"type\":\"object\",\"description\":\"Thông tin bài đăng cho kết quả bài đăng, nếu có.\",\"properties\":{\"__typename\":{\"type\":\"string\",\"description\":\"Tên loại dữ liệu GraphQL của đối tượng bài đăng.\"},\"authorFlair\":{\"type\":[\"object\",\"null\"],\"description\":\"Biểu tượng tác giả trong cộng đồng này, nếu có.\",\"properties\":{\"richtext\":{\"type\":[\"string\",\"null\"],\"description\":\"Văn bản phong phú được xâu chuỗi của biểu tượng tác giả, nếu cung cấp.\"},\"text\":{\"type\":\"string\",\"description\":\"Văn bản hiển thị của biểu tượng tác giả.\"}}},\"authorInfo\":{\"type\":\"object\",\"description\":\"Thông tin công khai về tác giả bài viết.\",\"properties\":{\"accountType\":{\"type\":\"string\",\"description\":\"Loại tài khoản được báo cáo cho tác giả.\"},\"iconSmall\":{\"type\":\"object\",\"description\":\"Hình ảnh biểu tượng tác giả nhỏ.\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"Kích thước hình ảnh trong pixel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao bằng pixel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng bằng pixel.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL hình ảnh.\"}}},\"id\":{\"type\":\"string\",\"description\":\"ID đầy đủ của tác giả bài viết trên Reddit.\"},\"isCakeDayNow\":{\"type\":\"boolean\",\"description\":\"Liệu Reddit có đánh dấu đây là kỷ niệm ngày thành lập tài khoản của tác giả hay không.\"},\"name\":{\"type\":\"string\",\"description\":\"Tên tài khoản Reddit công khai của tác giả.\"},\"newIcon\":{\"type\":\"object\",\"description\":\"Hình ảnh biểu tượng tác giả được trả về trong trường biểu tượng mới.\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"Kích thước hình ảnh trong pixel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao bằng pixel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng bằng pixel.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL hình ảnh.\"}}},\"profile\":{\"type\":\"object\",\"description\":\"Thông tin hồ sơ công cộng của Reddit liên quan đến tác giả.\",\"properties\":{\"isNsfw\":{\"type\":\"boolean\",\"description\":\"Liệu Reddit có đánh dấu hồ sơ của tác giả là NSFW hay không.\"}}},\"snoovatarIcon\":{\"type\":[\"object\",\"null\"],\"description\":\"Hình ảnh Snoovatar của tác giả, nếu có sẵn.\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"Kích thước hình ảnh trong pixel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao bằng pixel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng bằng pixel.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL hình ảnh.\"}}}}},\"awardings\":{\"type\":\"array\",\"description\":\"Hồ sơ giải thưởng được trả về cho bài đăng.\",\"items\":{\"type\":\"object\",\"description\":\"Một loại giải thưởng và số lần được trao.\",\"properties\":{\"award\":{\"type\":\"object\",\"description\":\"Thông tin công khai về loại giải thưởng.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Định danh giải thưởng trên Reddit.\"},\"name\":{\"type\":\"string\",\"description\":\"Tên hiển thị của giải thưởng.\"}}},\"total\":{\"type\":\"integer\",\"description\":\"Số lần trao giải này được báo cáo cho bài đăng.\"}}}},\"commentCount\":{\"type\":\"integer\",\"description\":\"Số lượt bình luận được báo cáo cho bài đăng.\"},\"content\":{\"type\":[\"object\",\"null\"],\"description\":\"Nội dung bài đăng khi Reddit cung cấp. Giá trị có thể là null.\",\"properties\":{\"html\":{\"type\":\"string\",\"description\":\"Biểu diễn HTML của nội dung bài đăng khi cung cấp.\"},\"markdown\":{\"type\":\"string\",\"description\":\"Nội dung bài đăng dưới dạng Markdown như Reddit trả về.\"},\"preview\":{\"type\":\"string\",\"description\":\"Trực quan nội dung khi cung cấp.\"},\"richtext\":{\"type\":\"string\",\"description\":\"Văn bản rich text của Reddit được xử lý dưới dạng chuỗi khi có sẵn.\"},\"richtextMedia\":{\"type\":\"array\",\"description\":\"Các mục truyền thông được đề cập trong nội dung văn bản bài đăng.\",\"items\":{\"type\":\"object\",\"description\":\"Một mục truyền thông được đề cập trong nội dung văn bản bài đăng.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao của mục truyền thông này, trong pixel.\"},\"id\":{\"type\":\"string\",\"description\":\"ID truyền thông trong nội dung văn bản bài đăng.\"},\"mimetype\":{\"type\":\"string\",\"description\":\"Loại MIME của mục truyền thông trong nội dung văn bản bài đăng.\"},\"status\":{\"type\":\"string\",\"description\":\"Trạng thái được báo cáo về mục truyền thông trong nội dung văn bản bài đăng.\"},\"url\":{\"type\":\"string\",\"description\":\"URL của mục truyền thông này trong nội dung văn bản bài đăng.\"},\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng của mục truyền thông này, trong pixel.\"}}}}}},\"createdAt\":{\"type\":\"string\",\"description\":\"Thời điểm tạo bài đăng dưới dạng văn bản. Reddit có thể trả về khoảng cách múi giờ không có dấu phẩy.\"},\"domain\":{\"type\":\"string\",\"description\":\"Tiêu đề miền Reddit được báo cáo cho bài đăng.\"},\"editedAt\":{\"type\":[\"string\",\"null\"],\"description\":\"Thời điểm chỉnh sửa bài đăng khi có sẵn.\"},\"flair\":{\"type\":[\"object\",\"null\"],\"description\":\"Tiêu đề hiển thị bài viết khi có sẵn.\",\"properties\":{\"richtext\":{\"type\":[\"string\",\"null\"],\"description\":\"Văn bản văn học được xử lý dạng serial của flair bài đăng, nếu có sẵn.\"},\"text\":{\"type\":\"string\",\"description\":\"Văn bản hiển thị tiêu đề bài viết.\"},\"type\":{\"type\":\"string\",\"description\":\"Loại bình luận được báo cáo bởi Reddit.\"}}},\"gallery\":{\"type\":[\"object\",\"null\"],\"description\":\"Bộ sưu tập được bao gồm trong bài đăng, khi có.\",\"properties\":{\"items\":{\"type\":\"array\",\"description\":\"Các mục truyền thông trong bộ sưu tập.\",\"items\":{\"type\":\"object\",\"description\":\"Một mục trong bộ sưu tập.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Định danh của mục trong bộ sưu tập.\"},\"media\":{\"type\":\"object\",\"description\":\"Truyền thông cho mục trong bộ sưu tập này.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao của nội dung hình ảnh trong pixel.\"},\"id\":{\"type\":\"string\",\"description\":\"Định danh của Reddit cho truyền thông trong bộ sưu tập.\"},\"large\":{\"type\":\"object\",\"description\":\"Phiên bản hình ảnh lớn.\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao bằng pixel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng bằng pixel.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL hình ảnh cố định.\"}}},\"medium\":{\"type\":\"object\",\"description\":\"Phiên bản hình ảnh trung bình.\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao bằng pixel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng bằng pixel.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL hình ảnh cố định.\"}}},\"mimetype\":{\"type\":\"string\",\"description\":\"Loại MIME của truyền thông trong bộ sưu tập.\"},\"small\":{\"type\":\"object\",\"description\":\"Phiên bản hình ảnh nhỏ.\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao bằng pixel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng bằng pixel.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL hình ảnh cố định.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL được trả về cho truyền thông trong bộ sưu tập.\"},\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng truyền thông trong bộ sưu tập (đơn vị pixel).\"},\"xlarge\":{\"type\":\"object\",\"description\":\"Phiên bản hình ảnh cực lớn.\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao bằng pixel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng bằng pixel.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL hình ảnh cố định.\"}}},\"xxlarge\":{\"type\":[\"object\",\"null\"],\"description\":\"Phiên bản hình ảnh cực lớn gấp đôi.\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao bằng pixel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng bằng pixel.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL hình ảnh cố định.\"}}},\"xxxlarge\":{\"type\":[\"object\",\"null\"],\"description\":\"Phiên bản hình ảnh cực lớn gấp ba.\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao bằng pixel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng bằng pixel.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL hình ảnh cố định.\"}}}}}}}}}},\"id\":{\"type\":\"string\",\"description\":\"ID bài đăng trên Reddit đầy đủ, bao gồm tiền tố t3_.\"},\"isArchived\":{\"type\":\"boolean\",\"description\":\"Liệu Reddit có đánh dấu bài đăng này là đã lưu trữ hay không.\"},\"isCommercialCommunication\":{\"type\":\"boolean\",\"description\":\"Liệu Reddit có đánh dấu bài đăng là thông điệp thương mại hay không.\"},\"isContestMode\":{\"type\":\"boolean\",\"description\":\"Liệu Reddit có đánh dấu bài đăng đang ở chế độ thi đấu hay không.\"},\"isCrosspostable\":{\"type\":\"boolean\",\"description\":\"Liệu Reddit có đánh dấu bài đăng đủ điều kiện để gửi sang trang khác hay không.\"},\"isLocked\":{\"type\":\"boolean\",\"description\":\"Liệu Reddit có đánh dấu bài đăng này là đã khóa hay không.\"},\"isNsfw\":{\"type\":\"boolean\",\"description\":\"Liệu Reddit có đánh dấu bài đăng này là không an toàn cho công việc hay không.\"},\"isPollIncluded\":{\"type\":\"boolean\",\"description\":\"Liệu Reddit có chỉ ra rằng bài đăng chứa bình chọn hay không.\"},\"isScoreHidden\":{\"type\":\"boolean\",\"description\":\"Liệu Reddit có đánh dấu điểm số là ẩn hay không.\"},\"isSelfPost\":{\"type\":\"boolean\",\"description\":\"Liệu Reddit có đánh dấu bài đăng này là bài đăng tự tạo hay không.\"},\"isSpoiler\":{\"type\":\"boolean\",\"description\":\"Liệu Reddit có đánh dấu bài đăng này là spoiler hay không.\"},\"isStickied\":{\"type\":\"boolean\",\"description\":\"Liệu Reddit có đánh dấu bài đăng này là đã đính kèm hay không.\"},\"isTranslatable\":{\"type\":\"boolean\",\"description\":\"Liệu Reddit có đánh dấu bài đăng là có thể dịch hay không.\"},\"isTranslated\":{\"type\":\"boolean\",\"description\":\"Liệu Reddit có đánh dấu bài đăng đã trả về là đã được dịch hay không.\"},\"languageCode\":{\"type\":[\"string\",\"null\"],\"description\":\"Mã ngôn ngữ được báo cáo cho bài đăng.\"},\"media\":{\"type\":[\"object\",\"null\"],\"description\":\"Phương tiện được đính kèm với bài đăng, nếu có. Phương tiện trong gallery cũng có phần riêng.\",\"properties\":{\"download\":{\"type\":[\"object\",\"null\"],\"description\":\"Tải metadata khi Reddit cung cấp nó.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL tải dữ liệu truyền do Reddit trả về.\"}}},\"packagedMedia\":{\"type\":[\"object\",\"null\"],\"description\":\"Dữ liệu truyền được đóng gói khi Reddit cung cấp nó.\",\"properties\":{\"muxedMp4s\":{\"type\":[\"object\",\"null\"],\"description\":\"Các phiên bản MP4 được đóng gói theo chất lượng.\",\"properties\":{\"high\":{\"type\":\"object\",\"description\":\"Phiên bản MP4 chất lượng cao.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL phiên bản MP4 được đóng gói.\"}}},\"highest\":{\"type\":\"object\",\"description\":\"Phiên bản MP4 chất lượng cao nhất được trả về trong bộ sưu tập này.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL phiên bản MP4 được đóng gói.\"}}},\"low\":{\"type\":\"object\",\"description\":\"Phiên bản MP4 chất lượng thấp.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL phiên bản MP4 được đóng gói.\"}}},\"medium\":{\"type\":\"object\",\"description\":\"Phiên bản MP4 chất lượng trung bình.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL phiên bản MP4 được đóng gói.\"}}},\"recommended\":{\"type\":\"object\",\"description\":\"Phiên bản MP4 được Reddit khuyến nghị.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL phiên bản MP4 được đóng gói.\"}}}}}}},\"still\":{\"type\":\"object\",\"description\":\"Hình ảnh cố định của bài đăng, bao gồm nguồn và phiên bản kích thước đã thay đổi.\",\"properties\":{\"large\":{\"type\":[\"object\",\"null\"],\"description\":\"Phiên bản hình ảnh lớn.\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao bằng pixel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng bằng pixel.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL hình ảnh cố định.\"}}},\"medium\":{\"type\":[\"object\",\"null\"],\"description\":\"Phiên bản hình ảnh trung bình.\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao bằng pixel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng bằng pixel.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL hình ảnh cố định.\"}}},\"small\":{\"type\":[\"object\",\"null\"],\"description\":\"Phiên bản hình ảnh nhỏ.\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao bằng pixel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng bằng pixel.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL hình ảnh cố định.\"}}},\"source\":{\"type\":\"object\",\"description\":\"Hình ảnh nguồn.\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao bằng pixel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng bằng pixel.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL hình ảnh cố định.\"}}},\"xlarge\":{\"type\":[\"object\",\"null\"],\"description\":\"Phiên bản hình ảnh cực lớn.\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao bằng pixel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng bằng pixel.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL hình ảnh cố định.\"}}},\"xxlarge\":{\"type\":[\"object\",\"null\"],\"description\":\"Phiên bản hình ảnh cực lớn gấp đôi.\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao bằng pixel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng bằng pixel.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL hình ảnh cố định.\"}}},\"xxxlarge\":{\"type\":[\"object\",\"null\"],\"description\":\"Phiên bản hình ảnh cực lớn gấp ba.\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao bằng pixel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng bằng pixel.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL hình ảnh cố định.\"}}}}},\"streaming\":{\"type\":[\"object\",\"null\"],\"description\":\"Truyền metadata khi Reddit cung cấp nó.\",\"properties\":{\"dashUrl\":{\"type\":\"string\",\"description\":\"URL cấu hình dữ liệu truyền DASH.\"},\"dimensions\":{\"type\":\"object\",\"description\":\"Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao bằng pixel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng bằng pixel.\"}}},\"duration\":{\"type\":\"integer\",\"description\":\"Giá trị thời lượng dữ liệu truyền mà Reddit báo cáo.\"},\"hlsUrl\":{\"type\":\"string\",\"description\":\"URL cấu hình dữ liệu truyền HLS.\"},\"isGif\":{\"type\":\"boolean\",\"description\":\"Liệu Reddit có đánh dấu dữ liệu truyền là animation kiểu GIF hay không.\"}}},\"typeHint\":{\"type\":[\"string\",\"null\"],\"description\":\"Gợi ý loại phương tiện được Reddit báo cáo khi có sẵn.\"}}},\"permalink\":{\"type\":\"string\",\"description\":\"Đường dẫn permalink tương đối của bài đăng trên Reddit.\"},\"postHint\":{\"type\":[\"string\",\"null\"],\"description\":\"Gợi ý trình bày bài đăng được báo cáo bởi Reddit khi có sẵn.\"},\"postTitle\":{\"type\":\"string\",\"description\":\"Tiêu đề được báo cáo cho bài đăng.\"},\"score\":{\"type\":\"integer\",\"description\":\"Điểm đánh giá bài viết được Reddit báo cáo.\"},\"subreddit\":{\"type\":\"object\",\"description\":\"Cộng đồng liên quan đến bài viết khi phần này được trả về.\",\"properties\":{\"id\":{\"type\":\"string\",\"description\":\"Định danh cộng đồng trên Reddit.\"},\"isNsfw\":{\"type\":\"boolean\",\"description\":\"Liệu Reddit có đánh dấu cộng đồng là NSFW hay không.\"},\"isQuarantined\":{\"type\":\"boolean\",\"description\":\"Liệu Reddit có đánh dấu cộng đồng là bị cách ly hay không.\"},\"name\":{\"type\":\"string\",\"description\":\"Tên cộng đồng.\"},\"prefixedName\":{\"type\":\"string\",\"description\":\"Tên cộng đồng kèm tiền tố Reddit.\"},\"subscribersCount\":{\"type\":\"integer\",\"description\":\"Số lượng người theo dõi được báo cáo cho cộng đồng.\"},\"title\":{\"type\":\"string\",\"description\":\"Tiêu đề hiển thị của cộng đồng.\"},\"type\":{\"type\":\"string\",\"description\":\"Loại cộng đồng được Reddit báo cáo.\"}}},\"suggestedCommentSort\":{\"type\":[\"string\",\"null\"],\"description\":\"Thứ tự hiển thị gợi ý cho bình luận khi có sẵn.\"},\"thumbnail\":{\"type\":[\"object\",\"null\"],\"description\":\"Chia sẻ hình ảnh thumbnail khi được bao gồm.\",\"properties\":{\"dimensions\":{\"type\":\"object\",\"description\":\"Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel.\",\"properties\":{\"height\":{\"type\":\"integer\",\"description\":\"Chiều cao bằng pixel.\"},\"width\":{\"type\":\"integer\",\"description\":\"Chiều rộng bằng pixel.\"}}},\"url\":{\"type\":\"string\",\"description\":\"URL của hình nền.\"}}},\"upvoteRatio\":{\"type\":\"number\",\"description\":\"Tỷ lệ tăng điểm cho bài viết được báo cáo dưới dạng phân số từ 0 đến 1.\"},\"url\":{\"type\":\"string\",\"description\":\"URL liên quan đến bài đăng.\"}}}}}}}}}}},\"pageInfo\":{\"type\":\"object\",\"description\":\"Thông tin phân trang cho trang tìm kiếm hiện tại.\",\"properties\":{\"endCursor\":{\"type\":\"string\",\"description\":\"Chuyển tiếp con trỏ này không thay đổi khi sử dụng cùng từ khóa để yêu cầu trang tiếp theo nếu hasNextPage là đúng.\"},\"hasNextPage\":{\"type\":\"boolean\",\"description\":\"Liệu Reddit có báo cáo rằng trang tiếp theo có sẵn hay không.\"},\"hasPreviousPage\":{\"type\":\"boolean\",\"description\":\"Reddit có báo cáo rằng trang trước đó vẫn còn có sẵn hay không.\"},\"startCursor\":{\"type\":\"string\",\"description\":\"Con trỏ được báo cáo tại đầu trang hiện tại.\"}}}}}}}}}}}}}}},\"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/reddit/search/v1\"")' />

<p>Tìm kiếm các bài viết trên Reddit bằng từ khóa, với tùy chọn token tiếp tục. Sử dụng để khám phá các cuộc thảo luận liên quan đến chủ đề hoặc tiếp tục qua các trang kết quả tìm kiếm thêm.</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 này. |
| <code>keyword</code> | query | <code>string</code> | Đúng | - | Từ khóa tìm kiếm. |
| <code>after</code> | query | <code>string</code> | Không | <code></code> | Token phân trang để lấy nhóm kết quả tiếp theo. |

</div>

## Ví dụ mã hóa

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/reddit/search/v1?token=YOUR_API_KEY&keyword=VALUE'
```

```text [🤖 Lời hướng dẫn AI]
Tôi muốn sử dụng API "Tìm kiếm từ khóa (V1)" từ JustOneAPI.
URL cơ sở: https://api.justoneapi.com.
Đường dẫn API: /api/reddit/search/v1?token=YOUR_API_KEY&keyword=VALUE
Điểm cuối API: BASE_URL + /api/reddit/search/v1?token=YOUR_API_KEY&keyword=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/reddit/keyword-search-v1-vi.json

Tham số:
- token (query): Token truy cập cho dịch vụ API này. (Bắt buộc)
- keyword (query): Từ khóa tìm kiếm. (Bắt buộc)
- after (query): Token phân trang để lấy nhóm kết quả tiếp theo.

Đị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/reddit/search/v1?token=YOUR_API_KEY&keyword=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/reddit/search/v1?token=YOUR_API_KEY&keyword=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/reddit/search/v1?token=YOUR_API_KEY&keyword=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/reddit/search/v1?token=YOUR_API_KEY&keyword=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/reddit/search/v1?token=YOUR_API_KEY&keyword=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/reddit/keyword-search-v1-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> | Kết quả tìm kiếm trên Reddit và thông tin paginasi. |
| <code>data.search</code> | <code>object</code> | Dữ liệu kết quả tìm kiếm. |
| <code>data.search.dynamic</code> | <code>object</code> | Dữ liệu kết quả động được trả về cho lần tìm kiếm. |
| <code>data.search.dynamic.components</code> | <code>object</code> | Các thành phần được trả về cho kết quả tìm kiếm. |
| <code>data.search.dynamic.components.__typename</code> | <code>string</code> | Tên loại dữ liệu GraphQL của đối tượng thành phần tìm kiếm. |
| <code>data.search.dynamic.components.appliedState</code> | <code>object</code> | Các bộ lọc tìm kiếm và bảng kết quả được báo cáo cho phản hồi này. |
| <code>data.search.dynamic.components.appliedState.filters</code> | <code>array</code> | Các bộ lọc được báo cáo đã được áp dụng lên kết quả tìm kiếm. |
| <code>data.search.dynamic.components.appliedState.filters[]</code> | <code>object</code> | Một bộ lọc tìm kiếm được báo cáo. |
| <code>data.search.dynamic.components.appliedState.filters[].key</code> | <code>string</code> | Tên của bộ lọc được báo cáo. |
| <code>data.search.dynamic.components.appliedState.filters[].value</code> | <code>string</code> | Giá trị của bộ lọc được báo cáo. |
| <code>data.search.dynamic.components.appliedState.pane</code> | <code>string</code> | Bảng kết quả tìm kiếm được báo cáo. |
| <code>data.search.dynamic.components.main</code> | <code>object</code> | Kết nối kết quả chính, bao gồm các cạnh kết quả và thông tin trang. |
| <code>data.search.dynamic.components.main.edges</code> | <code>array</code> | Các cạnh kết quả trên trang. Một cạnh có thể chứa danh sách, dòng hoặc thành phần tìm kiếm khác. |
| <code>data.search.dynamic.components.main.edges[]</code> | <code>object</code> | Một cạnh kết quả. |
| <code>data.search.dynamic.components.main.edges[].cursor</code> | <code>string</code> | Con trỏ được báo cáo cho cạnh kết quả này. |
| <code>data.search.dynamic.components.main.edges[].node</code> | <code>object</code> | Thành phần tìm kiếm trên cạnh này. Một số loại thành phần chứa kết quả bài đăng. |
| <code>data.search.dynamic.components.main.edges[].node.__typename</code> | <code>string</code> | Loại dữ liệu GraphQL xác định thành phần tìm kiếm. |
| <code>data.search.dynamic.components.main.edges[].node.children</code> | <code>array</code> | Kết quả con của thành phần, nếu có. |
| <code>data.search.dynamic.components.main.edges[].node.children[]</code> | <code>object</code> | Một kết quả con. Kết quả bài đăng bao gồm một đối tượng bài đăng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].__typename</code> | <code>string</code> | Loại dữ liệu GraphQL xác định kết quả con. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post</code> | <code>object</code> | Thông tin bài đăng cho kết quả bài đăng, nếu có. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.__typename</code> | <code>string</code> | Tên loại dữ liệu GraphQL của đối tượng bài đăng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorFlair</code> | <code>object &#124; null</code> | Biểu tượng tác giả trong cộng đồng này, nếu có. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorFlair.richtext</code> | <code>string &#124; null</code> | Văn bản phong phú được xâu chuỗi của biểu tượng tác giả, nếu cung cấp. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorFlair.text</code> | <code>string</code> | Văn bản hiển thị của biểu tượng tác giả. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo</code> | <code>object</code> | Thông tin công khai về tác giả bài viết. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.accountType</code> | <code>string</code> | Loại tài khoản được báo cáo cho tác giả. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.iconSmall</code> | <code>object</code> | Hình ảnh biểu tượng tác giả nhỏ. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.iconSmall.dimensions</code> | <code>object</code> | Kích thước hình ảnh trong pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.iconSmall.dimensions.height</code> | <code>integer</code> | Chiều cao bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.iconSmall.dimensions.width</code> | <code>integer</code> | Chiều rộng bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.iconSmall.url</code> | <code>string</code> | URL hình ảnh. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.id</code> | <code>string</code> | ID đầy đủ của tác giả bài viết trên Reddit. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.isCakeDayNow</code> | <code>boolean</code> | Liệu Reddit có đánh dấu đây là kỷ niệm ngày thành lập tài khoản của tác giả hay không. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.name</code> | <code>string</code> | Tên tài khoản Reddit công khai của tác giả. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.newIcon</code> | <code>object</code> | Hình ảnh biểu tượng tác giả được trả về trong trường biểu tượng mới. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.newIcon.dimensions</code> | <code>object</code> | Kích thước hình ảnh trong pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.newIcon.dimensions.height</code> | <code>integer</code> | Chiều cao bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.newIcon.dimensions.width</code> | <code>integer</code> | Chiều rộng bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.newIcon.url</code> | <code>string</code> | URL hình ảnh. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.profile</code> | <code>object</code> | Thông tin hồ sơ công cộng của Reddit liên quan đến tác giả. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.profile.isNsfw</code> | <code>boolean</code> | Liệu Reddit có đánh dấu hồ sơ của tác giả là NSFW hay không. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.snoovatarIcon</code> | <code>object &#124; null</code> | Hình ảnh Snoovatar của tác giả, nếu có sẵn. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.snoovatarIcon.dimensions</code> | <code>object</code> | Kích thước hình ảnh trong pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.snoovatarIcon.dimensions.height</code> | <code>integer</code> | Chiều cao bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.snoovatarIcon.dimensions.width</code> | <code>integer</code> | Chiều rộng bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.authorInfo.snoovatarIcon.url</code> | <code>string</code> | URL hình ảnh. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.awardings</code> | <code>array</code> | Hồ sơ giải thưởng được trả về cho bài đăng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.awardings[]</code> | <code>object</code> | Một loại giải thưởng và số lần được trao. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.awardings[].award</code> | <code>object</code> | Thông tin công khai về loại giải thưởng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.awardings[].award.id</code> | <code>string</code> | Định danh giải thưởng trên Reddit. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.awardings[].award.name</code> | <code>string</code> | Tên hiển thị của giải thưởng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.awardings[].total</code> | <code>integer</code> | Số lần trao giải này được báo cáo cho bài đăng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.commentCount</code> | <code>integer</code> | Số lượt bình luận được báo cáo cho bài đăng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.content</code> | <code>object &#124; null</code> | Nội dung bài đăng khi Reddit cung cấp. Giá trị có thể là null. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.content.html</code> | <code>string</code> | Biểu diễn HTML của nội dung bài đăng khi cung cấp. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.content.markdown</code> | <code>string</code> | Nội dung bài đăng dưới dạng Markdown như Reddit trả về. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.content.preview</code> | <code>string</code> | Trực quan nội dung khi cung cấp. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.content.richtext</code> | <code>string</code> | Văn bản rich text của Reddit được xử lý dưới dạng chuỗi khi có sẵn. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.content.richtextMedia</code> | <code>array</code> | Các mục truyền thông được đề cập trong nội dung văn bản bài đăng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.content.richtextMedia[]</code> | <code>object</code> | Một mục truyền thông được đề cập trong nội dung văn bản bài đăng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.content.richtextMedia[].height</code> | <code>integer</code> | Chiều cao của mục truyền thông này, trong pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.content.richtextMedia[].id</code> | <code>string</code> | ID truyền thông trong nội dung văn bản bài đăng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.content.richtextMedia[].mimetype</code> | <code>string</code> | Loại MIME của mục truyền thông trong nội dung văn bản bài đăng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.content.richtextMedia[].status</code> | <code>string</code> | Trạng thái được báo cáo về mục truyền thông trong nội dung văn bản bài đăng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.content.richtextMedia[].url</code> | <code>string</code> | URL của mục truyền thông này trong nội dung văn bản bài đăng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.content.richtextMedia[].width</code> | <code>integer</code> | Chiều rộng của mục truyền thông này, trong pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.createdAt</code> | <code>string</code> | Thời điểm tạo bài đăng dưới dạng văn bản. Reddit có thể trả về khoảng cách múi giờ không có dấu phẩy. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.domain</code> | <code>string</code> | Tiêu đề miền Reddit được báo cáo cho bài đăng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.editedAt</code> | <code>string &#124; null</code> | Thời điểm chỉnh sửa bài đăng khi có sẵn. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.flair</code> | <code>object &#124; null</code> | Tiêu đề hiển thị bài viết khi có sẵn. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.flair.richtext</code> | <code>string &#124; null</code> | Văn bản văn học được xử lý dạng serial của flair bài đăng, nếu có sẵn. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.flair.text</code> | <code>string</code> | Văn bản hiển thị tiêu đề bài viết. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.flair.type</code> | <code>string</code> | Loại bình luận được báo cáo bởi Reddit. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery</code> | <code>object &#124; null</code> | Bộ sưu tập được bao gồm trong bài đăng, khi có. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items</code> | <code>array</code> | Các mục truyền thông trong bộ sưu tập. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[]</code> | <code>object</code> | Một mục trong bộ sưu tập. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].id</code> | <code>string</code> | Định danh của mục trong bộ sưu tập. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media</code> | <code>object</code> | Truyền thông cho mục trong bộ sưu tập này. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.height</code> | <code>integer</code> | Chiều cao của nội dung hình ảnh trong pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.id</code> | <code>string</code> | Định danh của Reddit cho truyền thông trong bộ sưu tập. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.large</code> | <code>object</code> | Phiên bản hình ảnh lớn. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.large.dimensions</code> | <code>object</code> | Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.large.dimensions.height</code> | <code>integer</code> | Chiều cao bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.large.dimensions.width</code> | <code>integer</code> | Chiều rộng bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.large.url</code> | <code>string</code> | URL hình ảnh cố định. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.medium</code> | <code>object</code> | Phiên bản hình ảnh trung bình. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.medium.dimensions</code> | <code>object</code> | Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.medium.dimensions.height</code> | <code>integer</code> | Chiều cao bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.medium.dimensions.width</code> | <code>integer</code> | Chiều rộng bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.medium.url</code> | <code>string</code> | URL hình ảnh cố định. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.mimetype</code> | <code>string</code> | Loại MIME của truyền thông trong bộ sưu tập. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.small</code> | <code>object</code> | Phiên bản hình ảnh nhỏ. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.small.dimensions</code> | <code>object</code> | Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.small.dimensions.height</code> | <code>integer</code> | Chiều cao bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.small.dimensions.width</code> | <code>integer</code> | Chiều rộng bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.small.url</code> | <code>string</code> | URL hình ảnh cố định. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.url</code> | <code>string</code> | URL được trả về cho truyền thông trong bộ sưu tập. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.width</code> | <code>integer</code> | Chiều rộng truyền thông trong bộ sưu tập (đơn vị pixel). |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.xlarge</code> | <code>object</code> | Phiên bản hình ảnh cực lớn. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.xlarge.dimensions</code> | <code>object</code> | Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.xlarge.dimensions.height</code> | <code>integer</code> | Chiều cao bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.xlarge.dimensions.width</code> | <code>integer</code> | Chiều rộng bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.xlarge.url</code> | <code>string</code> | URL hình ảnh cố định. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.xxlarge</code> | <code>object &#124; null</code> | Phiên bản hình ảnh cực lớn gấp đôi. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.xxlarge.dimensions</code> | <code>object</code> | Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.xxlarge.dimensions.height</code> | <code>integer</code> | Chiều cao bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.xxlarge.dimensions.width</code> | <code>integer</code> | Chiều rộng bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.xxlarge.url</code> | <code>string</code> | URL hình ảnh cố định. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.xxxlarge</code> | <code>object &#124; null</code> | Phiên bản hình ảnh cực lớn gấp ba. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.xxxlarge.dimensions</code> | <code>object</code> | Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.xxxlarge.dimensions.height</code> | <code>integer</code> | Chiều cao bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.xxxlarge.dimensions.width</code> | <code>integer</code> | Chiều rộng bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.gallery.items[].media.xxxlarge.url</code> | <code>string</code> | URL hình ảnh cố định. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.id</code> | <code>string</code> | ID bài đăng trên Reddit đầy đủ, bao gồm tiền tố t3_. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.isArchived</code> | <code>boolean</code> | Liệu Reddit có đánh dấu bài đăng này là đã lưu trữ hay không. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.isCommercialCommunication</code> | <code>boolean</code> | Liệu Reddit có đánh dấu bài đăng là thông điệp thương mại hay không. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.isContestMode</code> | <code>boolean</code> | Liệu Reddit có đánh dấu bài đăng đang ở chế độ thi đấu hay không. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.isCrosspostable</code> | <code>boolean</code> | Liệu Reddit có đánh dấu bài đăng đủ điều kiện để gửi sang trang khác hay không. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.isLocked</code> | <code>boolean</code> | Liệu Reddit có đánh dấu bài đăng này là đã khóa hay không. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.isNsfw</code> | <code>boolean</code> | Liệu Reddit có đánh dấu bài đăng này là không an toàn cho công việc hay không. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.isPollIncluded</code> | <code>boolean</code> | Liệu Reddit có chỉ ra rằng bài đăng chứa bình chọn hay không. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.isScoreHidden</code> | <code>boolean</code> | Liệu Reddit có đánh dấu điểm số là ẩn hay không. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.isSelfPost</code> | <code>boolean</code> | Liệu Reddit có đánh dấu bài đăng này là bài đăng tự tạo hay không. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.isSpoiler</code> | <code>boolean</code> | Liệu Reddit có đánh dấu bài đăng này là spoiler hay không. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.isStickied</code> | <code>boolean</code> | Liệu Reddit có đánh dấu bài đăng này là đã đính kèm hay không. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.isTranslatable</code> | <code>boolean</code> | Liệu Reddit có đánh dấu bài đăng là có thể dịch hay không. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.isTranslated</code> | <code>boolean</code> | Liệu Reddit có đánh dấu bài đăng đã trả về là đã được dịch hay không. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.languageCode</code> | <code>string &#124; null</code> | Mã ngôn ngữ được báo cáo cho bài đăng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media</code> | <code>object &#124; null</code> | Phương tiện được đính kèm với bài đăng, nếu có. Phương tiện trong gallery cũng có phần riêng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.download</code> | <code>object &#124; null</code> | Tải metadata khi Reddit cung cấp nó. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.download.url</code> | <code>string</code> | URL tải dữ liệu truyền do Reddit trả về. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.packagedMedia</code> | <code>object &#124; null</code> | Dữ liệu truyền được đóng gói khi Reddit cung cấp nó. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.packagedMedia.muxedMp4s</code> | <code>object &#124; null</code> | Các phiên bản MP4 được đóng gói theo chất lượng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.packagedMedia.muxedMp4s.high</code> | <code>object</code> | Phiên bản MP4 chất lượng cao. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.packagedMedia.muxedMp4s.high.url</code> | <code>string</code> | URL phiên bản MP4 được đóng gói. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.packagedMedia.muxedMp4s.highest</code> | <code>object</code> | Phiên bản MP4 chất lượng cao nhất được trả về trong bộ sưu tập này. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.packagedMedia.muxedMp4s.highest.url</code> | <code>string</code> | URL phiên bản MP4 được đóng gói. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.packagedMedia.muxedMp4s.low</code> | <code>object</code> | Phiên bản MP4 chất lượng thấp. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.packagedMedia.muxedMp4s.low.url</code> | <code>string</code> | URL phiên bản MP4 được đóng gói. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.packagedMedia.muxedMp4s.medium</code> | <code>object</code> | Phiên bản MP4 chất lượng trung bình. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.packagedMedia.muxedMp4s.medium.url</code> | <code>string</code> | URL phiên bản MP4 được đóng gói. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.packagedMedia.muxedMp4s.recommended</code> | <code>object</code> | Phiên bản MP4 được Reddit khuyến nghị. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.packagedMedia.muxedMp4s.recommended.url</code> | <code>string</code> | URL phiên bản MP4 được đóng gói. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still</code> | <code>object</code> | Hình ảnh cố định của bài đăng, bao gồm nguồn và phiên bản kích thước đã thay đổi. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.large</code> | <code>object &#124; null</code> | Phiên bản hình ảnh lớn. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.large.dimensions</code> | <code>object</code> | Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.large.dimensions.height</code> | <code>integer</code> | Chiều cao bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.large.dimensions.width</code> | <code>integer</code> | Chiều rộng bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.large.url</code> | <code>string</code> | URL hình ảnh cố định. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.medium</code> | <code>object &#124; null</code> | Phiên bản hình ảnh trung bình. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.medium.dimensions</code> | <code>object</code> | Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.medium.dimensions.height</code> | <code>integer</code> | Chiều cao bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.medium.dimensions.width</code> | <code>integer</code> | Chiều rộng bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.medium.url</code> | <code>string</code> | URL hình ảnh cố định. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.small</code> | <code>object &#124; null</code> | Phiên bản hình ảnh nhỏ. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.small.dimensions</code> | <code>object</code> | Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.small.dimensions.height</code> | <code>integer</code> | Chiều cao bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.small.dimensions.width</code> | <code>integer</code> | Chiều rộng bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.small.url</code> | <code>string</code> | URL hình ảnh cố định. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.source</code> | <code>object</code> | Hình ảnh nguồn. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.source.dimensions</code> | <code>object</code> | Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.source.dimensions.height</code> | <code>integer</code> | Chiều cao bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.source.dimensions.width</code> | <code>integer</code> | Chiều rộng bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.source.url</code> | <code>string</code> | URL hình ảnh cố định. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.xlarge</code> | <code>object &#124; null</code> | Phiên bản hình ảnh cực lớn. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.xlarge.dimensions</code> | <code>object</code> | Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.xlarge.dimensions.height</code> | <code>integer</code> | Chiều cao bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.xlarge.dimensions.width</code> | <code>integer</code> | Chiều rộng bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.xlarge.url</code> | <code>string</code> | URL hình ảnh cố định. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.xxlarge</code> | <code>object &#124; null</code> | Phiên bản hình ảnh cực lớn gấp đôi. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.xxlarge.dimensions</code> | <code>object</code> | Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.xxlarge.dimensions.height</code> | <code>integer</code> | Chiều cao bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.xxlarge.dimensions.width</code> | <code>integer</code> | Chiều rộng bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.xxlarge.url</code> | <code>string</code> | URL hình ảnh cố định. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.xxxlarge</code> | <code>object &#124; null</code> | Phiên bản hình ảnh cực lớn gấp ba. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.xxxlarge.dimensions</code> | <code>object</code> | Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.xxxlarge.dimensions.height</code> | <code>integer</code> | Chiều cao bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.xxxlarge.dimensions.width</code> | <code>integer</code> | Chiều rộng bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.still.xxxlarge.url</code> | <code>string</code> | URL hình ảnh cố định. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.streaming</code> | <code>object &#124; null</code> | Truyền metadata khi Reddit cung cấp nó. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.streaming.dashUrl</code> | <code>string</code> | URL cấu hình dữ liệu truyền DASH. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.streaming.dimensions</code> | <code>object</code> | Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.streaming.dimensions.height</code> | <code>integer</code> | Chiều cao bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.streaming.dimensions.width</code> | <code>integer</code> | Chiều rộng bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.streaming.duration</code> | <code>integer</code> | Giá trị thời lượng dữ liệu truyền mà Reddit báo cáo. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.streaming.hlsUrl</code> | <code>string</code> | URL cấu hình dữ liệu truyền HLS. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.streaming.isGif</code> | <code>boolean</code> | Liệu Reddit có đánh dấu dữ liệu truyền là animation kiểu GIF hay không. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.media.typeHint</code> | <code>string &#124; null</code> | Gợi ý loại phương tiện được Reddit báo cáo khi có sẵn. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.permalink</code> | <code>string</code> | Đường dẫn permalink tương đối của bài đăng trên Reddit. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.postHint</code> | <code>string &#124; null</code> | Gợi ý trình bày bài đăng được báo cáo bởi Reddit khi có sẵn. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.postTitle</code> | <code>string</code> | Tiêu đề được báo cáo cho bài đăng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.score</code> | <code>integer</code> | Điểm đánh giá bài viết được Reddit báo cáo. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.subreddit</code> | <code>object</code> | Cộng đồng liên quan đến bài viết khi phần này được trả về. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.subreddit.id</code> | <code>string</code> | Định danh cộng đồng trên Reddit. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.subreddit.isNsfw</code> | <code>boolean</code> | Liệu Reddit có đánh dấu cộng đồng là NSFW hay không. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.subreddit.isQuarantined</code> | <code>boolean</code> | Liệu Reddit có đánh dấu cộng đồng là bị cách ly hay không. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.subreddit.name</code> | <code>string</code> | Tên cộng đồng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.subreddit.prefixedName</code> | <code>string</code> | Tên cộng đồng kèm tiền tố Reddit. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.subreddit.subscribersCount</code> | <code>integer</code> | Số lượng người theo dõi được báo cáo cho cộng đồng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.subreddit.title</code> | <code>string</code> | Tiêu đề hiển thị của cộng đồng. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.subreddit.type</code> | <code>string</code> | Loại cộng đồng được Reddit báo cáo. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.suggestedCommentSort</code> | <code>string &#124; null</code> | Thứ tự hiển thị gợi ý cho bình luận khi có sẵn. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.thumbnail</code> | <code>object &#124; null</code> | Chia sẻ hình ảnh thumbnail khi được bao gồm. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.thumbnail.dimensions</code> | <code>object</code> | Kích thước hình ảnh hoặc phương tiện in ấn bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.thumbnail.dimensions.height</code> | <code>integer</code> | Chiều cao bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.thumbnail.dimensions.width</code> | <code>integer</code> | Chiều rộng bằng pixel. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.thumbnail.url</code> | <code>string</code> | URL của hình nền. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.upvoteRatio</code> | <code>number</code> | Tỷ lệ tăng điểm cho bài viết được báo cáo dưới dạng phân số từ 0 đến 1. |
| <code>data.search.dynamic.components.main.edges[].node.children[].post.url</code> | <code>string</code> | URL liên quan đến bài đăng. |
| <code>data.search.dynamic.components.main.pageInfo</code> | <code>object</code> | Thông tin phân trang cho trang tìm kiếm hiện tại. |
| <code>data.search.dynamic.components.main.pageInfo.endCursor</code> | <code>string</code> | Chuyển tiếp con trỏ này không thay đổi khi sử dụng cùng từ khóa để yêu cầu trang tiếp theo nếu hasNextPage là đúng. |
| <code>data.search.dynamic.components.main.pageInfo.hasNextPage</code> | <code>boolean</code> | Liệu Reddit có báo cáo rằng trang tiếp theo có sẵn hay không. |
| <code>data.search.dynamic.components.main.pageInfo.hasPreviousPage</code> | <code>boolean</code> | Reddit có báo cáo rằng trang trước đó vẫn còn có sẵn hay không. |
| <code>data.search.dynamic.components.main.pageInfo.startCursor</code> | <code>string</code> | Con trỏ được báo cáo tại đầu trang hiện tại. |

</div>

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

<ApiExampleSection :api='JSON.parse("\"/api/reddit/search/v1\"")' />

