Tài liệu API

api_key: lấy khi mua proxy xoay, code mẫu

GET /api/proxy/get-new-proxy
QUERY api_key={STRING}
RESPONSE
{
  "status": "success",
  "message": "connected",
  "data": {
    "public_ip": "27.79.111.22",
    "http_port": 6002,
    "socks_port": 7002,
    "date": "2022-06-07 15:51:14",
    "date_end": "2022-06-08 15:51:14",
    "version": 6,
    "user": "ULN8FV",
    "pass": "ZiGAPG",
    "package_name": "IPv6 Rotating Proxy (240 giây)",
    "allow_ips": "113.188.17.174"
  }
}

GET /api/proxy/get-current-proxy
QUERY api_key={STRING}&ips={STRING}
RESPONSE
{
  "status": "success",
  "message": "Cập nhật thành công",
  "data": {
    "ips": "1.1.1.2"
  }
}

GET /api/proxy/get-current-proxy
QUERY api_key={STRING}
RESPONSE
{
  "status": "success",
  "message": "connected",
  "data": {
    "public_ip": "116.105.84.23",
    "http_port": 6003,
    "socks_port": 7003,
    "date": "2022-06-07 15:51:14",
    "date_end": "2022-06-08 15:51:14",
    "version": 6,
    "user": "ULN8FV",
    "pass": "ZiGAPG",
    "package_name": "IPv6 Rotating Proxy (240 giây)",
    "allow_ips": "113.188.17.174"
  }
}

GET /api/profile
QUERY api_key={STRING}&ips={STRING}
RESPONSE
{
    "status": "success",
    "data": {
        "id": "1",
        "username": "admin",
        "email": "admin@gmail.com",
        "fullname": "Ha Trinh",
        "phone_no": "xxx.xxx.xxx",
        "balance": "0",
        "total_topup": "0",
        "discount": "0",
        "roles": "Member",
        "status": "Active",
        "reg_ip": null,
        "lg_ip": null,
        "aff_status": "1",
        "pay_aff": "0",
        "aff_bonus": "0",
        "invited_by": null,
        "commission": "512000",
        "total_commission": "732000",
        "access_token": "xxxxxxx-ac5b-4735-a792-xxxxx",
        "createdAt": "2022-05-10 02:10:34",
        "updatedAt": "2022-06-15 05:50:12"
    }
}