4. 30M 直播独享住宅
面向直播场景的独享住宅出口:每个 IP 独享 30 Mbps 上行带宽,按 IP × 30 天售卖。IP 归属真实住宅网络,适合直播推流、长时在线等对带宽稳定性要求高的业务。
产品特征
| 项目 | 规格 |
|---|---|
| 带宽 | 30 Mbps(独享) |
| 协议 | SOCKS5 |
| 计费周期 | 30 天 |
| 币种 | USD |
| 售卖单位 | IP |
| 自动续费 | 支持(平台侧定时任务执行) |
接口总览
| 接口 | 方法 | 用途 |
|---|---|---|
/api/iplt/client/residential/live/status | GET | 产品开关、库存状态、商品计数 |
/api/iplt/client/residential/live/products | GET | 商品目录(含单价与库存) |
/api/iplt/client/residential/live/countries | GET | 国家列表 |
/api/iplt/client/residential/live/quote | POST | 报价,返回 quoteToken |
/api/iplt/client/residential/live/purchase | POST | 下单并扣款 |
/api/iplt/client/residential/live/resources | GET | 已购资源列表 |
/api/iplt/client/residential/live/purchases/{id} | GET | 单个资源详情 |
/api/iplt/client/residential/live/resources/{id}/auto-renew | POST | 开关自动续费 |
认证
本产品支持 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
}
}
响应参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| enabled | Boolean | 产品是否可用 |
| productType | String | 固定 LIVE_30M |
| bandwidth / bandwidthType | Integer / String | 带宽规格:30 Mbps 独享 |
| productCount | Integer | 商品总数 |
| pricedCount / pricePendingCount | Integer | 已定价 / 待定价 商品数 |
| countryCount | Integer | 覆盖国家数 |
| billingDays / currency | Integer / String | 计费周期与币种 |
| orderingOpen | Boolean | 是否开放下单 |
| orderingReason | String | 不可下单的原因,可下单时为空串 |
| stockState | String | 库存状态:SYNCED 表示已同步 |
| stockFresh | Boolean | 库存快照是否新鲜 |
| stockAgeMinutes | Decimal | 库存快照距今分钟数 |
| inStockCount / outOfStockCount | Integer | 有货 / 无货节点数 |
| inventoryTotal | Integer | 可售 IP 总数 |
| renewalEnabled | Boolean | 是否支持续费 |
注意下单前务必检查
orderingOpen 与 stockFresh。库存由定时任务每 15 分钟同步,快照过旧时不应引导用户下单。