Thông Tin Tích Hợp API

Vui Lòng Không Để Lộ APIKEY Tránh Mất Tiền.
Đăng Nhập Đi Cu

Ghi Chú

Một Số Lưu Ý Và Hướng Dẫn Nhanh, Bạn Nên Đọc!

Bạn không rành lập trình? Đừng lo!
Tải miễn phí mã nguồn tích hợp sẵn API

Hỗ trợ nhanh qua Telegram: @cmstdev_vn

API Lấy Thông Tin Tài Khoản

Endpoint: https://cmstdev.co/api/cron/profile?token={Token_API}

Method: GET

Query Parameters

Tham số Kiểu dữ liệu Ghi chú
token String Token API

Response


{
  "status": "success",
  "message": "Thành công",
  "data": {
    "username": "DoiLacLoi",
    "email": "[email protected]",
    "coin": "7379150",
    "chietkhau": "0"
  }
}
                            

API Lấy Thông Tin Máy Chủ Cronjob

Endpoint: https://cmstdev.co/api/cron/server?token={Token_API}

Method: GET

Query Parameters

Tham số Kiểu dữ liệu Ghi chú
token String Token API

Response


{
  "status": "success",
  "message": "Thành công",
  "data": [
    {
      "id": "2",
      "name": "Siêu Rẻ V1",
      "price": 200,
      "quantity": 92,
      "limit_second": 1
    },
    {
      "id": "3",
      "name": "Siêu Vip V2",
      "price": 500,
      "quantity": 450,
      "limit_second": 1
    },
    {
      "id": "4",
      "name": "Ổn Định V3",
      "price": 1000,
      "quantity": 47,
      "limit_second": 1
    }
  ]
}
                            

API Tạo Đơn Cron

Endpoint: https://cmstdev.co/api/cron/create

Method: POST

Form Data

Tham số Kiểu dữ liệu Ghi chú
linkcron String Link cần cron
timeloop Int Số giây chạy
maychucron Int Id máy chủ cron
thoigiangiahan Int Số tháng cần thuê
token String Token API

Response


{
    "status": "success",
    "msg": "Thanh toán đơn hàng thành công",
    "data": {
        "trans_id": "dsajdaUdsn8",
        "url": "https://cmstdev.vn",
        "second": "5",
        "price": 50000,
        "status": "hoatdong",
        "created_at": "2024/02/04 22:28:12",
        "expired_date": "2024/07/03 22:28:12",
        "expired_timestamp": 1720020492
    }
}
                            

API Lấy Lịch Sử Giao Dịch

Endpoint: https://cmstdev.co/api/cron/history?token={Token_API}&limit={Số lượng giao dịch}

Method: GET

Query Parameters

Tham số Kiểu dữ liệu Ghi chú
token String Token API
limit Int Số lượng giao dịch

Response


{
  "status": "success",
  "message": "Thành công",
  "data": [
    {
      "trans_id": "6",
      "url": "https://cmstdev.co/cron/deposit/check?type=ACB",
      "server": "2",
      "second": "30",
      "status": "active",
      "response": "200",
      "created_at": "2025-05-17 13:34:53",
      "expired_date": "2026-05-17 13:34:53",
      "expired_timestamp": 1778999693,
      "last_run": "2025-05-18 16:40:04",
      "lastrun_timestamp": 1747561204
    },
    {
      "trans_id": "5",
      "url": "https://server.cmstdev.vn/cron/deposit/check?type=ACB",
      "server": "2",
      "second": "30",
      "status": "active",
      "response": "200",
      "created_at": "2025-05-17 13:33:06",
      "expired_date": "2026-05-17 13:33:06",
      "expired_timestamp": 1778999586,
      "last_run": "2025-05-18 16:40:04",
      "lastrun_timestamp": 1747561204
    }
  ]
}
                            

API Lấy Chi Tiết Giao Dịch

Endpoint: https://cmstdev.co/api/cron/checkhistory?token={Token_API}&trans_id={Mã đơn hàng}

Method: GET

Query Parameters

Tham số Kiểu dữ liệu Ghi chú
token String Token API
trans_id String Mã đơn hàng

Response


{
  "status": "success",
  "message": "Thành công",
  "data": [
    {
      "trans_id": "1",
      "url": "https://smmlight.net/schedule/orders/update-order?minute=5",
      "server": "4",
      "second": "10",
      "status": "active",
      "response": "200",
      "created_at": "2025-05-09 00:30:53",
      "expired_date": "2026-05-09 00:30:53",
      "expired_timestamp": 1778261453,
      "last_run": "2025-05-18 16:41:16",
      "lastrun_timestamp": 1747561276
    }
  ]
}
                            

API Thực Hiện Hành Động Cron

Endpoint: https://cmstdev.co/api/cron/action

Method: POST

API này hỗ trợ nhiều hành động khác nhau. Nhấn vào từng hành động dưới đây để xem chi tiết:

Action: Chỉnh sửa (edit)

Form Data

Tham số Kiểu dữ liệu Ghi chú
action String "edit"
url String Link cron mới hoặc cũ
second Int Số giây chạy
trans_id String Mã đơn hàng
token String Token API
Action: Chạy lại (active)

Form Data

Tham số Kiểu dữ liệu Ghi chú
action String "active"
trans_id String Mã đơn hàng
token String Token API
Action: Tạm dừng (stop)

Form Data

Tham số Kiểu dữ liệu Ghi chú
action String "stop"
trans_id String Mã đơn hàng
token String Token API
Action: Gia hạn (giahan)

Form Data

Tham số Kiểu dữ liệu Ghi chú
action String "giahan"
month Int Số tháng cần gia hạn
trans_id String Mã đơn hàng
token String Token API

Response (Chỉnh sửa)


{
    "status": "success",
    "msg": "Cập nhật thành công"
}
                            

Response (Chạy lại)


{
    "status": "success",
    "msg": "Đã kích hoạt thành công"
}
                            

Response (Tạm dừng)


{
    "status": "success",
    "msg": "Đã dừng cron thành công"
}
                            

Response (Gia hạn)


{
    "status": "success",
    "msg": "Gia hạn thành công",
    "expired_date": "2024/11/30 22:28:11",
    "expired_timestamp": 1732980491
}
                            

Mã Nguồn

Sắp Ra Mắt

Cloud VPS

Sắp Ra Mắt

Hosting

Sắp Ra Mắt

img