RESTful JSON API v1

TÀI LIỆU KẾT NỐI API

Tích hợp tự động lấy danh mục, mua tài khoản game & đặt dịch vụ cày thuê tại SHOPNICK 71 DICHVUDARK.VIP.

Trạng thái API: Đang hoạt động
Giới hạn: 60 requests / phút / IP
Lưu ý tích hợp API

Sử dụng API Key cá nhân để kết nối tự động danh mục tài khoản game, đơn mua nick và dịch vụ cày thuê. Tuyệt đối không chia sẻ API Key cho người khác.

Thông tin xác thực & API Key
Vui lòng đăng nhập để xem và quản lý API Key cá nhân của bạn.
Cách truyền api_key khi gọi API:
  • Header (khuyên dùng): X-API-Key: YOUR_API_KEY hoặc Authorization: Bearer YOUR_API_KEY
  • Query String (GET): ?api_key=YOUR_API_KEY
  • Body JSON / Form-data (POST): trường api_key
Bảng tra cứu nhanh ID Danh mục & Gói dịch vụ
sub_idDanh mụcTên sản phẩmLoạiTồn khoGiá (Random)
4 - Nick Trắng Thông Tin Pro ACCOUNT 1 Theo từng acc
1 - Túi mù liên quân 49k RANDOM 50 49.000đ
2 - Nick Liên Quân Vip ACCOUNT 2 Theo từng acc
5 Liên Quân Acc Random 49K RANDOM 0 49.000đ
6 Liên Quân Acc Random 49K RANDOM 0 54.000đ
7 Danh mục khác Nick Trắng Thông Tin Pro ACCOUNT 1 Theo từng acc
8 Danh mục khác Túi mù liên quân 49k RANDOM 50 54.000đ
9 Danh mục khác Nick Liên Quân Vip ACCOUNT 2 Theo từng acc
package_idChuyên mụcDịch vụTên góiGiá niêm yết
11 Dịch Vụ Game Cày Thuê Blox Fruit Qua Đêm 500.000đ
12 Dịch Vụ Game Cày Thuê Blox Fruit 1 Tiếng 100.000đ
13 Dịch Vụ Game Cày Thuê Blox Fruit Qua Đêm 550.000đ
14 Dịch Vụ Game Cày Thuê Blox Fruit 1 Tiếng 110.000đ
GET
Lấy thông tin tài khoản & số dư
Hồ sơ & Số dư

Kiểm tra thông tin tài khoản, số dư hiện tại và phần trăm chiết khấu API đang được áp dụng.

Tham sốKiểuYêu cầuMô tả
api_key string Bắt buộc API Key cá nhân (hoặc truyền qua header X-API-Key)
{
    "status": "success",
    "msg": "Lấy thông tin tài khoản thành công!",
    "data": {
        "id": 1,
        "username": "khachhang",
        "email": "[email protected]",
        "money": 500000,
        "total_money": 1500000,
        "discount_percent": 5,
        "rank_id": 1
    }
}
curl -X GET "https://shopnick71.taowebauto.com/api/v1/profile?api_key=YOUR_API_KEY"
<?php
$ch = curl_init("https://shopnick71.taowebauto.com/api/v1/profile?api_key=YOUR_API_KEY");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$res = json_decode(curl_exec($ch), true);
curl_close($ch);
print_r($res);
GET
Lấy danh mục chính & danh mục phụ tài khoản game
Tài khoản Game

Trả về cây danh mục chính và các danh mục phụ đang mở bán qua API (gồm loại ACCOUNT tự chọn & RANDOM vận may, số lượng tồn kho, giá).

Tham sốKiểuYêu cầuMô tả
api_key string Bắt buộc API Key cá nhân
category_id int Tùy chọn Lọc theo ID danh mục chính
type string Tùy chọn ACCOUNT hoặc RANDOM
{
    "status": "success",
    "msg": "Lấy danh sách danh mục thành công!",
    "categories": [
        {
            "id": 4,
            "name": "Liên Quân",
            "slug": "lien-quan",
            "stt": 0,
            "subcategories": [
                {
                    "id": 5,
                    "category_id": 4,
                    "name": "Acc Random 49K",
                    "slug": "acc-random-49k",
                    "type": "RANDOM",
                    "thumb": "https:\/\/shopnick71.taowebauto.com\/upload\/product\/sample.webp",
                    "price": 49000,
                    "final_price": 49000,
                    "stock": 15,
                    "sold": 20
                }
            ]
        }
    ]
}
curl -X GET "https://shopnick71.taowebauto.com/api/v1/categories?api_key=YOUR_API_KEY"
<?php
$ch = curl_init("https://shopnick71.taowebauto.com/api/v1/categories?api_key=YOUR_API_KEY");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$res = json_decode(curl_exec($ch), true);
curl_close($ch);
GET
Lấy danh sách tài khoản đang bán
Tài khoản Game

Lấy danh sách các tài khoản đang có trạng thái chưa bán (hỗ trợ lọc theo sub_id, slug, khoảng giá, sắp xếp và phân trang).

Tham sốKiểuYêu cầuMô tả
api_key string Bắt buộc API Key cá nhân
sub_id int Tùy chọn ID danh mục phụ
slug string Tùy chọn Slug danh mục phụ (nếu không truyền sub_id)
price_min int Tùy chọn Giá tối thiểu
price_max int Tùy chọn Giá tối đa
sort string Tùy chọn newest (mặc định), price_asc, price_desc
page int Tùy chọn Trang hiện tại (mặc định 1)
limit int Tùy chọn Số dòng/trang (1-100, mặc định 20)
{
    "status": "success",
    "msg": "Lấy danh sách tài khoản thành công!",
    "data": [
        {
            "id": 101,
            "sub_id": 2,
            "product_name": "Nick Liên Quân VIP",
            "type": "ACCOUNT",
            "money": 200000,
            "sale": 10,
            "final_price": 180000,
            "thumb": "https:\/\/shopnick71.taowebauto.com\/upload\/product\/acc101.webp",
            "images": [
                "https:\/\/shopnick71.taowebauto.com\/upload\/product\/acc101.webp"
            ],
            "fields": [
                {
                    "name": "rank",
                    "label": "Rank",
                    "value": "Cao Thủ"
                },
                {
                    "name": "tuong",
                    "label": "Số tướng",
                    "value": "115"
                }
            ]
        }
    ],
    "pagination": {
        "total": 1,
        "limit": 20,
        "current_page": 1,
        "total_page": 1
    }
}
curl -X GET "https://shopnick71.taowebauto.com/api/v1/accounts?api_key=YOUR_API_KEY&page=1&limit=20"
<?php
$ch = curl_init("https://shopnick71.taowebauto.com/api/v1/accounts?api_key=YOUR_API_KEY&page=1&limit=20");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$res = json_decode(curl_exec($ch), true);
curl_close($ch);
GET
Lấy chi tiết 1 tài khoản
Tài khoản Game

Xem đầy đủ hình ảnh, thông số công khai và giá sau giảm của 1 tài khoản trước khi mua.

Tham sốKiểuYêu cầuMô tả
api_key string Bắt buộc API Key cá nhân
account_id int Bắt buộc ID tài khoản cần xem
{
    "status": "success",
    "msg": "Lấy chi tiết tài khoản thành công!",
    "data": {
        "id": 101,
        "sub_id": 2,
        "type": "ACCOUNT",
        "final_price": 180000,
        "images": [
            "https:\/\/shopnick71.taowebauto.com\/upload\/product\/acc101.webp"
        ],
        "fields": [
            {
                "name": "rank",
                "label": "Rank",
                "value": "Cao Thủ"
            }
        ]
    }
}
curl -X GET "https://shopnick71.taowebauto.com/api/v1/accounts/detail?api_key=YOUR_API_KEY&account_id=101"
<?php
$ch = curl_init("https://shopnick71.taowebauto.com/api/v1/accounts/detail?api_key=YOUR_API_KEY&account_id=101");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$res = json_decode(curl_exec($ch), true);
curl_close($ch);
POST
Mua tài khoản game (Tự chọn & Random)
Tài khoản Game

Mua tài khoản tự chọn theo account_id hoặc mua tài khoản Random theo sub_id + quantity (1-50). Trừ tiền trực tiếp từ số dư và trả về thông tin đăng nhập đã giải mã.

Tham sốKiểuYêu cầuMô tả
api_key string Bắt buộc API Key (truyền trong Header X-API-Key hoặc body)
account_id int Bắt buộc nếu mua Tự chọn ID tài khoản cụ thể muốn mua
sub_id int Bắt buộc nếu mua Random ID danh mục phụ loại RANDOM
quantity int Tùy chọn (Random) Số lượng muốn mua (mặc định 1, tối đa 50)
{
    "status": "success",
    "msg": "Thanh toán thành công!",
    "trans_id": "ACC9A8F12C340",
    "total_payment": 49000,
    "balance_remaining": 451000,
    "accounts": [
        {
            "account_id": 101,
            "sub_id": 5,
            "product_name": "Acc Random 49K",
            "price": 49000,
            "credentials": {
                "taikhoan": "user123",
                "matkhau": "pass123"
            },
            "fields": [
                {
                    "name": "taikhoan",
                    "label": "Tài khoản",
                    "value": "user123"
                },
                {
                    "name": "matkhau",
                    "label": "Mật khẩu",
                    "value": "pass123"
                }
            ]
        }
    ]
}
curl -X POST "https://shopnick71.taowebauto.com/api/v1/accounts/buy" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"sub_id": 5, "quantity": 1}'
<?php
$ch = curl_init("https://shopnick71.taowebauto.com/api/v1/accounts/buy");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_POST => true,
    CURLOPT_HTTPHEADER => ["Content-Type: application/json", "X-API-Key: YOUR_API_KEY"],
    CURLOPT_POSTFIELDS => json_encode(["account_id" => 101]),
]);
$res = json_decode(curl_exec($ch), true);
curl_close($ch);
GET
Lịch sử & Chi tiết tài khoản đã mua
Tài khoản Game

Tra cứu lại thông tin tài khoản đã mua theo mã giao dịch trans_id, account_id hoặc lấy danh sách phân trang.

Tham sốKiểuYêu cầuMô tả
api_key string Bắt buộc API Key cá nhân
trans_id string Tùy chọn Mã giao dịch (VD: ACC9A8F12C340)
account_id int Tùy chọn ID tài khoản đã mua
page int Tùy chọn Trang (mặc định 1)
limit int Tùy chọn Số dòng/trang (1-100)
{
    "status": "success",
    "msg": "Lấy lịch sử mua tài khoản thành công!",
    "data": [
        {
            "id": 12,
            "trans_id": "ACC9A8F12C340",
            "account_id": 101,
            "product_name": "Acc Random 49K",
            "price": 49000,
            "credentials": {
                "taikhoan": "user123",
                "matkhau": "pass123"
            },
            "created_at": "2026-11-22 20:50:00"
        }
    ]
}
curl -X GET "https://shopnick71.taowebauto.com/api/v1/accounts/orders?api_key=YOUR_API_KEY&page=1"
<?php
$ch = curl_init("https://shopnick71.taowebauto.com/api/v1/accounts/orders?api_key=YOUR_API_KEY&page=1");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$res = json_decode(curl_exec($ch), true);
curl_close($ch);
GET
Lấy danh mục & gói dịch vụ cày thuê
Dịch vụ Cày thuê

Trả về danh sách chuyên mục cày thuê, nhóm dịch vụ và tất cả các gói giá đang hoạt động.

Tham sốKiểuYêu cầuMô tả
api_key string Bắt buộc API Key cá nhân
category_id int Tùy chọn Lọc theo ID chuyên mục cày thuê
sub_id int Tùy chọn Lọc theo ID nhóm dịch vụ
{
    "status": "success",
    "msg": "Lấy danh sách dịch vụ cày thuê thành công!",
    "categories": [
        {
            "id": 1,
            "name": "Dịch Vụ Game",
            "services": [
                {
                    "id": 1,
                    "name": "Cày Thuê Blox Fruit",
                    "slug": "cay-thue-blox-fruit",
                    "packages": [
                        {
                            "id": 11,
                            "name": "Qua Đêm",
                            "price": 500000,
                            "final_price": 500000
                        },
                        {
                            "id": 12,
                            "name": "1 Tiếng",
                            "price": 100000,
                            "final_price": 100000
                        }
                    ]
                }
            ]
        }
    ]
}
curl -X GET "https://shopnick71.taowebauto.com/api/v1/services?api_key=YOUR_API_KEY"
<?php
$ch = curl_init("https://shopnick71.taowebauto.com/api/v1/services?api_key=YOUR_API_KEY");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$res = json_decode(curl_exec($ch), true);
curl_close($ch);
POST
Đặt đơn dịch vụ cày thuê
Dịch vụ Cày thuê

Gửi yêu cầu đặt gói dịch vụ cày thuê bằng package_id và thông tin tài khoản game của khách.

Tham sốKiểuYêu cầuMô tả
api_key string Bắt buộc API Key (Header X-API-Key hoặc body)
package_id int Bắt buộc ID gói dịch vụ cần đặt
input_user string Bắt buộc Tài khoản game
input_pass string Bắt buộc Mật khẩu game
input_extra string Tùy chọn Mã 2FA / Mã dự phòng / Server
order_note string Tùy chọn Ghi chú cho đơn hàng
{
    "status": "success",
    "msg": "Đặt đơn dịch vụ thành công!",
    "data": {
        "order_code": "ABC691A2B3C4D",
        "package_id": 12,
        "package_name": "1 Tiếng",
        "service_name": "Cày Thuê Blox Fruit",
        "payment": 100000,
        "status": "pending",
        "balance_remaining": 400000,
        "created_at": "2026\/11\/22 20:55:00"
    }
}
curl -X POST "https://shopnick71.taowebauto.com/api/v1/services/order" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -d '{"package_id": 12, "input_user": "nickgame", "input_pass": "matkhau", "input_extra": "0000", "order_note": "Cay nhanh giup minh"}'
<?php
$ch = curl_init("https://shopnick71.taowebauto.com/api/v1/services/order");
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_POST => true,
    CURLOPT_HTTPHEADER => ["Content-Type: application/json", "X-API-Key: YOUR_API_KEY"],
    CURLOPT_POSTFIELDS => json_encode([
        "package_id" => 12,
        "input_user" => "nickgame",
        "input_pass" => "matkhau",
        "input_extra" => "0000",
        "order_note" => "Cay nhanh",
    ]),
]);
$res = json_decode(curl_exec($ch), true);
curl_close($ch);
GET
Tra cứu trạng thái đơn dịch vụ cày thuê
Dịch vụ Cày thuê

Truy vấn 1 đơn theo code hoặc lấy danh sách các đơn cày thuê của tài khoản. Trạng thái gồm: pending, processing, completed, canceled.

Tham sốKiểuYêu cầuMô tả
api_key string Bắt buộc API Key cá nhân
code string Tùy chọn Mã đơn hàng cần tra cứu (nếu bỏ trống sẽ trả danh sách)
page int Tùy chọn Trang (mặc định 1)
limit int Tùy chọn Số dòng/trang (1-100)
{
    "status": "success",
    "msg": "Lấy chi tiết đơn dịch vụ thành công!",
    "data": {
        "id": 5,
        "code": "ABC691A2B3C4D",
        "service_name": "Cày Thuê Blox Fruit",
        "package_name": "1 Tiếng",
        "package_id": 12,
        "payment": 100000,
        "status": "completed",
        "admin_note": "Đã hoàn thành xong",
        "created_at": "2026-11-22 20:55:00"
    }
}
curl -X GET "https://shopnick71.taowebauto.com/api/v1/services/orders?api_key=YOUR_API_KEY"
<?php
$ch = curl_init("https://shopnick71.taowebauto.com/api/v1/services/orders?api_key=YOUR_API_KEY");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$res = json_decode(curl_exec($ch), true);
curl_close($ch);
Bảng mã lỗi HTTP
HTTP CodeTrạng tháiÝ nghĩa
200successThành công
400errorThiếu tham số bắt buộc hoặc tham số không hợp lệ
401errorAPI Key không tồn tại hoặc sai định dạng
402errorSố dư tài khoản không đủ để thanh toán
403errorIP chưa nằm trong Whitelist, tài khoản bị khóa hoặc sản phẩm không mở API
404errorKhông tìm thấy tài khoản, gói dịch vụ hoặc đơn hàng
405errorSai phương thức HTTP (ví dụ gọi GET vào endpoint POST)
409errorTài khoản game đã bán hoặc hết hàng tồn kho
429errorVượt quá giới hạn request/phút
502 / 503errorLỗi kết nối nguồn API hoặc hệ thống API đang bảo trì