ProxyWorld

IP 計劃的開發者 API

一個小型 REST API,提供 JSON 回應:無需密鑰即可讀取計劃、國家和精確價格,並使用你的 API 密鑰檢查餘額和購買計劃。每個回應都有 ok: true 或 false。

基礎 URL
https://proxyworld.cc/api/v1
認證
Authorization: Bearer pwk_...
格式
JSON over HTTPS
限制
每個密鑰每分鐘 300 次請求

端點

方法路徑密鑰功能
GET/plans否所有計劃的每 30 天單價、批量價格、最小和最大數量以及允許的國家。
GET/countries否24 個國家及其區域線路、城市和雲端可用性。
GET/price?plan=rotate-max&quantity=2&days=90否計劃、數量和週期(30、90、180 或 360 天)的精確總價。
GET/balance是帳戶中的美元餘額。
POST/orders是從餘額中購買計劃。請求體:計劃、數量、天數、國家(適用於需要國家的計劃)。
GET/orders是你最近的 100 筆訂單及其狀態和訪問詳情。
GET/orders/{id}是通過其代碼(PO-...)查詢一筆訂單。

示例

cURL

curl -s https://proxyworld.cc/api/v1/price?plan=static-ip\&quantity=10\&days=30

curl -s -X POST https://proxyworld.cc/api/v1/orders \
  -H "Authorization: Bearer pwk_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"plan":"static-ip","quantity":10,"days":30,"country":"DE"}'

Python

import requests
KEY = "pwk_YOUR_KEY"
r = requests.post("https://proxyworld.cc/api/v1/orders",
    headers={"Authorization": f"Bearer {KEY}"},
    json={"plan": "rotate-max", "quantity": 2, "days": 90})
print(r.status_code, r.json())

Node.js

const r = await fetch("https://proxyworld.cc/api/v1/orders", {
  method: "POST",
  headers: { Authorization: "Bearer pwk_YOUR_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({ plan: "cloud-pc-b", quantity: 2, days: 30, country: "NL" }),
});
console.log(r.status, await r.json());

POST /orders 的回應

{
  "ok": true,
  "order": {
    "id": "PO-7KQ2M9XHTA",
    "product": "static",
    "plan": "static-ip",
    "quantity": 10,
    "days": 30,
    "country": "DE",
    "price": "40.20",
    "status": "processing",
    "status_text": "Setting up",
    "created_at": "2026-11-05T09:00:00.000Z",
    "active_at": null,
    "ends_at": null,
    "access": null
  }
}

新訂單開始時為處理中,當服務準備好時變為激活;訪問詳情中會包含登錄碼(應用程式計劃)、代理列表和用戶(代理計劃)或遠程桌面地址(雲端電腦)。每隔幾秒鐘輪詢 GET /orders/{id} 直到它改變。

錯誤

HTTP錯誤意思
400bad_plan, bad_qty, bad_days, bad_country系統會在扣費前檢查請求。
401unauthorized發送標頭 Authorization: Bearer pwk_...
402funds餘額不足;回應包含 need,即所需差額。不會扣費。
429rate_limited同一密鑰一分鐘內超過 300 次請求。
503network目前無法設定服務;不會扣費。請稍後再試。

在控制台的 API 下創建或替換您的密鑰。密鑰僅顯示一次並以哈希形式存儲;替換後舊密鑰立即失效。

代理及 IP API:計劃、價格、訂單及餘額 (REST)