{"info":{"_postman_id":"ac5ed36b-085d-47c5-9694-98097b4191e4","name":"API DOMAIN DICHVUCHEAP","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"20229630","collectionId":"ac5ed36b-085d-47c5-9694-98097b4191e4","publishedId":"2sBY4Qrz36","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-07-23T08:49:59.000Z"},"item":[{"name":"WHOIS DOMAIN","id":"2c7180ed-5bf6-4677-8221-555e03af1b7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://dichvucheap.com/api/domain?api_key=45af694c8a8cb8c71fee76dbfa1a897c&action=whois&domain=dfdfhjd.com","description":"<h2 id=\"mô-tả-api\">Mô tả API</h2>\n<p>Đầu điểm này cho phép người dùng truy vấn thông tin WHOIS của một tên miền cụ thể.</p>\n<h3 id=\"tham-số-yêu-cầu\">Tham số yêu cầu</h3>\n<ul>\n<li><p><strong>api_key</strong>: (string) Khóa API dùng để xác thực yêu cầu.</p>\n</li>\n<li><p><strong>action</strong>: (string) Hành động cần thực hiện, trong trường hợp này là <code>whois</code>.</p>\n</li>\n<li><p><strong>domain</strong>: (string) Tên miền mà người dùng muốn tra cứu thông tin WHOIS.</p>\n</li>\n</ul>\n<h3 id=\"cấu-trúc-phản-hồi\">Cấu trúc phản hồi</h3>\n<p>Khi yêu cầu thành công, phản hồi sẽ có cấu trúc JSON với các trường sau:</p>\n<ul>\n<li><p><strong>status</strong>: (string) Trạng thái của yêu cầu.</p>\n</li>\n<li><p><strong>msg</strong>: (string) Thông điệp hoặc mô tả liên quan đến yêu cầu.</p>\n</li>\n<li><p><strong>type</strong>: (string) Loại thông tin trả về.</p>\n</li>\n</ul>\n<p>Phản hồi sẽ chứa thông tin về trạng thái của yêu cầu, nhưng trong trường hợp này, các trường có thể không chứa dữ liệu cụ thể.</p>\n<p>This endpoint retrieves WHOIS information for a specified domain. It is useful for checking the registration details and status of a domain.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<ul>\n<li><p><strong>api_key</strong> (string, required): Your unique API key for authentication. This key must be included in the request to access the API.</p>\n</li>\n<li><p><strong>action</strong> (string, required): The action to perform. For this endpoint, the action should be set to <code>whois</code> to indicate that you want to retrieve WHOIS information.</p>\n</li>\n<li><p><strong>domain</strong> (string, required): The domain name for which you want to retrieve WHOIS information. This should be a valid domain format.</p>\n</li>\n</ul>\n<h3 id=\"example-request\">Example Request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://dichvucheap.com/api/domain?api_key=YOUR_API_KEY&amp;action=whois&amp;domain=example.com\n\n</code></pre><h3 id=\"response-structure\">Response Structure</h3>\n<p>On a successful request, the API returns a JSON object with the following structure:</p>\n<ul>\n<li><p><strong>status</strong> (string): The status of the request. This field may contain information regarding the success or failure of the operation.</p>\n</li>\n<li><p><strong>msg</strong> (string): A message providing additional information about the request status.</p>\n</li>\n<li><p><strong>type</strong> (string): The type of response or information returned.</p>\n</li>\n</ul>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": \"\",\n    \"msg\": \"\",\n    \"type\": \"\"\n}\n\n</code></pre>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>Ensure that the domain parameter is correctly formatted to avoid errors.</p>\n</li>\n<li><p>The response fields may vary based on the domain queried and the current registration status.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","domain"],"host":["dichvucheap","com"],"query":[{"key":"api_key","value":"45af694c8a8cb8c71fee76dbfa1a897c"},{"key":"action","value":"whois"},{"key":"domain","value":"dfdfhjd.com"}],"variable":[]}},"response":[{"id":"af98d2bf-f08d-44b7-a5e9-9ea90fc06fc6","name":"WHOIS DOMAIN","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://dichvucheap.com/api/domain?api_key=45af694c8a8cb8c71fee76dbfa1a897c&action=whois&domain=dfdfhjd.com","protocol":"https","host":["dichvucheap","com"],"path":["api","domain"],"query":[{"key":"api_key","value":"45af694c8a8cb8c71fee76dbfa1a897c"},{"key":"action","value":"whois"},{"key":"domain","value":"dfdfhjd.com"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 23 Jul 2026 08:53:13 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"x-powered-by","value":"PHP/7.4.33"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"cache-control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=rdAejW1WD%2BrlmJ6By2Vk0QNzjiyYZv9Jg%2Fc38WuNRyIdWFe9w3l%2BGOWPij4H1NWcqby0QddgUKDDvTHjU6hd39esUooBtM5RnpTQ%2BV6h4qScs3GgLXL8TM8L6D%2BM23pJov8L3wOT1iL6J9qCe5o%3D\"}]}"},{"key":"vary","value":"Accept-Encoding"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"content-encoding","value":"br"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"a1f9740b5911d0a1-HKG"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"msg\": \"Tên miền dfdfhjd.com chưa được đăng ký\"\n}"}],"_postman_id":"2c7180ed-5bf6-4677-8221-555e03af1b7c"},{"name":"Bảng Giá Tên Miền","id":"b50145de-d142-422a-9b9b-19047d04c8e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://dichvucheap.com/api/domain?api_key=45af694c8a8cb8c71fee76dbfa1a897c&action=getprice","description":"<h1 id=\"bảng-giá-tên-miền\">Bảng Giá Tên Miền</h1>\n<h2 id=\"mô-tả\">Mô tả</h2>\n<p>Endpoint này trả về danh sách bảng giá các tên miền (domain) hiện có trên hệ thống <strong>DichvuCheap</strong>. Bao gồm giá đăng ký mới, gia hạn và chuyển tên miền cho từng đuôi tên miền (TLD) được hỗ trợ.</p>\n<hr />\n<h2 id=\"base-url\">Base URL</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://dichvucheap.com/api/domain\n\n</code></pre><hr />\n<h2 id=\"phương-thức\">Phương thức</h2>\n<p><code>GET</code></p>\n<hr />\n<h2 id=\"tham-số-truy-vấn-query-parameters\">Tham số truy vấn (Query Parameters)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Tên</th>\n<th>Kiểu dữ liệu</th>\n<th>Bắt buộc</th>\n<th>Mô tả</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>api_key</code></td>\n<td><code>string</code></td>\n<td>✅ Có</td>\n<td>Khóa xác thực API của tài khoản. Lấy trong phần quản lý tài khoản.</td>\n</tr>\n<tr>\n<td><code>action</code></td>\n<td><code>string</code></td>\n<td>✅ Có</td>\n<td>Hành động cần thực hiện. Với endpoint này, giá trị phải là <code>getprice</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"ví-dụ-request\">Ví dụ Request</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-http\">GET https://dichvucheap.com/api/domain?api_key={{api_key}}&amp;action=getprice\n\n</code></pre>\n<hr />\n<h2 id=\"ví-dụ-response\">Ví dụ Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": \"success\",\n    \"total\": 10,\n    \"data\": [\n        {\n            \"domain\": \".fun\",\n            \"price\": 35000,\n            \"type\": 1\n        },\n        {\n            \"domain\": \".space\",\n            \"price\": 35000,\n            \"type\": 1\n        },\n        {\n            \"domain\": \".site\",\n            \"price\": 35000,\n            \"type\": 1\n        },\n        {\n            \"domain\": \".sbs\",\n            \"price\": 65000,\n            \"type\": 1\n        },\n        {\n            \"domain\": \".store\",\n            \"price\": 65000,\n            \"type\": 1\n        },\n        {\n            \"domain\": \".sbs\",\n            \"price\": 65000,\n            \"type\": 1\n        },\n        {\n            \"domain\": \".top\",\n            \"price\": 65000,\n            \"type\": 1\n        },\n        {\n            \"domain\": \".com\",\n            \"price\": 320000,\n            \"type\": 1\n        },\n        {\n            \"domain\": \".net\",\n            \"price\": 400000,\n            \"type\": 1\n        },\n        {\n            \"domain\": \".website\",\n            \"price\": 700000,\n            \"type\": 0\n        }\n    ]\n}\n\n</code></pre>\n<h3 id=\"các-trường-trong-response\">Các trường trong response</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Trường</th>\n<th>Kiểu dữ liệu</th>\n<th>Mô tả</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>type</code></td>\n<td><code>string</code></td>\n<td>Trạng thái 0 : là duyệt chậm  <br />Trạng thái 1 : là tự động</td>\n</tr>\n<tr>\n<td><code>domain</code></td>\n<td><code>string</code></td>\n<td>Đuôi miền</td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td><code>number</code></td>\n<td>Giá đăng ký mới (đơn vị: VND).</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"lưu-ý\">Lưu ý</h2>\n<ul>\n<li><p><code>api_key</code> là thông tin bảo mật, <strong>không chia sẻ công khai</strong>. Nên lưu trữ trong biến môi trường Postman (<code>{{api_key}}</code>).</p>\n</li>\n<li><p>Giá trị <code>action</code> phải là chính xác <code>getprice</code> (chữ thường), nếu không API sẽ trả về lỗi.</p>\n</li>\n<li><p>Bảng giá có thể thay đổi theo thời gian, nên gọi API này để lấy giá mới nhất trước khi hiển thị cho khách hàng.</p>\n</li>\n<li><p>Các <code>action</code> khác được hỗ trợ trong API này bao gồm: <code>getinfo</code>, <code>whois</code>, <code>register</code>.</p>\n</li>\n</ul>\n<hr />\n<h2 id=\"các-endpoint-liên-quan\">Các endpoint liên quan</h2>\n<ul>\n<li><p><strong>Lấy Thông Tin Tên Miền</strong> — Kiểm tra thông tin chi tiết của một tên miền (<code>action=getinfo</code>)</p>\n</li>\n<li><p><strong>WHOIS DOMAIN</strong> — Tra cứu thông tin WHOIS của tên miền (<code>action=whois</code>)</p>\n</li>\n<li><p><strong>Đăng Ký Tên Miền</strong> — Đăng ký tên miền mới (<code>action=register</code>)</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","domain"],"host":["dichvucheap","com"],"query":[{"key":"api_key","value":"45af694c8a8cb8c71fee76dbfa1a897c"},{"key":"action","value":"getprice"}],"variable":[]}},"response":[{"id":"b5cfd24d-08a6-41e6-ad25-74fdc029cd26","name":"Bảng Giá Tên Miền","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://dichvucheap.com/api/domain?api_key=45af694c8a8cb8c71fee76dbfa1a897c&action=getprice","protocol":"https","host":["dichvucheap","com"],"path":["api","domain"],"query":[{"key":"api_key","value":"45af694c8a8cb8c71fee76dbfa1a897c"},{"key":"action","value":"getprice"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 23 Jul 2026 08:53:40 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"x-powered-by","value":"PHP/7.4.33"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"cache-control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=GLA6rKhPCm%2Fk1HQGanRLOXCRvu4v5592Ec2p1nHyXTFI1M8Ee%2BDnmAYId94HdCXXMaf4BW9IwO79JeI9uglNeBk1cVyKtGVoGQYda2UL%2Fg9GpfiLysuk%2FatoEyah%2BnAQaz8wc2tK2BS56R3OPpo%3D\"}]}"},{"key":"vary","value":"Accept-Encoding"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"content-encoding","value":"br"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"a1f974bfe9c2d0a1-HKG"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"total\": 10,\n    \"data\": [\n        {\n            \"domain\": \".fun\",\n            \"price\": 35000,\n            \"type\": 1\n        },\n        {\n            \"domain\": \".space\",\n            \"price\": 35000,\n            \"type\": 1\n        },\n        {\n            \"domain\": \".site\",\n            \"price\": 35000,\n            \"type\": 1\n        },\n        {\n            \"domain\": \".sbs\",\n            \"price\": 65000,\n            \"type\": 1\n        },\n        {\n            \"domain\": \".store\",\n            \"price\": 65000,\n            \"type\": 1\n        },\n        {\n            \"domain\": \".sbs\",\n            \"price\": 65000,\n            \"type\": 1\n        },\n        {\n            \"domain\": \".top\",\n            \"price\": 65000,\n            \"type\": 1\n        },\n        {\n            \"domain\": \".com\",\n            \"price\": 320000,\n            \"type\": 1\n        },\n        {\n            \"domain\": \".net\",\n            \"price\": 400000,\n            \"type\": 1\n        },\n        {\n            \"domain\": \".website\",\n            \"price\": 700000,\n            \"type\": 0\n        }\n    ]\n}"}],"_postman_id":"b50145de-d142-422a-9b9b-19047d04c8e3"},{"name":"Lấy Thông Tin Tên Miền","id":"00678518-85c0-4eb0-88ec-7091ff5ac977","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://dichvucheap.com/api/domain?api_key=45af694c8a8cb8c71fee76dbfa1a897c&action=getinfo&domain=nickvip.site","description":"<h2 id=\"mô-tả-api\">Mô tả API</h2>\n<p>Yêu cầu này được sử dụng để kiểm tra trạng thái của một đối tượng tên miền. Giá trị status : 0 có nghĩa là chờ duyệt, trong khi trạng thái 2 có nghĩa là đang hoạt động.</p>\n<h3 id=\"tham-số-yêu-cầu\">Tham số yêu cầu</h3>\n<ul>\n<li><p><code>api_key</code>: (string) Khóa API để xác thực yêu cầu.</p>\n</li>\n<li><p><code>action</code>: (string) Hành động cần thực hiện, trong trường hợp này là <code>getinfo</code>.</p>\n</li>\n<li><p><code>domain</code>: (string) Tên miền cần kiểm tra.</p>\n</li>\n</ul>\n<h3 id=\"cấu-trúc-phản-hồi\">Cấu trúc phản hồi</h3>\n<p>Phản hồi từ API sẽ có định dạng JSON với các trường sau:</p>\n<ul>\n<li><p><code>status</code>: (string) Trạng thái của yêu cầu.</p>\n</li>\n<li><p><code>msg</code>: (string) Thông điệp liên quan đến yêu cầu.</p>\n</li>\n<li><p><code>type</code>: (string) Loại thông tin trả về.</p>\n</li>\n<li><p><code>data</code>: (object) Chứa thông tin chi tiết về tên miền:</p>\n<ul>\n<li><p><code>domain</code>: (string) Tên miền được kiểm tra.</p>\n</li>\n<li><p><code>email</code>: (null) Địa chỉ email liên quan (nếu có).</p>\n</li>\n<li><p><code>nameserver1</code>: (string) Máy chủ tên miền đầu tiên.</p>\n</li>\n<li><p><code>nameserver2</code>: (string) Máy chủ tên miền thứ hai.</p>\n</li>\n<li><p><code>status</code>: (string) Trạng thái hiện tại của tên miền.</p>\n</li>\n<li><p><code>time</code>: (string) Thời gian liên quan đến tên miền.</p>\n</li>\n<li><p><code>timeout</code>: (string) Thời gian chờ.</p>\n</li>\n<li><p><code>amount</code>: (string) Số tiền liên quan (nếu có).</p>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"ví-dụ-phản-hồi\">Ví dụ phản hồi</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"\",\n  \"msg\": \"\",\n  \"type\": \"\",\n  \"data\": {\n    \"domain\": \"\",\n    \"email\": null,\n    \"nameserver1\": \"\",\n    \"nameserver2\": \"\",\n    \"status\": \"\",\n    \"time\": \"\",\n    \"timeout\": \"\",\n    \"amount\": \"\"\n  }\n}\n\n</code></pre>\n<p>Hãy sử dụng yêu cầu này để lấy thông tin chi tiết về trạng thái của tên miền mà bạn quan tâm.</p>\n<h2 id=\"mục-đích\">Mục đích</h2>\n<p>Endpoint này cho phép người dùng lấy thông tin chi tiết về một miền cụ thể bằng cách sử dụng API key và tên miền cần tra cứu.</p>\n<h2 id=\"tham-số-đầu-vào\">Tham số đầu vào</h2>\n<p>Yêu cầu GET đến endpoint này yêu cầu các tham số sau:</p>\n<ul>\n<li><p><strong>api_key</strong> (string): Khóa API của bạn để xác thực yêu cầu.</p>\n</li>\n<li><p><strong>action</strong> (string): Hành động cần thực hiện, trong trường hợp này là <code>getinfo</code>.</p>\n</li>\n<li><p><strong>domain</strong> (string): Tên miền mà bạn muốn lấy thông tin.</p>\n</li>\n</ul>\n<h3 id=\"ví-dụ-yêu-cầu\">Ví dụ yêu cầu</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://dichvucheap.com/api/domain?api_key=YOUR_API_KEY&amp;action=getinfo&amp;domain=example.com\n\n</code></pre><h2 id=\"cấu-trúc-phản-hồi-1\">Cấu trúc phản hồi</h2>\n<p>Phản hồi từ server sẽ có định dạng JSON với cấu trúc như sau:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": \"\",\n    \"msg\": \"\",\n    \"type\": \"\",\n    \"data\": {\n        \"domain\": \"\",\n        \"email\": null,\n        \"nameserver1\": \"\",\n        \"nameserver2\": \"\",\n        \"status\": \"\",\n        \"time\": \"\",\n        \"timeout\": \"\",\n        \"amount\": \"\"\n    }\n}\n\n</code></pre>\n<h3 id=\"các-trường-trong-phản-hồi\">Các trường trong phản hồi:</h3>\n<ul>\n<li><p><strong>status</strong>: Trạng thái của yêu cầu.</p>\n</li>\n<li><p><strong>msg</strong>: Thông điệp phản hồi từ server.</p>\n</li>\n<li><p><strong>type</strong>: Loại thông tin trả về.</p>\n</li>\n<li><p><strong>data</strong>: Đối tượng chứa thông tin chi tiết về miền:</p>\n<ul>\n<li><p><strong>domain</strong>: Tên miền được tra cứu.</p>\n</li>\n<li><p><strong>email</strong>: Địa chỉ email liên quan (nếu có).</p>\n</li>\n<li><p><strong>nameserver1</strong>: Máy chủ tên miền đầu tiên.</p>\n</li>\n<li><p><strong>nameserver2</strong>: Máy chủ tên miền thứ hai.</p>\n</li>\n<li><p><strong>status</strong>: Trạng thái hiện tại của miền.</p>\n</li>\n<li><p><strong>time</strong>: Thời gian liên quan đến miền.</p>\n</li>\n<li><p><strong>timeout</strong>: Thời gian chờ.</p>\n</li>\n<li><p><strong>amount</strong>: Số tiền liên quan (nếu có).</p>\n</li>\n</ul>\n</li>\n</ul>\n<h2 id=\"lưu-ý-quan-trọng\">Lưu ý quan trọng</h2>\n<ul>\n<li><p>Đảm bảo rằng bạn đã thay thế <code>YOUR_API_KEY</code> bằng khóa API hợp lệ của bạn để thực hiện yêu cầu thành công.</p>\n</li>\n<li><p>Các trường trong phản hồi có thể có giá trị null hoặc rỗng tùy thuộc vào thông tin có sẵn cho miền được yêu cầu.</p>\n</li>\n</ul>\n<p>This endpoint allows users to retrieve information about a specific domain. It provides details such as the domain's status, associated email, nameservers, and other relevant data.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<p>The request is made via an HTTP GET method, and it requires the following query parameters:</p>\n<ul>\n<li><p><strong>api_key</strong> (string): Your unique API key for authentication.</p>\n</li>\n<li><p><strong>action</strong> (string): The action to be performed, in this case, it should be set to <code>getinfo</code>.</p>\n</li>\n<li><p><strong>domain</strong> (string): The domain name for which information is being requested.</p>\n</li>\n</ul>\n<h3 id=\"example-request\">Example Request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://dichvucheap.com/api/domain?api_key=YOUR_API_KEY&amp;action=getinfo&amp;domain=example.com\n\n</code></pre><h2 id=\"response-structure\">Response Structure</h2>\n<p>Upon a successful request, the API will return a JSON response with the following structure:</p>\n<ul>\n<li><p><strong>status</strong> (string): The status of the request.</p>\n</li>\n<li><p><strong>msg</strong> (string): A message providing additional context about the request.</p>\n</li>\n<li><p><strong>type</strong> (string): The type of information returned.</p>\n</li>\n<li><p><strong>data</strong> (object): Contains the detailed information about the domain, including:</p>\n<ul>\n<li><p><strong>domain</strong> (string): The domain name queried.</p>\n</li>\n<li><p><strong>email</strong> (null|string): The associated email, if available.</p>\n</li>\n<li><p><strong>nameserver1</strong> (string): The first nameserver associated with the domain.</p>\n</li>\n<li><p><strong>nameserver2</strong> (string): The second nameserver associated with the domain.</p>\n</li>\n<li><p><strong>status</strong> (string): The current status of the domain.</p>\n</li>\n<li><p><strong>time</strong> (string): The time related to the domain registration or status.</p>\n</li>\n<li><p><strong>timeout</strong> (string): Any timeout settings related to the domain.</p>\n</li>\n<li><p><strong>amount</strong> (string): The amount related to the domain, if applicable.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"\",\n  \"msg\": \"\",\n  \"type\": \"\",\n  \"data\": {\n    \"domain\": \"\",\n    \"email\": null,\n    \"nameserver1\": \"\",\n    \"nameserver2\": \"\",\n    \"status\": \"\",\n    \"time\": \"\",\n    \"timeout\": \"\",\n    \"amount\": \"\"\n  }\n}\n\n</code></pre>\n<h2 id=\"important-notes\">Important Notes</h2>\n<ul>\n<li><p>Ensure that the <code>api_key</code> is valid to avoid authentication errors.</p>\n</li>\n<li><p>The <code>domain</code> parameter must be a valid domain name.</p>\n</li>\n<li><p>The response may contain null values if certain information is not available for the queried domain.</p>\n</li>\n</ul>\n<p>This API is useful for obtaining essential details about a domain, which can assist in domain management and troubleshooting.</p>\n<p>This endpoint allows users to retrieve detailed information about a specific domain. It is useful for checking the status and other details of a domain registered with the service.</p>\n<h2 id=\"request\">Request</h2>\n<h3 id=\"http-method\">HTTP Method</h3>\n<p><code>GET</code></p>\n<h3 id=\"url\">URL</h3>\n<p><code>https://dichvucheap.com/api/domain</code></p>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><p><code>api_key</code> (string, required): Your unique API key for authentication.</p>\n</li>\n<li><p><code>action</code> (string, required): The action to perform. For this request, it should be set to <code>getinfo</code>.</p>\n</li>\n<li><p><code>domain</code> (string, required): The domain name for which you want to retrieve information (e.g., <code>nickvip.site</code>).</p>\n</li>\n</ul>\n<h2 id=\"response\">Response</h2>\n<h3 id=\"status-code\">Status Code</h3>\n<ul>\n<li><code>200 OK</code>: Indicates that the request was successful.</li>\n</ul>\n<h3 id=\"content-type\">Content-Type</h3>\n<ul>\n<li><code>text/html</code>: The response is returned in HTML format.</li>\n</ul>\n<h3 id=\"response-body-structure\">Response Body Structure</h3>\n<p>The response body is a JSON object with the following structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"\",\n  \"msg\": \"\",\n  \"type\": \"\",\n  \"data\": {\n    \"domain\": \"\",\n    \"email\": null,\n    \"nameserver1\": \"\",\n    \"nameserver2\": \"\",\n    \"status\": \"\",\n    \"time\": \"\",\n    \"timeout\": \"\",\n    \"amount\": \"\"\n  }\n}\n\n</code></pre>\n<h4 id=\"response-fields\">Response Fields</h4>\n<ul>\n<li><p><code>status</code>: A string indicating the status of the request.</p>\n</li>\n<li><p><code>msg</code>: A message providing additional information about the request.</p>\n</li>\n<li><p><code>type</code>: The type of information returned.</p>\n</li>\n<li><p><code>data</code>: An object containing detailed information about the specified domain:</p>\n<ul>\n<li><p><code>domain</code>: The domain name queried.</p>\n</li>\n<li><p><code>email</code>: The associated email address (if applicable).</p>\n</li>\n<li><p><code>nameserver1</code>: The primary nameserver for the domain.</p>\n</li>\n<li><p><code>nameserver2</code>: The secondary nameserver for the domain.</p>\n</li>\n<li><p><code>status</code>: The current status of the domain (e.g., active, inactive).</p>\n</li>\n<li><p><code>time</code>: The time related to the domain (e.g., registration time).</p>\n</li>\n<li><p><code>timeout</code>: The timeout duration for the domain.</p>\n</li>\n<li><p><code>amount</code>: Any associated financial amount (if applicable).</p>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"important-notes-1\">Important Notes</h3>\n<ul>\n<li><p>Ensure that the <code>api_key</code> is valid and has the necessary permissions to access domain information.</p>\n</li>\n<li><p>The <code>domain</code> parameter must be a valid domain name format.</p>\n</li>\n<li><p>The response may return null values for fields like <code>email</code> if no associated email is found.</p>\n</li>\n</ul>\n<h3 id=\"example-request-1\">Example Request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-plaintext\">GET https://dichvucheap.com/api/domain?api_key=YOUR_API_KEY&amp;action=getinfo&amp;domain=example.com\n\n</code></pre>\n<h3 id=\"example-response-1\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"success\",\n  \"msg\": \"Domain information retrieved successfully.\",\n  \"type\": \"domain_info\",\n  \"data\": {\n    \"domain\": \"example.com\",\n    \"email\": null,\n    \"nameserver1\": \"ns1.example.com\",\n    \"nameserver2\": \"ns2.example.com\",\n    \"status\": \"active\",\n    \"time\": \"2023-01-01T00:00:00Z\",\n    \"timeout\": \"3600\",\n    \"amount\": \"10.00\"\n  }\n}\n\n</code></pre>\n<p>This documentation should help users effectively utilize the Domain Information Retrieval API to obtain necessary domain details.</p>\n","urlObject":{"protocol":"https","path":["api","domain"],"host":["dichvucheap","com"],"query":[{"key":"api_key","value":"45af694c8a8cb8c71fee76dbfa1a897c"},{"key":"action","value":"getinfo"},{"key":"domain","value":"nickvip.site"}],"variable":[]}},"response":[{"id":"d286a586-9def-426d-9777-5f3bad973ab1","name":"Lấy Thông Tin Tên Miền","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://dichvucheap.com/api/domain?api_key=45af694c8a8cb8c71fee76dbfa1a897c&action=getinfo&domain=nickvip.site","protocol":"https","host":["dichvucheap","com"],"path":["api","domain"],"query":[{"key":"api_key","value":"45af694c8a8cb8c71fee76dbfa1a897c"},{"key":"action","value":"getinfo"},{"key":"domain","value":"nickvip.site"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 23 Jul 2026 08:54:05 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"x-powered-by","value":"PHP/7.4.33"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"cache-control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=v25qscbGUoBryBsh07bnAvR1o%2FyPFnCgbKsuHH0LAaqbF4INq8OR7dPCq9OP5BkJp2f%2FtIAtaO55js6gPJnjNXOkuldIfppYFFGMDAoWA5SudX5VObyts9%2B1sUj%2BwMmbIq4jk%2Br7a2gVx%2FNh%2BDQ%3D\"}]}"},{"key":"vary","value":"Accept-Encoding"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"content-encoding","value":"br"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"a1f9755cc9d9d0a1-HKG"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"msg\": \"Thông tin tên miền\",\n    \"data\": {\n        \"domain\": \"nickvip.site\",\n        \"email\": null,\n        \"nameserver1\": \"alla.ns.cloudflare.com\",\n        \"nameserver2\": \"carl.ns.cloudflare.com\",\n        \"status\": \"2\",\n        \"time\": \"1784464729\",\n        \"timeout\": \"1784464731\",\n        \"amount\": \"1\"\n    }\n}"}],"_postman_id":"00678518-85c0-4eb0-88ec-7091ff5ac977"},{"name":"Đăng Ký Tên Miền","id":"3fa408a5-470f-4bfc-9adf-11d4fa7a75dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://dichvucheap.com/api/domain?api_key=45af694c8a8cb8c71fee76dbfa1a897c&action=register&domain=dfdfhjd.net&ns1=sdfdf&ns2=dsfds&years=1","description":"<h2 id=\"domain-registration-api\">Domain Registration API</h2>\n<p>This endpoint allows users to register a new domain through the service.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<p>The following parameters are required for the GET request:</p>\n<ul>\n<li><p><strong>api_key</strong> (string): Your unique API key for authentication.</p>\n</li>\n<li><p><strong>action</strong> (string): The action to be performed, which in this case is <code>register</code>.</p>\n</li>\n<li><p><strong>domain</strong> (string): The domain name you wish to register (e.g., <code>dfdfhjd.net</code>).</p>\n</li>\n<li><p><strong>ns1</strong> (string): The first nameserver for the domain.</p>\n</li>\n<li><p><strong>ns2</strong> (string): The second nameserver for the domain.</p>\n</li>\n<li><p><strong>years</strong> (integer): The number of years for which the domain should be registered.</p>\n</li>\n</ul>\n<h3 id=\"example-request\">Example Request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://dichvucheap.com/api/domain?api_key=YOUR_API_KEY&amp;action=register&amp;domain=YOUR_DOMAIN&amp;ns1=YOUR_NS1&amp;ns2=YOUR_NS2&amp;years=1\n\n</code></pre><h3 id=\"response-structure\">Response Structure</h3>\n<p>Upon a successful request, the API will return a response with the following structure:</p>\n<ul>\n<li><p><strong>status</strong> (string): Indicates the status of the operation (e.g., success or error).</p>\n</li>\n<li><p><strong>msg</strong> (string): A message providing additional information about the request.</p>\n</li>\n</ul>\n<h3 id=\"example-response\">Example Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": \"\",\n    \"msg\": \"\"\n}\n\n</code></pre>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>Ensure that the domain name is valid and that the nameservers are correctly specified.</p>\n</li>\n<li><p>The response will provide feedback on the success or failure of the registration process.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","domain"],"host":["dichvucheap","com"],"query":[{"key":"api_key","value":"45af694c8a8cb8c71fee76dbfa1a897c"},{"key":"action","value":"register"},{"key":"domain","value":"dfdfhjd.net"},{"key":"ns1","value":"sdfdf"},{"key":"ns2","value":"dsfds"},{"key":"years","value":"1"}],"variable":[]}},"response":[{"id":"fe8be186-87b6-44b7-88c7-5f96d2b450fa","name":"Đăng Ký Tên Miền","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://dichvucheap.com/api/domain?api_key=45af694c8a8cb8c71fee76dbfa1a897c&action=register&domain=dfdfhjd.net&ns1=sdfdf&ns2=dsfds&years=1","protocol":"https","host":["dichvucheap","com"],"path":["api","domain"],"query":[{"key":"api_key","value":"45af694c8a8cb8c71fee76dbfa1a897c"},{"key":"action","value":"register"},{"key":"domain","value":"dfdfhjd.net"},{"key":"ns1","value":"sdfdf"},{"key":"ns2","value":"dsfds"},{"key":"years","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 23 Jul 2026 08:54:35 GMT"},{"key":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"x-powered-by","value":"PHP/7.4.33"},{"key":"expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"cache-control","value":"no-store, no-cache, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=CuhhQ2rskUqAT3IKsKawaGrane5lhWoWpyATWaZV481OPfetfa5bzGE%2BXhy4ZawtdeZg%2BORlSZR%2BiW8K1Grw6OPbIwYSa%2Bu7KnisNZg%2FCtRlCFazTHk6okQ7XyC3I2uGNkxjQYc55z7eeQebB2Y%3D\"}]}"},{"key":"vary","value":"Accept-Encoding"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"content-encoding","value":"br"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"a1f975ea0900d0a1-HKG"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"status\": \"true\",\n    \"msg\": \"Đăng ký tên miền thành công!\"\n}"}],"_postman_id":"3fa408a5-470f-4bfc-9adf-11d4fa7a75dd"}]}