购买时长 IP
order_buy_time_ipPurchase time-limited IP sub-accounts for static residential or datacenter proxies, specifying quantity, country, duration, and protocol. Charges account balance upon order confirmation.
Instructions
会从账户余额扣费。购买静态住宅或数据中心的时长 IP 子账号,num 为 IP 数量。后端限制:num 1 到 300,数据中心单笔不超过 50 个且不支持 7 天档;5 秒内相同参数的重复请求会被拒。账号须先完成邮箱或手机验证以及实名验证才能购买。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| num | Yes | 要购买的 IP 数量,后端放行 1 到 300,数据中心单笔不超过 50 | |
| city | No | 城市名称,取 city_list 返回的名称;不传随机 | |
| agree | Yes | 协议 | |
| ip_str | No | 指定ip段,多个以英文逗号分隔 | |
| remark | No | 订单备注 | |
| country | Yes | 国家编码,用 country_list 查该产品可买的国家。国家用 ISO 3166-1 二字码,如 US | |
| product | Yes | 产品:static-standard=静态住宅(非原生),static-native=静态住宅(原生),static-isp-native=静态住宅(运营商原生),datacenter=数据中心 | |
| timelen | Yes | 购买时长:0=7天,1=30天,2=90天,3=180天,4=360天 | |
| conpon_id | No | 优惠券 id,用 coupon_list 查 | |
| specifyIps | No | 指定从哪些 IP 段购买,每项写一个 IP 段前缀和该段要买的数量,各段 count 之和必须等于 num;IP 段用 ip_range_status 查 | |
| use_ip_port | No | IP 端口连接状态:0=关闭,1=开启 | |
| bandwidth_num | No | 购买时选定的增值带宽,可选值和价格用 bandwidth_package_list 查;数据中心没有带宽加购,不要传 | |
| confirm_token | No | 确认码。客户端不支持弹窗确认时,第一次调用只返回操作预览和确认码;把预览告诉用户并得到同意后,用相同参数带上确认码再调一次。支持弹窗确认的客户端不需要这个参数 | |
| exclude_ip_str | No | 指定排除ip段,多个以英文逗号分隔 | |
| verder_order_id | No | 外部请求订单id。非必填。如果传递,则需要每次生成新订单时,这个verder_order_id一定要唯一。否则返回verder_order_id缓存生成的订单数据。缓存有效期4小时。 | |
| use_random_username | No | 是否使用随机账号密码:0=否,1=是 |