首页 / 帮助文档 / 开发者文档 / 4. 30M 直播独享住宅

4. 30M 直播独享住宅

面向直播场景的独享住宅出口:每个 IP 独享 30 Mbps 上行带宽,按 IP × 30 天售卖。IP 归属真实住宅网络,适合直播推流、长时在线等对带宽稳定性要求高的业务。

产品特征

项目规格
带宽30 Mbps(独享)
协议SOCKS5
计费周期30 天
币种USD
售卖单位IP
自动续费支持(平台侧定时任务执行)

接口总览

接口方法用途
/api/iplt/client/residential/live/statusGET产品开关、库存状态、商品计数
/api/iplt/client/residential/live/productsGET商品目录(含单价与库存)
/api/iplt/client/residential/live/countriesGET国家列表
/api/iplt/client/residential/live/quotePOST报价,返回 quoteToken
/api/iplt/client/residential/live/purchasePOST下单并扣款
/api/iplt/client/residential/live/resourcesGET已购资源列表
/api/iplt/client/residential/live/purchases/{id}GET单个资源详情
/api/iplt/client/residential/live/resources/{id}/auto-renewPOST开关自动续费

认证

本产品支持 API Key(x-merchant-code + x-merchant-token)。

查询产品状态

GET /api/iplt/client/residential/live/status

认证方式:API Key(x-merchant-code + x-merchant-token)

请求头

参数名必选类型说明
x-merchant-token是String商户令牌(API Key 的 token 部分)
x-merchant-code是String商户代码(API Key 的 code 部分)
Content-Type否String固定 application/json(POST/PUT 必填)
{
  "msg": "操作成功",
  "code": 200,
  "data": {
    "enabled": true,
    "productType": "LIVE_30M",
    "bandwidth": 30,
    "bandwidthType": "EXCLUSIVE",
    "productCount": 64,
    "pricedCount": 64,
    "pricePendingCount": 0,
    "countryCount": 24,
    "billingDays": 30,
    "currency": "USD",
    "orderingOpen": true,
    "orderingReason": "",
    "stockState": "SYNCED",
    "stockSynced": true,
    "stockFresh": true,
    "stockAgeMinutes": 197.5,
    "inStockCount": 49,
    "outOfStockCount": 15,
    "inventoryTotal": 17257,
    "stockSyncedAt": "2026-11-16 18:17:04",
    "renewalEnabled": true,
    "renewalPriceConfirmed": true
  }
}

响应参数说明

参数名类型说明
enabledBoolean产品是否可用
productTypeString固定 LIVE_30M
bandwidth / bandwidthTypeInteger / String带宽规格:30 Mbps 独享
productCountInteger商品总数
pricedCount / pricePendingCountInteger已定价 / 待定价 商品数
countryCountInteger覆盖国家数
billingDays / currencyInteger / String计费周期与币种
orderingOpenBoolean是否开放下单
orderingReasonString不可下单的原因,可下单时为空串
stockStateString库存状态:SYNCED 表示已同步
stockFreshBoolean库存快照是否新鲜
stockAgeMinutesDecimal库存快照距今分钟数
inStockCount / outOfStockCountInteger有货 / 无货节点数
inventoryTotalInteger可售 IP 总数
renewalEnabledBoolean是否支持续费
注意下单前务必检查 orderingOpen 与 stockFresh。库存由定时任务每 15 分钟同步,快照过旧时不应引导用户下单。
技术支持 support@iplight.net · 返回官网 · 使用教程