SIEUGIAMGIA SIEUGIAMGIA
0đ

Tài Liệu API RESTful Proxy v1.0

Chế độ xem tài liệu công khai: Đăng nhập tài khoản để hiển thị API Token thật của bạn trong các mẫu lệnh cURL & JSON.
Đăng nhập lấy Token

Giới thiệu tổng quan

Hệ thống cung cấp API theo chuẩn RESTful. Hỗ trợ dữ liệu gửi lên dạng application/json hoặc x-www-form-urlencoded.

Endpoint Base: https://sieugiamgia.id.vn/api/

Xác thực (Authentication)

Truyền tham số token={YOUR_TOKEN} vào Query String (GET) hoặc Body (POST).


Token của bạn: {YOUR_TOKEN}

1. Lấy thông tin tài khoản

GET /api/me.php?token={YOUR_TOKEN}

Lấy thông tin tài khoản và số dư ví.

curl -X GET "https://sieugiamgia.id.vn/api/me.php?token={YOUR_TOKEN}"
Response (Success):
{
  "status": "1",
  "message": "Lấy thông tin thành công.",
  "data": { "id": 1, "username": "demo", "balance": 500000 }
}

2. Danh sách sản phẩm Proxy

GET /api/products.php?token={YOUR_TOKEN}

Lấy danh sách các gói Proxy đang bán.

curl -X GET "https://sieugiamgia.id.vn/api/products.php?token={YOUR_TOKEN}"

3. Danh sách đơn hàng

GET /api/orders.php?token={YOUR_TOKEN}&type={static|rotating}

Lấy danh sách các đơn hàng đã mua.

curl -X GET "https://sieugiamgia.id.vn/api/orders.php?token={YOUR_TOKEN}&type=static"

4. Mua hàng (Tạo đơn Proxy)

POST /api/orders.php

Gửi dữ liệu JSON để mua proxy tự động.

{
  "token": "{YOUR_TOKEN}",
  "pack_id": 1,
  "so_luong": 1,
  "so_chu_ky": 30,
  "protocol": "SOCKS5"
}

5. Gia hạn Proxy (Renew)

POST /api/renew-proxy.php
{
  "token": "{YOUR_TOKEN}",
  "order_id": 1250,
  "so_chu_ky": 30
}

6. Đổi IP (Static Proxy)

POST /api/change-proxy-static.php
{
  "token": "{YOUR_TOKEN}",
  "order_id": 1250
}

7. Xoay IP (Rotating Proxy)

GET /api/rotate.php?key={API_KEY}

Gọi trực tiếp để lấy IP mới cho Key Proxy Xoay.

curl -X GET "https://sieugiamgia.id.vn/api/rotate.php?key=YOUR_KEY&nhamang=viettel"
Trợ lý AI SIEUGIAMGIA
Xin chào! Tôi có thể tư vấn chọn gói Proxy Tĩnh/Xoay, kiểm tra API hoặc hỗ trợ kỹ thuật cho bạn.
0