地理定向
通过在用户名后附加参数,将流量路由到特定国家、州、城市、邮政编码或ASN。
参数语法
地理参数通过双下划线(__)作为与基础登录名的分隔符附加到用户名后。多个参数用分号(;)分隔。
Format
USERNAME__param1.value1;param2.value1,value2:PASSWORD@proxy.raxyproxy.com:823| 参数 | 值 | 多值 | 2×计费? |
|---|---|---|---|
cr | 小写ISO-2国家代码 | 逗号分隔: cr.us,gb,de | 否 — 所有类型免费 |
nocr | 要排除的国家 | 逗号分隔: nocr.cn,ru | 否 — 所有类型免费 |
state | 州的全称,小写,无空格 | 逗号分隔: state.california,texas | 是 — Residential、Mobile、Datacenter |
city | 城市的全称,小写,无空格 | 逗号分隔: city.losangeles,newyork | 是 — Residential、Mobile、Datacenter |
zip | 5位美国邮政编码 | 逗号分隔: zip.10001,90001 | 是 — Residential、Mobile、Datacenter |
asn | 仅ASN编号 — 不含"AS"前缀 | 逗号分隔: asn.15169,16509 | 是 — Residential、Mobile、Datacenter |
Premium Residential例外
Premium Residential代理对任何定向级别(包括州、城市、邮政编码和ASN)均无2×附加费。这使其成为精确地理定向最具成本效益的选择。
国家
使用小写2字母ISO 3166-1 alpha-2代码。所有代理类型的国家过滤均免费。
Include countries
# US only
http://USERNAME__cr.us:PASSWORD@proxy.raxyproxy.com:823
# US, UK, and Germany
http://USERNAME__cr.us,gb,de:PASSWORD@proxy.raxyproxy.com:823Exclude countries
# Exclude China and Russia — use all other countries
http://USERNAME__nocr.cn,ru:PASSWORD@proxy.raxyproxy.com:823不能在同一凭据中同时使用cr和nocr。请使用其中一个。
州 / 地区
州定向需要国家过滤器(cr)。格式:州的全称,小写,无空格或连字符。
State targeting
# California only
http://USERNAME__cr.us;state.california:PASSWORD@proxy.raxyproxy.com:823
# California or Texas
http://USERNAME__cr.us;state.california,texas:PASSWORD@proxy.raxyproxy.com:823| 州 | 使用的代码 |
|---|---|
| California | california |
| New York | newyork |
| Texas | texas |
| Florida | florida |
| Illinois | illinois |
| District of Columbia | districtofcolumbia |
| Washington | washington |
城市
城市定向也需要国家过滤器。格式:城市的全称,小写,无空格。
City targeting
# Los Angeles only
http://USERNAME__cr.us;city.losangeles:PASSWORD@proxy.raxyproxy.com:823
# New York or Chicago
http://USERNAME__cr.us;city.newyork,chicago:PASSWORD@proxy.raxyproxy.com:823
# London
http://USERNAME__cr.gb;city.london:PASSWORD@proxy.raxyproxy.com:823邮政编码
5位美国邮政编码。需要cr.us。
ZIP targeting
# New York City 10001
http://USERNAME__cr.us;zip.10001:PASSWORD@proxy.raxyproxy.com:823
# Multiple ZIPs
http://USERNAME__cr.us;zip.10001,90001,60601:PASSWORD@proxy.raxyproxy.com:823ASN
目标属于特定自治系统的IP。仅使用数字ASN — 不要包含"AS"前缀。
ASN targeting
# Google LLC (ASN 15169)
http://USERNAME__cr.us;asn.15169:PASSWORD@proxy.raxyproxy.com:823
# Multiple ASNs
http://USERNAME__cr.us;asn.15169,16509:PASSWORD@proxy.raxyproxy.com:823组合参数
参数用分号连接。国家必须排在第一位(在__之后)。
Full example — US, California, Los Angeles
http://USERNAME__cr.us;state.california;city.losangeles:PASSWORD@proxy.raxyproxy.com:823With sticky sessid
http://USERNAME__cr.us;state.california;sessid.myuser42:PASSWORD@proxy.raxyproxy.com:823计费规则
| 参数 | Residential | Mobile | Datacenter | Premium Residential |
|---|---|---|---|---|
cr / nocr | 1×(免费) | 1×(免费) | 1×(免费) | 1×(免费) |
state | 2× | 2× | 2× | 1×(免费) |
city | 2× | 2× | 2× | 1×(免费) |
zip | 2× | 2× | 2× | 1×(免费) |
asn | 2× | 2× | 2× | 1×(免费) |
2×附加费意味着1 GB实际流量从您的配额中扣除2 GB。请参阅流量与2×计费了解示例。
格式规则
- 国家代码:小写2字母ISO —
us,gb,de - 州:全称,小写,无空格 —
california,newyork,districtofcolumbia - 城市:全称,小写,无空格 —
losangeles,newyork,sanfrancisco - 邮政编码:5位字符串 —
10001 - ASN:仅数字,无"AS"前缀 —
15169, notAS15169 - 用户名与参数之间的分隔符:__(双下划线)
- 参数之间的分隔符:;(分号)
- 参数内的多个值:,(逗号)