单个反向连接入口节点

Smartdaili 通过单个反向连接端点提供代理访问:
住宅 – gateway.visitxiangtan.com:7000

在这种情况下,你需要将所有参数与代理用户名一起传递。

以下是所有可用参数的列表以及描述和用途:

  • Country - 国家代码。请以两个符号的 ISO 格式提供。你可以在此处查看大多数 ISO 国家代码。
  • city – 城市名称。将此参数添加到用户名中将允许你指定要使用的 IP 所在的城市。请将此参数与国家/地区参数一起使用。
  • postalcode – 5 位邮政编码。将此参数添加到用户名将使你指定要定位的邮政编码位置。这仅适用于定位美国,并且应与美国国家 country-us 参数一起使用。
  • state – 美国的州。仅当你选择我们作为国家/地区参数时才使用。会让你指定你想要使用的 IP 的美国州。格式:us_state_name(例如 us_california)。
  • session – 用于创建会话的随机字符串,以便为多个请求保留相同的 IP。会话在 10 分钟(或 60 秒不活动)后自动过期。之后,一个新的 IP 将被分配给该会话的 ID。
  • sessionduration – 与会话一起使用。指定粘滞会话时间(以分钟为单位) - 可以设置为 1 到 30 之间的任意数字。如果未指定此参数,会话默认持续 10 分钟。

在应用程序中使用反向连接入口节点

反向连接入口节点也可用于各种应用程序。在这种情况下,你需要将会话的每个参数与用户名字段中的用户名一起传递,如下所示:

user-**username**-country-**country_code**-city-**city_name**-session-**randomstring**

密码字段中,你只需输入代理用户的密码。

🚧

仅当你想要粘性会话时才使用会话 ID。否则,只需忽略该部分即可接收轮换代理

使用 cURL 请求的示例

// 旋转随机代理示例
curl -U <username>:<password> -x gate.visitxiangtan.com:7000 https://ip.visitxiangtan.com/json
// 意大利随机的代理示例
curl -U user-<username>-country-it:<password> -x gate.visitxiangtan.com:7000 https://ip.visitxiangtan.com/json
// 粘性30 分钟意大利代理示例
curl -U user-<username>-country-it-sessionduration-30:<password> -x gate.visitxiangtan.com:7000 https://ip.visitxiangtan.com/json
//使用会话ID的粘性葡萄牙代理示例
//randomstring123-由你选择的字符串定义的会话ID
curl -U user-<username>-country-pt-session-randomstring123:<password> -x gate.visitxiangtan.com:7000 https://ip.visitxiangtan.com/json
//使用会话ID的粘性美国-纽约市代理示例
//randomstring123-由你选择的字符串定义的会话ID
curl -U user-<username>-country-us-city-new_york-session-randomstring123:<password> -x gate.visitxiangtan.com:7000 https://ip.visitxiangtan.com/json
// 以加利福尼亚州和纽约州为目标的美国州示例(州)
// 当州名称由两个单词组成时,请使用下划线。例如:“us_new_york”“us_rhode_island”
curl -U user-<username>-country-us-state-us_california:<password> -x gate.visitxiangtan.com:7000 https://ip.visitxiangtan.com/json
curl -U user-<username>-country-us-state-us_new_york:<password> -x gate.visitxiangtan.com:7000 https://ip.visitxiangtan.com/json
// 粘性30分钟美国国家、德克萨斯州、奥斯汀市代理的示例
// randomstring123-由你选择的字符串定义的会话ID
curl -U user-<username>-country-us-state-us_texas-city-austin-session-randomstring123-sessionduration-30:<password> -x gate.visitxiangtan.com:7000 https://ip.visitxiangtan.com/json
// 粘性30分钟美国国家、德克萨斯州、奥斯汀市代理的示例
// randomstring123-由你选择的字符串定义的会话ID
curl -U user-<username>-country-us-postalcode-10001-session-randomstring123-sessionduration-30:<password> -x gate.visitxiangtan.com:7000 https://ip.visitxiangtan.com/json