1. 静态住宅
SkyProxy API 接口文档
  • 更新日志
  • 动态住宅
    • 国家/城市列表
      GET
    • 提取代理
      GET
  • 静态住宅
    • 业务列表
      POST
    • 库存查询
      POST
    • 计算价格
      POST
    • 购买下单
      POST
    • 续费下单
      POST
    • 订单结果
      POST
    • 订单列表
      POST
    • IP 列表
      POST
    • IP 详情
      POST
    • 更改代理账密
      POST
    • 可更换 IP 列表
      POST
    • 更换 IP
      POST
  1. 静态住宅

计算价格

POST
/res_static/calculate

请求参数

Header 参数

Body 参数application/json必填

示例
{
    "action": "buy",
    "static_proxy_type": "shared",
    "time_period": 30,
    "buy_data": [
        {
            "country": "AR",
            "city": "Buenos Aires",
            "count": 10
        }
    ]
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open-api.skyproxy.cn/res_static/calculate' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "action": "buy",
    "static_proxy_type": "shared",
    "time_period": 30,
    "buy_data": [
        {
            "country": "AR",
            "city": "Buenos Aires",
            "count": 10
        }
    ]
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": 0,
    "msg": "success",
    "data": {
        "ip_count": 10,
        "time_period": 30,
        "total_price": 50,
        "ip_price": 50,
        "bandwidth_price": 0,
        "discount_price": 0,
        "other_discount_price": 0,
        "promo_discount_price": 0,
        "pay_price": 50,
        "ip_list": [
            "123.123.123.123:8888"
        ]
    }
}
修改于 2026-03-20 11:46:05
上一页
库存查询
下一页
购买下单
Built with