> For the complete documentation index, see [llms.txt](https://iptuns.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://iptuns.gitbook.io/docs/dai-li-chan-pin/bu-xian-liang-zhu-zhai-dai-li/curl-qing-qiu.md).

# CURL请求

{% hint style="warning" %}
平台的所有代理产品均需要在海外网络环境下使用，海外网络环境需要客户自行配置。
{% endhint %}

本文展示如何使用 `curl` 通过 **Iptuns** 不限量住宅代理IP发起请求，适用于终端或脚本中直接调用代理连接。

{% hint style="success" %}
不限量住宅IP的产品目前国家为平台随机分配，若需定制需求，可通过平台与我们商务取得联系
{% endhint %}

### 参数解释 <a href="#can-shu-jie-shi" id="can-shu-jie-shi"></a>

<table><thead><tr><th width="123.79998779296875">名称</th><th width="78.20001220703125">类型</th><th width="81">必填</th><th>备注</th></tr></thead><tbody><tr><td>account</td><td>string</td><td>是</td><td>账号：<strong>后台的认证账号</strong></td></tr><tr><td>session</td><td>string</td><td>是</td><td>会话标识：后台生成</td></tr><tr><td>sessionTime</td><td>int</td><td>是</td><td>会话时长 （分钟） <strong>0代表不固定会话</strong></td></tr><tr><td>flag</td><td>Int</td><td>是</td><td>会话期间自动补充节点（1-是 0-否）| <strong>会话时间不为0才生效</strong></td></tr></tbody></table>

### 协议规范 <a href="#xie-yi-gui-fan" id="xie-yi-gui-fan"></a>

```shellscript

# 案例示范
规则：curl -x [protocol]://[ip]:[port] -U "[userName]:[password]" ipinfo.io
示例：curl -x http://192.168.46.222:12347 -U "op1233_rr123_1_1:hello123" ipinfo.io

# 案例示范

# 全球混播&不指定时长&不补充
curl -x [protocol]://[ip]:[port] -U "[account]_[session]_0_0:[password]" ipinfo.io

# 全球混播&指定时长&自动补充
curl -x [protocol]://[ip]:[port] -U "[account]_[session]_[sessionTime]_1:[password]" ipinfo.io

# 全球混播&指定时长&不自动补充
curl -x [protocol]://[ip]:[port] -U "[account]_[session]_[sessionTime]_0:[passw
```
